From: Tobias Hommel <netdev-list@genoetigt.de>
To: Kristian Evensen <kristian.evensen@gmail.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>,
Markus Berner <Markus.Berner@gmx.ch>,
Network Development <netdev@vger.kernel.org>
Subject: Re: BUG: 4.14.11 unable to handle kernel NULL pointer dereference in xfrm_lookup
Date: Tue, 12 Jun 2018 20:39:00 +0200 [thread overview]
Message-ID: <20180612183900.7fp4np57kggfhwpi@delI> (raw)
In-Reply-To: <CAKfDRXiq2c2ruvT8XoXGQntHYccAOp0zUZ3uH4iJM3cSAQkNVw@mail.gmail.com>
On Fri, Jun 08, 2018 at 10:41:37AM +0200, Kristian Evensen wrote:
> Hi,
>
> On Wed, Jun 6, 2018 at 6:03 PM, Tobias Hommel <netdev-list@genoetigt.de> wrote:
> > Sorry no progress until now, I currently do not get time to have a deeper look
> > into that. We're back to 4.1.6 right now.
>
> Thanks for letting me know. In the project I am currently involved in,
> we unfortunately don't have the option of reverting the kernel, so we
> are finding ways to live with the error. We have been looking into the
> error a bit more, and have made the following observations:
>
> * First of all, as discussed earlier in the thread, the error is
> triggered by dst_orig being NULL. Our current work-around is just to
> return from xfrm_lookup if dst_orig is NULL and this seems to work
> fine, the error doesn't happen that often (in our use-cases at least).
> * The machine we use for testing (and where we first saw the error) is
> used as initiator.
The machine where I encountered the bug is a "roadwarrior gateway", so it only
serves as a responder.
> * When we compare the logs from Strongswan with the ones from the
> kernel, it seems that the error is typically triggered when a tunnels
> is teared down/about to come up. We need quite a lot of tunnels for
> the error to trigger, usually around 30+. I guess this might point to
> some race or some condition not being met when packets are
> sent/received.
> * We see the error much more frequently when hardware encryption is enabled.
> * Yesterday, we upgraded the kernel from 4.14.34 to 4.14.48, and the
> error happens much less frequently. I see that 4.14.48 includes
> several IPsec fixes (for example the previously mentioned ("xfrm: Fix
> a race in the xdst pcpu cache.")).
>
> BR,
> Kristian
next prev parent reply other threads:[~2018-06-12 18:39 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
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 [this message]
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=20180612183900.7fp4np57kggfhwpi@delI \
--to=netdev-list@genoetigt.de \
--cc=Markus.Berner@gmx.ch \
--cc=kristian.evensen@gmail.com \
--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