CVE-2026-98341·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: don't free driver-owned scan requests When an interface goes down while a scan is running, cfg80211 completes the scan towards userspace and frees the scan request. However, the driver can be convinced that it owns the request, since the cancellation is (intended to be) asynchronous. The WARN_ON() in the netdev notifier was meant to catch this, but it's not actually avoidable, so it triggers and we get a UAF in scan_done(). There doesn't seem to be a great way around it, so just track that the driver is still convinced it owns the request, and then just free it on completion if it was already cancelled. Also remove the warnings since they can trigger in the intended architecture.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.18.54, 7.2.8, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98341 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to resolve a use-after-free vulnerability in the WiFi cfg80211 subsystem that occurs when network interfaces go down during active scans. Apply the stable kernel patches: version 6.18.54 or later for the 6.18 branch, 7.2.8 or later for the 7.2 branch, or 7.3+ for mainline. Most users should update within their current kernel branch via their distribution's package manager rather than jumping to a newer major version.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Compare against fixed versions: kernel 6.18.54+, 7.2.8+, or 7.3+. If your version is earlier, you are vulnerable.
- Search system logs for WiFi scan-related crashes: grep -i 'cfg80211\|wifi\|scan' /var/log/kern.log | grep -i 'UAF\|use.after.free\|segfault'
- After patching, reboot and verify the new kernel: uname -r should show the updated version number
FAQ
What is CVE-2026-98341?
This is a use-after-free vulnerability in the Linux kernel's WiFi cfg80211 module that occurs when a network interface is brought down while a wireless scan is in progress, potentially causing a kernel crash or memory corruption.
Is CVE-2026-98341 being actively exploited?
No, there is no evidence of active exploitation in the wild, and no public exploits are available. This is a kernel stability issue rather than a remotely exploitable security flaw.
What versions of Kernel are affected by CVE-2026-98341?
Kernel versions prior to 6.18.54, 7.2.8, and 7.3 are affected. The exact older boundary is not specified in the advisory, but all modern kernel branches with the vulnerable cfg80211 code are at risk.
How do I check if my server is vulnerable to CVE-2026-98341?
Run `uname -r` to get your kernel version. If it is older than 6.18.54 (for 6.18.x), 7.2.8 (for 7.2.x), or 7.3 (mainline), you are vulnerable and should update immediately.
Does Defensia detect CVE-2026-98341?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98341 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98341. Free for 1 server.
Get started free