{"id":"CVE-2026-98305","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: mxl862xx: disable the stats poll on teardown\n\nmxl862xx_setup() arms the stats poll before mxl862xx_setup_mdio(), and\nnothing stops it until dsa_register_switc…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: mxl862xx: disable the stats poll on teardown\n\nmxl862xx_setup() arms the stats poll before mxl862xx_setup_mdio(), and\nnothing stops it until dsa_register_switc…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","vendor":"Linux","product":"Linux","affected":["Linux >= a21d33a5265f0b31d935a8b9b2b6faefb5185911 < 97df811a11d4f76bc2ffe67b6bf730263f56c668","Linux >= a21d33a5265f0b31d935a8b9b2b6faefb5185911 < 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36","Linux 7.1"],"published":"2026-10-06","updated":"2026-10-07","sourceUpdated":"2026-10-07T07:17:08.357","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-98305","references":[{"url":"https://git.kernel.org/stable/c/97df811a11d4f76bc2ffe67b6bf730263f56c668","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"epss":0.00162,"epssPercentile":0.04845,"ingestedAt":"2026-10-06T08:50:17.412Z","slug":"CVE-2026-98305","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: mxl862xx: disable the stats poll on teardown\n\nmxl862xx_setup() arms the stats poll before mxl862xx_setup_mdio(), and\nnothing stops it until dsa_register_switch() has returned an error to\nmxl862xx_probe(). DSA frees the dsa_port list before it returns, so a\npoll that fires once .setup or a later step of dsa_tree_setup() has\nfailed walks freed ports. On shutdown the user ports stay registered,\nand the WORK_STOPPED flag test in mxl862xx_get_stats64() is not atomic\nwith the cancel in mxl862xx_shutdown(), so a re-arm that read the flag\nbefore it was set queues the poll after cancel_delayed_work_sync() has\nreturned.\n\nArm the poll once .setup has succeeded and stop it from a .teardown op,\nwhich DSA calls on unregister and after a failed registration, in both\ncases before it frees the ports. Use disable_delayed_work_sync() there\nand in shutdown(): it drains a running poll as the cancel did and turns\nevery later attempt to queue the work into a no-op, so the re-arm\ncannot bring the poll back. remove() and the probe error path only set\nWORK_STOPPED, which crc_err_work tests before it walks the ports.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":217316,"id":"CVE-2026-98305","ts":1791361313693,"field":"cvss","old":null,"new":"7.8"},{"seq":217315,"id":"CVE-2026-98305","ts":1791361313693,"field":"severity","old":"none","new":"high"}]}