Re: [PATCH] vt: keyboard: avoid integer overflow in k_ascii

2020-05-21 Thread Dmitry Torokhov
On Thu, May 21, 2020 at 11:31:39PM +, Kyungtae Kim wrote: > On Wed, May 20, 2020 at 11:36:02PM -0700, Dmitry Torokhov wrote: > > Hi, > > > > On Thu, May 21, 2020 at 01:34:08AM +, Kyungtae Kim wrote: > > > FuzzUSB (a variant of syzkaller) found an integer overflow > > > while processing ke

Re: [PATCH] vt: keyboard: avoid integer overflow in k_ascii

2020-05-20 Thread Dmitry Torokhov
Hi, On Thu, May 21, 2020 at 01:34:08AM +, Kyungtae Kim wrote: > FuzzUSB (a variant of syzkaller) found an integer overflow > while processing keycode value. > > Reference: https://lkml.org/lkml/2020/3/22/482 > > This bug occurs because of no validity check when operating keycode values. > B