aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorPhong Tran <[email protected]>2019-07-15 22:08:14 +0700
committerDavid S. Miller <[email protected]>2019-07-15 11:10:31 -0700
commitf384e62a82ba5d85408405fdd6aeff89354deaa9 (patch)
treed9711a2d759695612b76bdc4c2ae2ace671fd31c /net/lapb/lapb_subr.c
parentc5ec23bb190267f8b6cb287b761c1f6630c4b694 (diff)
ISDN: hfcsusb: checking idx of ep configuration
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: [email protected] [1]: https://syzkaller.appspot.com/bug?id=30a04378dac680c5d521304a00a86156bb913522 [2]: https://groups.google.com/d/msg/syzkaller-bugs/_6HBdge8F3E/OJn7wVNpBAAJ Signed-off-by: Phong Tran <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions