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
| ||
|
Message-ID: <229fd3a0-b88e-5b86-e26e-ec6b79d37a2c@gmail.com> Date: Tue, 12 Dec 2017 15:30:01 +0800 From: Jia-Ju Bai <baijiaju1990@...il.com> To: nicolas.ferre@...rochip.com, broonie@...nel.org, alexandre.belloni@...e-electrons.com Cc: linux-spi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, Linux Kernel Mailing List <linux-kernel@...r.kernel.org> Subject: [BUG] drivers/spi: a possible sleep-in-atomic bug in atmel_spi_remove According to drivers/spi/spi-atmel.c, the kernel module may sleep under a spinlock. The function call path is: atmel_spi_remove (acquire the spinlock) atmel_spi_release_dma dma_release_channel mutex_lock --> may sleep I do not find a good way to fix it, so I only report. This possible bug is found by my static analysis tool (DSAC) and checked by my code review. Thanks, Jia-Ju Bai
Powered by blists - more mailing lists