{"schema":"threatline.record/2","record":{"id":"CVE-2026-98331","aliases":[],"summary":"wifi: mac80211: unlist vifs when their netdev is unregistered","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: unlist vifs when their netdev is unregistered\n\nmac80211 only removes vifs from the local->interfaces list when\nan interface is removed via ieee80211_if_remove(), before it\nunregisters the netdev. However, it's possible for a netdev to\nbe unregistered without going through that: When the netns that\nholds the wiphy is destroyed, the wiphy is supposed to move to\nthe init_ns, but that can run into allocation failures.\n\nThen, mac80211 has an interface listed that doesn't exist, and\nwill eventually hit\n\n  BUG: failure at net/wireless/core.h:141/wiphy_to_rdev()!\n  ...\n  _cfg80211_unregister_wdev+0x24/0x36a [cfg80211]\n  cfg80211_unregister_wdev+0x15/0x1d [cfg80211]\n  ieee80211_remove_interfaces+0x1ff/0x257 [mac80211]\n  ieee80211_unregister_hw+0x73/0x1d1 [mac80211]\n  mac80211_hwsim_del_radio+0x114/0x166 [mac80211_hwsim]\n\nRemove the interface from the list in ->ndo_uninit if it's still\naround to avoid this.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98331","source_modified_at":"2026-10-19T09:17:41.508Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"463d018323851a608eef52a9427b0585005c647f","lessThan":"a22c02863439993095acd0c3db97fa53cd515f4f","status":"affected","versionType":"git"},{"version":"463d018323851a608eef52a9427b0585005c647f","lessThan":"20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0","status":"affected","versionType":"git"},{"version":"463d018323851a608eef52a9427b0585005c647f","lessThan":"b735ad1a9aca6080192c1316cf2706e5e1318762","status":"affected","versionType":"git"},{"version":"463d018323851a608eef52a9427b0585005c647f","lessThan":"d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1","status":"affected","versionType":"git"},{"version":"463d018323851a608eef52a9427b0585005c647f","lessThan":"821bab0456dfca12acef6df702c8f2477d313227","status":"affected","versionType":"git"},{"version":"463d018323851a608eef52a9427b0585005c647f","lessThan":"eee2efd82867b623982ac51925b5a1812a74c50d","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98331","source_modified_at":"2026-10-19T09:17:41.508Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"2.6.32","status":"affected"},{"version":"0","lessThan":"2.6.32","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.54","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.8","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98331","source_modified_at":"2026-10-19T09:17:41.508Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98331","source_modified_at":"2026-10-19T09:17:41.508Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"821bab0456dfca12acef6df702c8f2477d313227","basis":"first unaffected version stated in the CVE record"}],"cvss":7,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00131,"percentile":0.0243,"score_date":"2026-10-23"},"published_at":"2026-10-06T08:46:23.481Z","modified_at":"2026-10-19T09:17:41.508Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98331","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:17:41.508Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98331","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/a22c02863439993095acd0c3db97fa53cd515f4f"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/b735ad1a9aca6080192c1316cf2706e5e1318762"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/821bab0456dfca12acef6df702c8f2477d313227"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/eee2efd82867b623982ac51925b5a1812a74c50d"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:17:41.508Z","content_hash":"dfa843cb00b3d88de372523eac3dd01ade3b531d8f2257984a677a830f394292"}}
