Security mailing lists by PureSourceCode

CVE-2026-139142

not scored yet

net: bcmgenet: recover from a failed resume

In the Linux kernel, the following vulnerability has been resolved:

net: bcmgenet: recover from a failed resume

A resume that fails in bcmgenet_init_dma() returns with the interface
still IFF_UP and the datapath gone. The next ifdown runs the teardown
a second time and napi_disable() waits for a NAPI_STATE_SCHED bit that
nothing will clear:

task:ip state:D
usleep_range_state+0xec/0x158
napi_disable_locked+0x254/0x318
napi_disable+0x3c/0x68
bcmgenet_netif_stop+0x1c8/0x318
bcmgenet_close+0x24/0xd0
__dev_close_many+0x18c/0x310

RTNL is held across the wait, so everything else blocks behind it.

The same resume gates the clock and detaches the device. Close releases
the clock a second time and ifup fails with -ENODEV. The hardware filters
stay armed, so the next WoL suspend wakes on any frame. That suspend sets
CMD_RX_EN for magic packet detection, so the WoL resume reuses rings that
are gone.

A failed resume should leave a state the ordinary paths can handle. Clear
rx_cbs and tx_cbs as they are freed so they answer whether a datapath
exists, and leave the clock alone so close and suspend release it once.
The WoL resume rebuilds instead, so stop the PHY first, phy_start() only
takes PHY_READY or PHY_HALTED.

Flagged in a sashiko review and reproduced on a CM4 by forcing the resume
allocation to fail.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= b6e978e50444a063f066f058d134173de877b968, < c14988edf9ca6145284ab6b080f67ce3d29ebe00; >= b6e978e50444a063f066f058d134173de877b968, < 52b7ccc85407f65679a223d8e5ed1df78fabb8cc; >= b6e978e50444a063f066f058d134173de877b968, < e8a57faa093037a2f253354ffe4ee1dbcb47dcd0; >= b6e978e50444a063f066f058d134173de877b968, < 357902cbc81465b71de69db5616d06a2f2cba244; >= b6e978e50444a063f066f058d134173de877b968, < 1c1f51c3ee9ccf86462e36548291ed44fecd5355 c14988edf9ca6145284ab6b080f67ce3d29ebe00, 52b7ccc85407f65679a223d8e5ed1df78fabb8cc, e8a57faa093037a2f253354ffe4ee1dbcb47dcd0, 357902cbc81465b71de69db5616d06a2f2cba244, 1c1f51c3ee9ccf86462e36548291ed44fecd5355
CVE List Linux Linux = 3.17

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.