{
  "id": "CVE-2026-98331",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-98331",
  "published_at": "2026-10-06T08:46:23.481Z",
  "title": "wifi: mac80211: unlist vifs when their netdev is unregistered",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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-\u003einterfaces 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 -\u003endo_uninit if it's still\naround to avoid this.",
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 463d018323851a608eef52a9427b0585005c647f, \u003c a22c02863439993095acd0c3db97fa53cd515f4f",
          "\u003e= 463d018323851a608eef52a9427b0585005c647f, \u003c 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0",
          "\u003e= 463d018323851a608eef52a9427b0585005c647f, \u003c b735ad1a9aca6080192c1316cf2706e5e1318762",
          "\u003e= 463d018323851a608eef52a9427b0585005c647f, \u003c d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1",
          "\u003e= 463d018323851a608eef52a9427b0585005c647f, \u003c 821bab0456dfca12acef6df702c8f2477d313227",
          "\u003e= 463d018323851a608eef52a9427b0585005c647f, \u003c eee2efd82867b623982ac51925b5a1812a74c50d"
        ],
        "fixed_in": [
          "a22c02863439993095acd0c3db97fa53cd515f4f",
          "20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0",
          "b735ad1a9aca6080192c1316cf2706e5e1318762",
          "d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1",
          "821bab0456dfca12acef6df702c8f2477d313227",
          "eee2efd82867b623982ac51925b5a1812a74c50d"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.32"
        ],
        "fixed_in": [
          "0",
          "6.1.189",
          "6.6.158",
          "6.12.112",
          "6.18.54",
          "7.2.8",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a22c02863439993095acd0c3db97fa53cd515f4f or 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0 or b735ad1a9aca6080192c1316cf2706e5e1318762 or d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1 or 821bab0456dfca12acef6df702c8f2477d313227 or eee2efd82867b623982ac51925b5a1812a74c50d or later.",
      "Upgrade Linux to 0 or 6.1.189 or 6.6.158 or 6.12.112 or 6.18.54 or 7.2.8 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
