CVE-2026-98175·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: smb: client: cancel reconnect work in clean_demultiplex_info() clean_demultiplex_info() cancels server->echo delayed work but not server->reconnect, which can cause a use-after-free when the demultiplex thread exits while a reconnect work is still queued: cifs_demultiplex_thread() cifs_readv_from_socket() cifs_reconnect() __cifs_reconnect() cifs_queue_server_reconn() mod_delayed_work(cifsiod_wq, &server->reconnect, 0) clean_demultiplex_info() cancel_delayed_work_sync(&server->echo) // echo canceled // reconnect NOT canceled kfree_sensitive(server) // server freed ...later, on cifsiod_wq: smb2_reconnect_server() server->srv_count // UAF read of freed server Fix this by canceling server->reconnect delayed work in clean_demultiplex_info() before the server is freed, the same way cifs_put_tcp_session() already does.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3
- Published
How to fix this CVE
Update your Linux kernel to patch a use-after-free vulnerability in the SMB client reconnection handler. Users should upgrade to kernel 6.6.158, 6.12.112, 6.18.54, 7.2.8, or 7.3 depending on their current kernel branch. Most users should obtain the patched kernel through their distribution's package manager rather than upgrading to mainline.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Compare against fixed versions (6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3+); if version is earlier, system may be vulnerable
- Search system logs for CIFS/SMB reconnection errors: grep -i 'cifs\|smb.*reconnect' /var/log/kern.log /var/log/messages
- After patching, verify new kernel is running: uname -r and confirm version matches or exceeds the fixed release for your branch
FAQ
What is CVE-2026-98175?
This vulnerability exists in the Linux kernel's SMB client when the demultiplex thread exits prematurely while a reconnection task is still queued, leading to a use-after-free condition that can crash the system or allow memory corruption.
Is CVE-2026-98175 being actively exploited?
No, this CVE is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are available.
What versions of Kernel are affected by CVE-2026-98175?
All kernel versions prior to 6.6.158 (6.6.x branch), 6.12.112 (6.12.x branch), 6.18.54 (6.18.x branch), 7.2.8 (7.2.x branch), and 7.3 (mainline) are affected.
How do I check if my server is vulnerable to CVE-2026-98175?
Run `uname -r` to retrieve your kernel version, then compare against the fixed versions listed above. If your version is earlier than the corresponding fix for your branch, you are vulnerable.
Does Defensia detect CVE-2026-98175?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98175 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/180380272f116dbd2b0354c5c7872e112e519149
- https://git.kernel.org/stable/c/2e5103e11a17c274715dd56cf185eeedccf686b8
- https://git.kernel.org/stable/c/7ab9ceedd860216fb97f2d8574cbe58b8906f42a
- https://git.kernel.org/stable/c/c65eae6f61d1778ff7a82e4aae4080e26f486af1
- https://git.kernel.org/stable/c/e3f6a779433d13aafb5edab59e4f9313051e8a52
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98175. Free for 1 server.
Get started free