{"id":"CVE-2026-68126","aliases":["CVE-2026-68126"],"related":[],"kind":"vulnerability","state":"published","title":"mac802154: hold an interface reference across the scan worker","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmac802154: hold an interface reference across the scan worker\n\nmac802154_scan_worker() captures the scanning sub-interface under RCU\nand then keeps dereferencing sdata->dev after rcu_read_unlock() and\noutside the rtnl -- in the failure traces, in\nmac802154_transmit_beacon_req() (skb->dev = sdata->dev), and in the\nend_scan cleanup. Nothing keeps that netdev alive across the worker\niteration.\n\nA concurrent DEL_INTERFACE or PHY removal can unregister the interface\nonce the worker drops the rtnl between its two drv_set_channel()\nsections. unregister_netdevice() frees the netdev asynchronously from\nnetdev_run_todo() with the rtnl already dropped, so neither holding the\nrtnl nor the per-PHY IEEE802154_IS_SCANNING flag prevents a stale worker\niteration from dereferencing the freed netdev -- a KASAN\nslab-use-after-free, reachable by racing TRIGGER_SCAN against\nDEL_INTERFACE (both CAP_NET_ADMIN).\n\nPin the netdev with netdev_hold() while the RCU read lock is still held,\nand release it at every worker exit.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmac802154: hold an interface reference across the scan worker\n\nmac802154_scan_worker() captures the scanning sub-interface under RCU\nand then keeps dereferencing sdata->dev after rcu_read_unlock() and\noutside the rtnl -- in the failure traces, in\nmac802154_transmit_beacon_req() (skb->dev = sdata->dev), and in the\nend_scan cleanup. Nothing keeps that netdev alive across the worker\niteration.\n\nA concurrent DEL_INTERFACE or PHY removal can unregister the interface\nonce the worker drops the rtnl between its two drv_set_channel()\nsections. unregister_netdevice() frees the netdev asynchronously from\nnetdev_run_todo() with the rtnl already dropped, so neither holding the\nrtnl nor the per-PHY IEEE802154_IS_SCANNING flag prevents a stale worker\niteration from dereferencing the freed netdev -- a KASAN\nslab-use-after-free, reachable by racing TRIGGER_SCAN against\nDEL_INTERFACE (both CAP_NET_ADMIN).\n\nPin the netdev with netdev_hold() while the RCU read lock is still held,\nand release it at every worker exit.","source":"cvelist"}],"published":"2026-08-10T11:58:47.478Z","modified":"2026-11-30T16:13:21.673Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"57588c71177f0bfc08509c2c3a9bfe32850c0786","fixed":"bd7110f0caa32426140ff302a209c53294ef2cfd","status":"affected"},{"type":"git","introduced":"57588c71177f0bfc08509c2c3a9bfe32850c0786","fixed":"dd4754194a706163294b6141460101b99082c8c7","status":"affected"},{"type":"git","introduced":"57588c71177f0bfc08509c2c3a9bfe32850c0786","fixed":"59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b","status":"affected"},{"type":"git","introduced":"57588c71177f0bfc08509c2c3a9bfe32850c0786","fixed":"5f303f622f6bb8907c405e5123a0ab0f70fb0065","status":"affected"},{"type":"git","introduced":"57588c71177f0bfc08509c2c3a9bfe32850c0786","fixed":"234e5e898b713bc0b3a631b6f002897f43d046c8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bd7110f0caa32426140ff302a209c53294ef2cfd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd4754194a706163294b6141460101b99082c8c7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f303f622f6bb8907c405e5123a0ab0f70fb0065","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/234e5e898b713bc0b3a631b6f002897f43d046c8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68126","url":"https://www.cve.org/CVERecord?id=CVE-2026-68126","licence":"CVE Terms of Use","modified":"2026-08-17T04:59:17.559Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68126","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68126","licence":"Public domain","modified":"2026-11-30T16:13:21.673Z"}],"updatedAt":"2026-11-30T16:17:36.752Z","epss":{"score":0.00175,"percentile":0.07372,"date":"2026-12-01T12:00:22.000Z"}}