{"id":"AZL-116917","summary":"CVE-2026-139142 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bcmgenet: recover from a failed resume\n\nA resume that fails in bcmgenet_init_dma() returns with the interface\nstill IFF_UP and the datapath gone. The next ifdown runs the teardown\na second time and napi_disable() waits for a NAPI_STATE_SCHED bit that\nnothing will clear:\n\n  task:ip  state:D\n    usleep_range_state+0xec/0x158\n    napi_disable_locked+0x254/0x318\n    napi_disable+0x3c/0x68\n    bcmgenet_netif_stop+0x1c8/0x318\n    bcmgenet_close+0x24/0xd0\n    __dev_close_many+0x18c/0x310\n\nRTNL is held across the wait, so everything else blocks behind it.\n\nThe same resume gates the clock and detaches the device. Close releases\nthe clock a second time and ifup fails with -ENODEV. The hardware filters\nstay armed, so the next WoL suspend wakes on any frame. That suspend sets\nCMD_RX_EN for magic packet detection, so the WoL resume reuses rings that\nare gone.\n\nA failed resume should leave a state the ordinary paths can handle. Clear\nrx_cbs and tx_cbs as they are freed so they answer whether a datapath\nexists, and leave the clock alone so close and suspend release it once.\nThe WoL resume rebuilds instead, so stop the PHY first, phy_start() only\ntakes PHY_READY or PHY_HALTED.\n\nFlagged in a sashiko review and reproduced on a CM4 by forcing the resume\nallocation to fail.","modified":"2026-12-01T14:17:41.266378775Z","published":"2026-11-30T14:18:31Z","upstream":["CVE-2026-139142"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139142"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-116917.json"}}],"schema_version":"1.9.2"}