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  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]
Date:   Sun, 8 Oct 2017 23:13:42 +0800
From:   Jia-Ju Bai <>
        Linux Kernel Mailing List <>
Subject: [BUG] stmmac: A possible sleep-in-atomic bug in stmmac_suspend

According to stmmac_main.c, the driver may sleep under a spinlock,
and the function call path is:
stmmac_suspend (acquire the spinlock)
       might_sleep --> may sleep
       msleep --> may sleep

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

Jia-Ju Bai

Powered by blists - more mailing lists