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>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 17 May 2014 03:15:54 +0400
From:	Alexey Khoroshilov <>
To:	Srinivas Kandagatla <>
CC:	Giuseppe Cavallaro <>,
	"David S. Miller" <>,
	"" <>,
	linux-kernel <>,
Subject: [BUG] might sleep functions in atomic context in stmmac_resume()

There are calls to might sleep functions in atomic context in
- the first one is clk_prepare_enable(priv->stmmac_clk);
- the second one is stmmac_hw_setup()
-> init_dma_desc_rings()
  -> ´╗┐stmmac_init_rx_buffers()
    -> __netdev_alloc_skb(GFP_KERNEL)

What is the purpose of spin_lock_irqsave(&priv->lock, flags) section?
What does it protect against?

Found by Linux Driver Verification project (

Alexey Khoroshilov
Linux Verification Center, ISPRAS
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists