Thread (1 message) 1 message, 1 author, 2019-05-21

Re: [PATCH net] xfrm: Fix xfrm sel prefix length validation

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2019-05-21 02:49:47
Also in: lkml

On Mon, May 20, 2019 at 10:30:29PM +0530, Anirudh Gupta wrote:
Yes, I notice that is the only verification of p->family from userspace.
However, the underlying conditions added in commit '07bf7908950a',
validates the selector src/dest prefix len.
You need to check both p->family and p->sel.family.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help