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>] [day] [month] [year] [list]
Message-ID: <0ba5fa3a-1202-752f-e7f2-5d689b6a9e7c@163.com>
Date:   Sun, 8 Oct 2017 23:06:38 +0800
From:   Jia-Ju Bai <baijiaju1990@....com>
To:     yang.jie@...ux.intel.com, lgirdwood@...il.com, broonie@...nel.org,
        perex@...ex.cz, tiwai@...e.com
Cc:     alsa-devel@...a-project.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [BUG] haswell: A possible sleep-in-atomic bug in hsw_irq_thread

According to sst-haswell-ipc.c, the driver may sleep under a spinlock,
and the function call path is:
hsw_irq_thread (acquire the spinlock)
   hsw_process_notification
     hsw_log_message
       mutex_lock --> may sleep

This bug is found by my static analysis tool and my code review.


Thanks,
Jia-Ju Bai

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ