linux/drivers/net/hamradio
Firo Yang fb3ce90b7d hdlcdrv: Fix divide by zero in hdlcdrv_ioctl
syszkaller fuzzer triggered a divide by zero, when set calibration
through ioctl().

To fix it, test 'bitrate' if it is negative or 0, just return -EINVAL.

Reported-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Firo Yang <firogm@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-27 18:44:17 -04:00
..
6pack.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
baycom_epp.c Annotate hardware config module parameters in drivers/net/hamradio/ 2017-04-20 12:02:32 +01:00
baycom_par.c Annotate hardware config module parameters in drivers/net/hamradio/ 2017-04-20 12:02:32 +01:00
baycom_ser_fdx.c Annotate hardware config module parameters in drivers/net/hamradio/ 2017-04-20 12:02:32 +01:00
baycom_ser_hdx.c Annotate hardware config module parameters in drivers/net/hamradio/ 2017-04-20 12:02:32 +01:00
bpqether.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
dmascc.c Annotate hardware config module parameters in drivers/net/hamradio/ 2017-04-20 12:02:32 +01:00
hdlcdrv.c hdlcdrv: Fix divide by zero in hdlcdrv_ioctl 2017-05-27 18:44:17 -04:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile
mkiss.c NET: mkiss: Fix panic 2017-02-10 13:41:13 -05:00
scc.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
yam.c yam: use memdup_user 2017-05-08 15:02:10 -04:00
z8530.h