Re: [PATCH] Input: leds - fix out of bound access

2018-04-12 Thread Peter Hutterer
On Fri, Apr 06, 2018 at 11:12:42AM -0700, Dmitry Torokhov wrote: > UI_SET_LEDBIT ioctl() causes the following KASAN splat when used with > led > LED_CHARGING: > > [ 1274.663418] BUG: KASAN: slab-out-of-bounds in > input_leds_connect+0x611/0x730 [input_leds] > [ 1274.663426] Write of size 8 at

Re: [PATCH] Input: leds - fix out of bound access

2018-04-12 Thread Peter Hutterer
On Fri, Apr 06, 2018 at 11:12:42AM -0700, Dmitry Torokhov wrote: > UI_SET_LEDBIT ioctl() causes the following KASAN splat when used with > led > LED_CHARGING: > > [ 1274.663418] BUG: KASAN: slab-out-of-bounds in > input_leds_connect+0x611/0x730 [input_leds] > [ 1274.663426] Write of size 8 at

Re: [PATCH] Input: leds - fix out of bound access

2018-04-10 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has also determined it's probably a bug fixing patch. (score: 97.7389) The bot has tested the following trees:

Re: [PATCH] Input: leds - fix out of bound access

2018-04-10 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has also determined it's probably a bug fixing patch. (score: 97.7389) The bot has tested the following trees: