[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170527.184558.961743025477428078.davem@davemloft.net>
Date: Sat, 27 May 2017 18:45:58 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: firogm@...il.com
Cc: alan@...ux.intel.com, t.sailer@...mni.ethz.ch, wharms@....de,
andreyknvl@...gle.com, linux-hams@...r.kernel.org,
gregkh@...uxfoundation.org, netdev@...r.kernel.org,
thomas@...erried.de, javier@....samsung.com, dhowells@...hat.com,
geliangtang@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] hdlcdrv: Fix divide by zero in hdlcdrv_ioctl
From: Firo Yang <firogm@...il.com>
Date: Fri, 26 May 2017 22:37:38 +0800
> 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@...gle.com>
> Signed-off-by: Firo Yang <firogm@...il.com>
Applied, thank you.
Powered by blists - more mailing lists