CVE-2026-98311·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: virt_wifi: don't transfer operstate before register virt_wifi_newlink() calls netif_stacked_transfer_operstate() before register_netdevice(). If the lower device is dormant, that queues the new netdev on lweventlist while it is still uninitialized. If registration fails after that, for example because of an invalid name such as "bad/name", free_netdev() immediately frees the object. A later linkwatch_fire_event() then use-after-frees the list entry. Move the transfer to after netdev_upper_dev_link(), as macvlan and ipvlan already do.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 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.14% — higher than 3% 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-98311 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.14%, 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 a patched version to resolve a use-after-free vulnerability in the virtual WiFi driver that occurs when device registration fails. If you are running kernel 5.10, 5.15, 6.1, 6.6, 6.12, 6.18, or 7.2, update to the corresponding fixed release (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, or 7.2.8 respectively). Most users should obtain the patched kernel through their distribution's package manager rather than building from source.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if virt_wifi module is loaded: lsmod | grep virt_wifi
- Review kernel logs for use-after-free warnings: sudo dmesg | grep -i 'use-after-free\|uaf\|virt_wifi'
- Confirm the patch was applied by checking if your kernel version matches the fixed versions listed above
FAQ
What is CVE-2026-98311?
This vulnerability is a use-after-free condition in the Linux kernel's virtual WiFi driver that can be triggered during the network device registration process when invalid parameters are supplied or registration fails, potentially leading to memory corruption and system instability.
Is CVE-2026-98311 being actively exploited?
No, this vulnerability is not listed in the CISA KEV catalog and there are no known public exploits available, though it remains a high-severity issue that should be patched.
What versions of Kernel are affected by CVE-2026-98311?
Kernel versions prior to 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8, and 7.3-mainline are vulnerable; the specific affected range depends on which stable branch you are using.
How do I check if my server is vulnerable to CVE-2026-98311?
Run 'uname -r' to get your kernel version, then compare it against the fixed versions; if your version is older than the patched release for your branch, you are vulnerable.
Does Defensia detect CVE-2026-98311?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98311 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/293c56a66510bb7de073a1aba388e38abddff1fb
- https://git.kernel.org/stable/c/9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225
- https://git.kernel.org/stable/c/b808a9af5fd21f9c68b0d024eda7535b5dce6a4e
- https://git.kernel.org/stable/c/ca49763c42c1089d654bf11b037980a9ede3772c
- https://git.kernel.org/stable/c/e5c8d7acd31b27057ea42cd405d0b3ece097bc89
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98311. Free for 1 server.
Get started free