{"id":"CVE-2026-98574","summary":"net: bcmgenet: stop Tx NAPI before disabling the queues","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bcmgenet: stop Tx NAPI before disabling the queues\n\nbcmgenet_netif_stop() and the Wake-on-LAN branch of bcmgenet_suspend()\nboth disable the Tx queues first and stop Tx NAPI several steps later. A\ncompletion in flight calls netif_tx_wake_queue() in between, and nothing\nstops the queue again, so a transmit can reach the rings after they have\nbeen freed.\n\nClose is safe because dev_deactivate_many() stops the qdisc first.\nbcmgenet_suspend() does not, so stop Tx NAPI before the queues on both\npaths.\n\nKASAN on a Raspberry Pi CM4, driven from an MTU change because suspend\nfreezes user space before the callback runs:\n\n  BUG: KASAN: use-after-free in bcmgenet_xmit+0x17f8/0x2258\n  Write of size 8 at addr ffffff8055844a68 by task ksoftirqd/0/14\n   bcmgenet_xmit+0x17f8/0x2258\n   dev_hard_start_xmit+0x13c/0x588\n   sch_direct_xmit+0x108/0x340\n   __dev_queue_xmit+0x1190/0x3848","modified":"2026-10-19T02:46:36.981037538Z","published":"2026-10-18T15:18:39.767Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98574.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63bcc2fee6419963e45e7c2cd698fa862409601d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e87508b5c4d81210d0a736ed01962e52f5c4c56"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f329d42423089904758f2685cda295de9bf99441"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98574.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98574"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"254f3239dd070e469f45c3ca8b6ac38e47d6c730"},{"fixed":"63bcc2fee6419963e45e7c2cd698fa862409601d"},{"fixed":"f329d42423089904758f2685cda295de9bf99441"},{"fixed":"7e87508b5c4d81210d0a736ed01962e52f5c4c56"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98574.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98574.json"}}],"schema_version":"1.9.0"}