[alsa-devel] sound: division by 0 in snd_hrtimer_callback
Vegard Nossum
vegard.nossum at gmail.com
Sun Aug 28 21:17:07 CEST 2016
On 28 August 2016 at 20:39, Dmitry Vyukov <dvyukov at google.com> wrote:
> Hello,
>
> The following program triggers divide error in snd_hrtimer_callback:
>
> divide error: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN
> Dumping ftrace buffer:
> (ftrace buffer empty)
> Modules linked in:
> CPU: 3 PID: 17469 Comm: syz-executor Not tainted 4.8.0-rc3+ #33
> Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
> task: ffff88003dc4a640 task.stack: ffff88003c690000
> RIP: 0010:[<ffffffff8575b49c>]
> [< inline >] ktime_divns ./include/linux/ktime.h:195
> [<ffffffff8575b49c>] snd_hrtimer_callback+0x1bc/0x3c0 sound/core/hrtimer.c:62
Attached patch should fix it...
Vegard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ALSA-timer-fix-division-by-zero-after-SNDRV_TIMER_IO.patch
Type: text/x-patch
Size: 4387 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160828/133d80be/attachment-0001.bin>
More information about the Alsa-devel
mailing list