CVE-2026-98112·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix listener task lifetime on netdev events The listener thread exits when its listening socket is shutdown. The netdevice notifier shuts down the socket before calling kthread_stop(), so the task_struct can be freed before kthread_stop() gets its reference. Create the listener in a stopped state and hold an extra task_struct reference until kthread_stop_put() completes. Also stop and release listeners before freeing their interface records during TCP teardown.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.2.7
- 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.1% — in the bottom 1% 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-98112 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, 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.
Affected versions
From: 6.19
Until: 7.2.7
Fixed in: 7.2.7
How to fix this CVE
Update your Linux kernel to version 7.2.7 or later to address a race condition in the ksmbd network subsystem that could lead to use-after-free vulnerabilities. This fix ensures proper lifecycle management of listener threads during network device events, preventing potential kernel crashes or privilege escalation through local access. Apply the patch immediately on systems running kernel versions 6.19 through 7.2.6.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — confirm if it falls within 6.19 to 7.2.6 range
- Verify ksmbd service is enabled: systemctl is-enabled ksmbd || grep -i ksmbd /boot/config-$(uname -r)
- Monitor kernel logs for listener thread crashes: sudo dmesg | grep -i 'ksmbd\|listener\|task_struct'
- After patching, confirm new kernel is loaded: uname -r and verify output shows 7.2.7 or later, then reboot if necessary
FAQ
What is CVE-2026-98112?
This vulnerability is a race condition in the Linux kernel's ksmbd (SMB3 server) component where network device events can cause premature thread termination, leading to a use-after-free condition when the kernel tries to clean up listener thread resources.
Is CVE-2026-98112 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though local privilege escalation is theoretically possible.
What versions of Kernel are affected by CVE-2026-98112?
Linux kernel versions 6.19 through 7.2.6 are vulnerable; version 7.2.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-98112?
Run 'uname -r' to see your kernel version — if it shows 6.19.x through 7.2.6, and ksmbd is enabled (check 'systemctl status ksmbd' or grep ksmbd in /boot/config-*), your system is vulnerable.
Does Defensia detect CVE-2026-98112?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98112 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-98112. Free for 1 server.
Get started free