lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 28 Aug 2016 21:17:07 +0200
From:   Vegard Nossum <vegard.nossum@...il.com>
To:     Dmitry Vyukov <dvyukov@...gle.com>
Cc:     Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
        alsa-devel@...a-project.org, LKML <linux-kernel@...r.kernel.org>,
        Alexander Potapenko <glider@...gle.com>,
        Kostya Serebryany <kcc@...gle.com>,
        syzkaller <syzkaller@...glegroups.com>
Subject: Re: sound: division by 0 in snd_hrtimer_callback

On 28 August 2016 at 20:39, Dmitry Vyukov <dvyukov@...gle.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

View attachment "0001-ALSA-timer-fix-division-by-zero-after-SNDRV_TIMER_IO.patch" of type "text/x-patch" (4387 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ