CVE-2026-98261·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix server use-after-free in cifs_chan_skip_or_disable() When a secondary channel is no longer supported by the server, cifs_chan_skip_or_disable() drops the channel reference with cifs_put_tcp_session() and then continues to use the server pointer by calling cifs_signal_cifsd_for_reconnect() on it and reading its primary_server pointer. cifs_put_tcp_session() can drop the last reference of the channel and tear it down, so both the channel and the primary server (whose reference is also dropped by cifs_put_tcp_session()) can be freed before they are signaled for reconnect. Signal the channel and the primary server and capture the primary server pointer before dropping the channel reference with cifs_put_tcp_session().
- Severity
- high
- Software
- Kernel
- Fixed in
- 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.44% — higher than 37% 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-98261 scores 8.1 on CVSS, so a successful attack would be serious — but at 0.44%, 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 CIFS subsystem that affects SMB/CIFS network connections. Apply the appropriate stable kernel update for your distribution: 6.6.158 or later for 6.6.x, 6.12.112 or later for 6.12.x, 6.18.54 or later for 6.18.x, or 7.2.8 or later for 7.2.x branches. If your distribution offers a patched kernel package, installing that is the recommended path rather than upgrading to mainline.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with: uname -r
- Step 2: Verify if CIFS/SMB is in use by checking: lsmod | grep cifs or mount | grep cifs
- Step 3: Search kernel logs for CIFS channel errors: sudo dmesg | grep -i 'cifs.*channel' or sudo journalctl -u kernel | grep -i 'cifs.*channel'
- Step 4: After patching, confirm the updated version with: uname -r and verify it matches or exceeds the fixed release for your branch
FAQ
What is CVE-2026-98261?
This is a use-after-free vulnerability in the Linux kernel's CIFS subsystem. When a secondary SMB channel is no longer available, the kernel incorrectly accesses server objects after releasing their references, potentially leading to kernel crashes or privilege escalation on systems that rely on CIFS/SMB connections.
Is CVE-2026-98261 being actively exploited?
No, there are currently no known active exploits or public proof-of-concept code for this vulnerability, and it has not been added to CISA's Known Exploited Vulnerabilities catalog.
What versions of Kernel are affected by CVE-2026-98261?
The vulnerability affects multiple stable branches. Fixed versions are: 6.6.158+, 6.12.112+, 6.18.54+, 7.2.8+, and mainline 7.3+. Any version below these thresholds in their respective branches is vulnerable.
How do I check if my server is vulnerable to CVE-2026-98261?
Run: uname -r to see your kernel version, then compare it against the fixed versions above for your branch. Additionally, verify CIFS usage with: mount | grep cifs to determine if you're actually using the vulnerable subsystem.
Does Defensia detect CVE-2026-98261?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98261 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0338489960ddad6368bce55e8adbc176c523093d
- https://git.kernel.org/stable/c/717e0a25036b6c92cecace30913b2d874a4c22b8
- https://git.kernel.org/stable/c/7a1b27780b113583a94256d58dabfe7c0d9286e7
- https://git.kernel.org/stable/c/edd52eae5fcfb8433b6bb0e7cd98db438fe01227
- https://git.kernel.org/stable/c/fcc0a935bb6e37ecbf7e4335061309f896f35780
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98261. Free for 1 server.
Get started free