Netdev List
 help / color / mirror / Atom feed
From: Tobias Hommel <netdev-list@genoetigt.de>
To: Steffen Klassert <steffen.klassert@secunet.com>
Cc: netdev@vger.kernel.org
Subject: Re: BUG: 4.14.11 unable to handle kernel NULL pointer dereference in xfrm_lookup
Date: Wed, 10 Jan 2018 10:03:05 +0100	[thread overview]
Message-ID: <20180110090305.hx5b7lo3qnd4ko7j@arbeitstier> (raw)
In-Reply-To: <20180110073038.bny4mzvqctq6xgti@gauss3.secunet.de>

On Wed, Jan 10, 2018 at 08:30:38AM +0100, Steffen Klassert wrote:
> On Tue, Jan 09, 2018 at 03:49:21PM +0100, Tobias Hommel wrote:
> > 
> > I copied the config from my 4.14.12 sources to a fresh 4.13.16 source tree, ran
> > `make olddefconfig` and built a new kernel.
> > The kernel config is attached as kernel-4.13.16.config.
> > The panic*.log files are kernel logs from different crashes of this 4.13.16
> > kernel, but all from the same scenario as before.
> > I also enabled CONFIG_DEBUG_INFO, so if any disassemblies are required, I'd be
> > happy to provide them.
> > 
> > So, the system still crashes, but the traces are completely different from
> > those with 4.14.12. This time there are also WARNINGs and "refcnt: -1" messages
> > sometimes before the actual panic, so not sure if there is maybe some other
> > problem. Still, the crashes all seem to be related to ip routing somehow.
> 
> Strange, you must do something that other people don't do.
> Do you have some uncommon netfiler rules, namespaces, etc?
No, no namespaces yet.
However, the box uses marks and routing based on marks. Firewall marks are a
bit strange sometimes, so I'll try to clean up everything and see if it is
possible to reproduce the bug without marks.

> 
> Please try to build your kernels with
> 
> CONFIG_ORC_UNWINDER (v4.14 and above)
> 
> and
> 
> CONFIG_KASAN
> 
> This can give some better debug informations (depends on the compiler
> version).
I'll also try that. I'm currently using GCC 5.4.0.

> 
> There are some things we can do now:
> 
> - Try v4.15-rc7, just to be sure that we don't search for
>   something that is already fixed.
And that one, too. All this will probably take some time though. ;-)
I'll keep you informed.

> 
> - Find a working kernel version and try to bisect.
> 
> - Minimalize the configuration with that the bug happens,
>   so that I can try to reproduce it here.
> 

  reply	other threads:[~2018-01-10  9:03 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-05 21:13 BUG: 4.14.11 unable to handle kernel NULL pointer dereference in xfrm_lookup Tobias Hommel
2018-01-05 21:27 ` Ozgur
2018-01-05 21:55   ` Tobias Hommel
2018-01-08  8:57     ` Tobias Hommel
2018-01-08 12:38   ` Steffen Klassert
2018-01-05 21:51 ` Holger Hoffstätte
2018-01-05 22:40   ` Tobias Hommel
2018-01-08 12:36 ` Steffen Klassert
2018-01-08 13:53   ` Tobias Hommel
2018-01-09  8:19     ` Steffen Klassert
2018-01-09  9:06       ` Tobias Hommel
2018-01-09  9:26         ` Steffen Klassert
2018-01-09 14:49           ` Tobias Hommel
2018-01-10  7:30             ` Steffen Klassert
2018-01-10  9:03               ` Tobias Hommel [this message]
2018-01-19 14:45                 ` Tobias Hommel
2018-01-24  9:59                   ` Steffen Klassert
2018-01-29  8:38                     ` Tobias Hommel
2018-01-31 20:26                     ` Markus Berner
2018-02-02  8:09                       ` Steffen Klassert
2018-06-06 10:41                         ` Kristian Evensen
2018-06-06 10:58                           ` Kristian Evensen
2018-06-06 16:03                           ` Tobias Hommel
2018-06-08  8:41                             ` Kristian Evensen
2018-06-12  8:03                               ` Steffen Klassert
2018-06-12  8:29                                 ` Kristian Evensen
2018-06-14  8:38                                   ` Kristian Evensen
2018-09-06 13:03                                     ` Tobias Hommel
2018-06-12 18:39                               ` Tobias Hommel
2018-01-10  7:42             ` Tobias Hommel
2018-01-10  7:50               ` Steffen Klassert

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=20180110090305.hx5b7lo3qnd4ko7j@arbeitstier \
    --to=netdev-list@genoetigt.de \
    --cc=netdev@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox