summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPhong Tran <tranmanphong@gmail.com>2019-07-15 22:08:14 +0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-04 09:29:36 +0200
commit476ffb4b15bd161fe6602c978e223e78c6df3377 (patch)
tree55b65da5930c342a18a50de600ff08d1ba8782c5 /kernel
parent44b1a00e5c53251b0b0db77bb191f07a7f8481c9 (diff)
downloadlinux-stable-476ffb4b15bd161fe6602c978e223e78c6df3377.tar.gz
linux-stable-476ffb4b15bd161fe6602c978e223e78c6df3377.tar.bz2
linux-stable-476ffb4b15bd161fe6602c978e223e78c6df3377.zip
ISDN: hfcsusb: checking idx of ep configuration
commit f384e62a82ba5d85408405fdd6aeff89354deaa9 upstream. The syzbot test with random endpoint address which made the idx is overflow in the table of endpoint configuations. this adds the checking for fixing the error report from syzbot KASAN: stack-out-of-bounds Read in hfcsusb_probe [1] The patch tested by syzbot [2] Reported-by: syzbot+8750abbc3a46ef47d509@syzkaller.appspotmail.com [1]: https://syzkaller.appspot.com/bug?id=30a04378dac680c5d521304a00a86156bb913522 [2]: https://groups.google.com/d/msg/syzkaller-bugs/_6HBdge8F3E/OJn7wVNpBAAJ Signed-off-by: Phong Tran <tranmanphong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions