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 <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt