{"id":"CVE-2026-68126","state":"PUBLISHED","title":"mac802154: hold an interface reference across the scan worker","description":"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.","publishedAt":"2026-08-10T11:58:47.478Z","updatedAt":"2026-08-17T04:59:17.559Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"bd7110f0caa32426140ff302a209c53294ef2cfd","versionType":"git"},{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"dd4754194a706163294b6141460101b99082c8c7","versionType":"git"},{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b","versionType":"git"},{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"5f303f622f6bb8907c405e5123a0ab0f70fb0065","versionType":"git"},{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"234e5e898b713bc0b3a631b6f002897f43d046c8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac802154/scan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac802154/scan.c"]}],"references":["https://git.kernel.org/stable/c/bd7110f0caa32426140ff302a209c53294ef2cfd","https://git.kernel.org/stable/c/dd4754194a706163294b6141460101b99082c8c7","https://git.kernel.org/stable/c/59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b","https://git.kernel.org/stable/c/5f303f622f6bb8907c405e5123a0ab0f70fb0065","https://git.kernel.org/stable/c/234e5e898b713bc0b3a631b6f002897f43d046c8"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68126.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68126","state":"PUBLISHED","datePublished":"2026-08-10T11:58:47.478Z","dateUpdated":"2026-08-17T04:59:17.559Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.369Z"},"containers":{"cna":{"title":"mac802154: hold an interface reference across the scan worker","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"bd7110f0caa32426140ff302a209c53294ef2cfd","versionType":"git"},{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"dd4754194a706163294b6141460101b99082c8c7","versionType":"git"},{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b","versionType":"git"},{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"5f303f622f6bb8907c405e5123a0ab0f70fb0065","versionType":"git"},{"version":"57588c71177f0bfc08509c2c3a9bfe32850c0786","status":"affected","lessThan":"234e5e898b713bc0b3a631b6f002897f43d046c8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac802154/scan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac802154/scan.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bd7110f0caa32426140ff302a209c53294ef2cfd"},{"url":"https://git.kernel.org/stable/c/dd4754194a706163294b6141460101b99082c8c7"},{"url":"https://git.kernel.org/stable/c/59c1d5463b7bc5a2cdaae27108d1dfd67edc7d1b"},{"url":"https://git.kernel.org/stable/c/5f303f622f6bb8907c405e5123a0ab0f70fb0065"},{"url":"https://git.kernel.org/stable/c/234e5e898b713bc0b3a631b6f002897f43d046c8"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T04:59:17.559Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}