{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-97599","id":"CVE-2026-97599","title":"ieee802154: hwsim: serialize pib updates to fix double-free","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nieee802154: hwsim: serialize pib updates to fix double-free\n\nhwsim_update_pib() does an unserialized read-swap-free of phy->pib:\n\n\tpib_old = rtnl_dereference(phy->pib);\n\t...\n\trcu_assign_pointer(phy->pib, pib);\n\tkfree_rcu(pib_old, rcu);\n\nIt assumes the RTNL is held, but ->set_channel is not always called\nunder it: the mac802154 sc","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nieee802154: hwsim: serialize pib updates to fix double-free\n\nhwsim_update_pib() does an unserialized read-swap-free of phy->pib:\n\n\tpib_old = rtnl_dereference(phy->pib);\n\t...\n\trcu_assign_pointer(phy->pib, pib);\n\tkfree_rcu(pib_old, rcu);\n\nIt assumes the RTNL is held, but ->set_channel is not always called\nunder it: the mac802154 scan worker changes channels via\ndrv_set_channel() without the RTNL. Such an update can race an\nRTNL-held one on the same phy; both read the same pib_old and both\nkfree_rcu() it, double-freeing the object. With SLUB percpu sheaves\nbatching kfree_rcu(), this surfaces as a KASAN invalid-free in\nrcu_free_sheaf().\n\nstruct hwsim_phy has no lock for pib. Add one and make the swap atomic\nwith rcu_replace_pointer() under it, dropping the misleading\nrtnl_dereference().","published":"2026-09-25T10:22:13.606Z","updated":"2026-11-18T19:57:34.664423518Z","reserved":"2026-09-24T16:01:01.157Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f25da51fdc381ca2863248c7060b3662632f0872","lessThan":"8f44a61f816581c35c1974c8c1a3b3c2c49e96be","status":"affected","versionType":"git"},{"version":"f25da51fdc381ca2863248c7060b3662632f0872","lessThan":"e3b4681197aa026bd2d79358de5a3d62b76b04b9","status":"affected","versionType":"git"},{"version":"f25da51fdc381ca2863248c7060b3662632f0872","lessThan":"9973b3a67a7592a780ea12b08334539a900deec1","status":"affected","versionType":"git"},{"version":"f25da51fdc381ca2863248c7060b3662632f0872","lessThan":"d3b8f264ce09573aededd0a97dc41c8147797d8f","status":"affected","versionType":"git"},{"version":"f25da51fdc381ca2863248c7060b3662632f0872","lessThan":"db6442deecb1f13aeaf4f9d77746ea7555630fb3","status":"affected","versionType":"git"},{"version":"f25da51fdc381ca2863248c7060b3662632f0872","lessThan":"979d5b8de8ed4e1f997aef12da5694b99be7b871","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.7","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8f44a61f816581c35c1974c8c1a3b3c2c49e96be","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e3b4681197aa026bd2d79358de5a3d62b76b04b9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9973b3a67a7592a780ea12b08334539a900deec1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d3b8f264ce09573aededd0a97dc41c8147797d8f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/db6442deecb1f13aeaf4f9d77746ea7555630fb3","tags":["web"]},{"url":"https://git.kernel.org/stable/c/979d5b8de8ed4e1f997aef12da5694b99be7b871","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97599.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97599","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00205,"epssPercentile":0.10624,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-97599","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97599","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-97599","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-97599","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}