{"id":"CVE-2026-98341","published":"2026-10-06T09:18:26.873","lastModified":"2026-10-07T07:17:09.690","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: don't free driver-owned scan requests\n\nWhen an interface goes down while a scan is running, cfg80211 completes\nthe scan towards userspace and frees the scan request. However, the\ndriver can be convinced that it owns the request, since the cancellation\nis (intended to be) asynchronous.\n\nThe WARN_ON() in the netdev notifier was meant to catch this, but it's\nnot actually avoidable, so it triggers and we get a UAF in scan_done().\n\nThere doesn't seem to be a great way around it, so just track that the\ndriver is still convinced it owns the request, and then just free it on\ncompletion if it was already cancelled. Also remove the warnings since\nthey can trigger in the intended architecture.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":[],"vendors":[],"products":[],"references":[{"url":"https://git.kernel.org/stable/c/cf6da29d17994865f73ca70976495ea856909c63","tags":[]},{"url":"https://git.kernel.org/stable/c/dab68a74e90b8e07f08ed9deaa5884857a3cfe89","tags":[]},{"url":"https://git.kernel.org/stable/c/e8c75736cfd0c6c87562cda2312e3fe5e2227955","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The Linux kernel's cfg80211 subsystem has a use-after-free vulnerability when handling WiFi scan requests during interface shutdown. When a scan is running and the network interface goes down, the system incorrectly frees the scan request while the driver may still be using it, leading to potential memory corruption.","exploitability":"Exploitation requires a specific sequence involving active WiFi scanning and interface shutdown, making it moderately difficult but possible with precise timing and control over the network interface state.","blast_radius":"The vulnerability could affect any Linux system running WiFi with cfg80211 driver, potentially leading to kernel memory corruption that might allow privilege escalation or system instability.","remediation":"Apply the kernel patch for CVE-2026-98341 which resolves the use-after-free issue in cfg80211 scan handling.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["wifi","kernel","memory-corruption"],"model":"garnet-coder","analyzedAt":"2026-10-14T09:03:01.693Z"}}