All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Chapman <jchapman@katalix.com>
To: Zhan Jianyu <nasa4836@gmail.com>,
	davem@davemloft.net, edumazet@google.com, joe@perches.com
Cc: LKML <linux-kernel@vger.kernel.org>, netdev@vger.kernel.org
Subject: Re: [BUG] A panic caused by null pointer dereference aftering updating to
Date: Mon, 14 Apr 2014 16:19:05 +0100	[thread overview]
Message-ID: <534BFC69.6080209@katalix.com> (raw)
In-Reply-To: <CAHz2CGU5aPA5QJ9ED9g5kahD_jJaeLF+VOotUSBFXDkY+EH8ow@mail.gmail.com>

Please send the complete oops message.

Is this a regression? If so, do you know what the last kernel version
was that worked?

Thanks
James

On 14/04/14 14:33, Zhan Jianyu wrote:
> When I tried to connect my VPN, I got a panic, saying
> a NULL poiter dereference at 0x00000000000002c0
> 
> I came across this bug twice today, after updateing to
> Linux-3.15-rc1.
> 
> Below are some panic message(hand copy,not complete)
> =====
> 
> Kernel panic - not syncing: Fatal exception in interupt
> 
> RIP ip_queue_xmit+0x20/0x3e0
> Call Trace:
> l2tp_xmit_skb+0x335/0x6c0 [l2tp_core]
> ? skb_free_head+0x1e/0x80
> pppol2tp_xmit+0x141/0x210 [l2tp_ppp]
> ppp_channel_push+0x50/0xd0 [ppp_generic]
> ppp_write+0xa3/0xec [ppp_generic]
> vfs_write
> Sys_wirte
> ? __audit_syscall_exit
> system_call_fastpath
> 
> =====
> 
> I've tried to figure it out.
> I disassembled ip_queue_xmit, found that the null
> dereference is caused by the first argument of
> ip_queue_xmit(), which is sk_buff pointer became
> NULL.
> 
> This seems some async skb freeing is in progress?
> 
> Regards,
> Jianyu Zhan
> 


       reply	other threads:[~2014-04-14 15:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAHz2CGWs-JH0v3dWAMBDrKqkP6ygb48YZ-qkc=KsFqz5yO7f+Q@mail.gmail.com>
     [not found] ` <CAHz2CGU5aPA5QJ9ED9g5kahD_jJaeLF+VOotUSBFXDkY+EH8ow@mail.gmail.com>
2014-04-14 15:19   ` James Chapman [this message]
2014-04-14 17:01     ` [BUG] A panic caused by null pointer dereference aftering updating to Zhan Jianyu
2014-04-14 17:12       ` Eric Dumazet
2014-04-14 17:34         ` David Miller
2014-04-14 17:40           ` Eric Dumazet
2014-04-14 17:49             ` David Miller
2014-04-14 17:54               ` Eric Dumazet
2014-04-14 18:02                 ` David Miller
2014-04-14 18:19                   ` Eric Dumazet
2014-04-14 18:48                     ` David Miller
2014-04-14 19:06                       ` Eric Dumazet
2014-04-14 19:22                         ` David Miller
2014-04-14 21:23                           ` Eric Dumazet
2014-04-14 22:51                             ` David Miller
2014-04-15  0:14                               ` Eric Dumazet
2014-04-15  6:32                                 ` Zhan Jianyu
2014-04-15 14:33                                   ` [PATCH net] ipv4: add a sock pointer to ip_queue_xmit() and friends Eric Dumazet
2014-04-15 17:16                                     ` David Miller
2014-04-15 20:06                                       ` Eric Dumazet
2014-04-21 13:20                                     ` lucien xin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=534BFC69.6080209@katalix.com \
    --to=jchapman@katalix.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nasa4836@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.