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: <bb1c8c1d-4f99-7d47-818c-13e98cd024d5@163.com> Date: Tue, 12 Dec 2017 09:24:34 +0800 From: Jia-Ju Bai <baijiaju1990@....com> To: krzk@...nel.org, sbkim73@...sung.com, s.nawrocki@...sung.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] sound/soc/samsung: a possible sleep-in-atomic bugs in s3c_pcm_hw_params According to sound/soc/samsung/pcm.c, the kernel module may sleep under a spinlock. The function call path is: s3c_pcm_hw_params (acquire the spinlock) clk_get_rate clk_core_get_rate clk_prepare_lock 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 my code review. Thanks, Jia-Ju Bai
Powered by blists - more mailing lists