Re: [PATCH 4.14-stable] xfrm: Fix a race in the xdst pcpu cache.

2018-01-24 Thread Greg KH
On Wed, Jan 24, 2018 at 09:57:06AM -0500, David Miller wrote: > From: Steffen Klassert > Date: Wed, 24 Jan 2018 10:13:25 +0100 > > > commit 76a4201191814a0061cb5c861fafb9ecaa764846 upstream. > > > > We need to run xfrm_resolve_and_create_bundle() with > > bottom halves off. Otherwise we may reus

Re: [PATCH 4.14-stable] xfrm: Fix a race in the xdst pcpu cache.

2018-01-24 Thread David Miller
From: Steffen Klassert Date: Wed, 24 Jan 2018 10:13:25 +0100 > commit 76a4201191814a0061cb5c861fafb9ecaa764846 upstream. > > We need to run xfrm_resolve_and_create_bundle() with > bottom halves off. Otherwise we may reuse an already > released dst_enty when the xfrm lookup functions are > called

[PATCH 4.14-stable] xfrm: Fix a race in the xdst pcpu cache.

2018-01-24 Thread Steffen Klassert
commit 76a4201191814a0061cb5c861fafb9ecaa764846 upstream. We need to run xfrm_resolve_and_create_bundle() with bottom halves off. Otherwise we may reuse an already released dst_enty when the xfrm lookup functions are called from process context. Fixes: c30d78c14a813db39a647b6a348b428 ("xfrm: add