Re: [PATCH] net: ipv6: fix slab-out-of-bounda Read in xfrm6_tunnel_alloc_spi

2020-07-28 Thread David Miller
From: B K Karthik Date: Sat, 25 Jul 2020 18:15:53 +0530 > fix slab-out-of-bounds Read in xfrm6_tunnel_alloc_spi > by checking for existance of head for the list spi_byspi spi_byspi is an array, therefore as long as xfrm6_tn is not NULL then spi_byspi will also not be NULL.

Re: [PATCH] net: ipv6: fix slab-out-of-bounda Read in xfrm6_tunnel_alloc_spi

2020-07-26 Thread kernel test robot
Hi K, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on ipsec/master] [also build test WARNING on ipsec-next/master sparc-next/master net-next/master net/master v5.8-rc6 next-20200724] [If your patch is applied to the wrong git tree, kindly drop us a note. And wh

[PATCH] net: ipv6: fix slab-out-of-bounda Read in xfrm6_tunnel_alloc_spi

2020-07-25 Thread B K Karthik
fix slab-out-of-bounds Read in xfrm6_tunnel_alloc_spi by checking for existance of head for the list spi_byspi == BUG: KASAN: slab-out-of-bounds in __xfrm6_tunnel_alloc_spi net/ipv6/xfrm6_tunnel.c:124 [inline] BUG: KASAN: slab-out-of