Re: [PATCH] smack: fix slab-out-of-bounds by checking for overflow
On 7/25/2020 5:58 AM, B K Karthik wrote: > add a barrier to smk_set_cipso() to check for overflow Thank you for your patch. Dan Carpenter has already submitted an identical patch. > > == > BUG: KASAN: slab-out-of-bounds in vsscanf+0
[PATCH] smack: fix slab-out-of-bounds by checking for overflow
add a barrier to smk_set_cipso() to check for overflow == BUG: KASAN: slab-out-of-bounds in vsscanf+0x2666/0x2ef0 lib/vsprintf.c:3321 Read of size 1 at addr 888097d682b8 by task syz-executor980/6804 CPU: 0 PID: 6804 Comm: syz-exe