{"id":"CVE-2026-98331","published":"2026-10-06T08:46:23Z","modified":"2026-10-19T09:17:41Z","title":"wifi: mac80211: unlist vifs when their netdev is unregistered","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00131,"percentile":0.02669,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a22c02863439993095acd0c3db97fa53cd515f4f","tags":[]},{"url":"https://git.kernel.org/stable/c/20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0","tags":[]},{"url":"https://git.kernel.org/stable/c/b735ad1a9aca6080192c1316cf2706e5e1318762","tags":[]},{"url":"https://git.kernel.org/stable/c/d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1","tags":[]},{"url":"https://git.kernel.org/stable/c/821bab0456dfca12acef6df702c8f2477d313227","tags":[]},{"url":"https://git.kernel.org/stable/c/eee2efd82867b623982ac51925b5a1812a74c50d","tags":[]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":0.53},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 463d018323851a608eef52a9427b0585005c647f, < a22c02863439993095acd0c3db97fa53cd515f4f",">= 463d018323851a608eef52a9427b0585005c647f, < 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0",">= 463d018323851a608eef52a9427b0585005c647f, < b735ad1a9aca6080192c1316cf2706e5e1318762",">= 463d018323851a608eef52a9427b0585005c647f, < d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1",">= 463d018323851a608eef52a9427b0585005c647f, < 821bab0456dfca12acef6df702c8f2477d313227",">= 463d018323851a608eef52a9427b0585005c647f, < eee2efd82867b623982ac51925b5a1812a74c50d"]},{"vendor":"Linux","product":"Linux","versions":["2.6.32"]}],"euvd":{"id":"EUVD-2026-93316","exploited":false,"provenance":"source"}}