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: <110cb3d4-656b-c5c7-53f7-c3851c56f22f@gmail.com>
Date:   Wed, 13 Dec 2017 22:03:18 +0800
From:   Jia-Ju Bai <baijiaju1990@...il.com>
To:     mchehab@...nel.org, bhumirks@...il.com, hans.verkuil@...co.com,
        xyzzy@...akeasy.org
Cc:     linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [BUG] cx88: a possible sleep-in-atomic bug in snd_cx88_switch_put

The driver may sleep under a spinlock.
The function call path is:
snd_cx88_switch_put (acquire the spinlock)
   v4l2_ctrl_find
     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

Powered by Openwall GNU/*/Linux Powered by OpenVZ