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: Mon, 29 Jan 2018 09:38:17 +0100	[thread overview]
Message-ID: <20180129083817.4pokzlwc4p7csik6@arbeitstier> (raw)
In-Reply-To: <20180124095921.ombjixb64edk5avy@gauss3.secunet.de>

On Wed, Jan 24, 2018 at 10:59:21AM +0100, Steffen Klassert wrote:
> On Fri, Jan 19, 2018 at 03:45:46PM +0100, Tobias Hommel wrote:
> > 
> > I tried to strip down the system configuration and was able to reproduce the
> > problem with a minimal configuration:
> > * ipsets are not used anymore
> > * no firewall markings are used any longer
> > * iptables are "completely empty", i.e. all policies set to ACCEPT and there is
> >   no rule in any table
> > * no additional routing policies (ip rule) except the default ones
> > * only main routing table is used
> > * using a "minimal" kernel config:
> >  * run `make defconfig`
> >  * add basic things (ESP, IGB driver, some crypto algorithms)
> >  * add options required to boot up the system (TPM crypt, some device mapper
> >    options, overlayfs)
> > 
> > I attached the minimal config (minimal.config) and the defconfig for reference
> > (minimal.defconfig).
> > 
> > The setup is really simple now, the gateway is forwarding HTTP connections
> > between eth1(IPSec tunnels) and eth0 without any firewall, NAT, whatsoever.
> 
> Thanks a lot for your debugging effort!
> 
> > 
> > The only thing I can think of are the rather aggressive roadwarrior clients.
> > There are 750 roadwarriors that are controlled by a script which starts and
> > stops the IPSec connection.
> 
> I still can't reproduce it with my tests. This is probably some race
> triggered due to your aggressive roadwarrior setup which I don't have.
> 
> > I tried 4.15-rc8 and have the same problem here (see attached
> > kernel-4.15-rc8.log). SMP affinity for IRQs has changed in 4.15 and something's
> 
> There is one patch that could influence this which is not in v4.15-rc8:
> 
> commit 76a4201191814a0061cb5c861fafb9ecaa764846
> ("xfrm: Fix a race in the xdst pcpu cache.")
> 
> It is included in v4.15-rc9.
I already tested that one some weeks ago, when it appeared on the mailing list,
with 4.14. Without any luck.

> 
> If this does not fix your problem, I'm out of ideas. In this case
> I have to ask to do a bisection to find the offending commit.
> 
I'll do a bisect session then. It'll take some time though as the hardware is
currently occupied with other tests. I'll keep you up-to-date about the
results.

  reply	other threads:[~2018-01-29  8:38 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
2018-01-19 14:45                 ` Tobias Hommel
2018-01-24  9:59                   ` Steffen Klassert
2018-01-29  8:38                     ` Tobias Hommel [this message]
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=20180129083817.4pokzlwc4p7csik6@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