CVE-2026-98261
High · 8.1CVSS
8.1
EPSS
0.4%
Published
Oct 6, 2026
CISA due date
—
Cloudanix analysis
A bug in the Linux kernel's network file sharing code could let attackers crash servers or take them over if they can reach the file share connection.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Use-after-free in cifs_chan_skip_or_disable() where cifs_put_tcp_session() can free the channel and primary_server structures before subsequent accesses via cifs_signal_cifsd_for_reconnect() and primary_server pointer reads, enabling kernel memory corruption.
Why it matters to the business
Potential kernel crashes or arbitrary code execution on systems using CIFS/SMB network file shares, leading to denial of service, data exposure, or full host compromise; low immediate risk given absence from known exploited lists and stable low exploit probability.
How an attack unfolds
An attacker with network access to a CIFS server manipulates secondary channel teardown conditions to trigger the vulnerable function, causing the kernel to reference freed memory structures during reconnect signaling and enabling memory corruption primitives for privilege escalation.
How to fix it
Apply the upstream kernel patch that reorders signaling and pointer capture before the cifs_put_tcp_session() call; update to a fixed kernel version containing the resolution for this CIFS channel handling flaw.
How to confirm the fix worked
Verify the presence of the reordered signaling logic in cifs_chan_skip_or_disable() within the kernel source or confirm the system is running a kernel build dated after the published fix; test CIFS multi-channel teardown scenarios under load.
Typical attack path
- Establish CIFS connection with multiple channels to a controlled or compromised server
- Trigger server-side conditions that mark a secondary channel as unsupported
- Force execution of cifs_chan_skip_or_disable() to drop references prematurely
- Reuse dangling pointers to freed channel or primary_server objects
- Achieve memory corruption leading to code execution or crash
How to detect it
Search kernel logs and audit trails for unexpected CIFS channel teardown events followed by oops, panic, or use-after-free warnings; correlate with SMB connection resets on multi-channel setups.
What your security team should do
- Prioritize kernel updates for all systems exposing CIFS mounts within standard patching cycles
- Monitor upstream stable kernel releases for backports of this fix
- Restrict CIFS multi-channel usage to trusted networks until patched
- Review EPSS and KEV status periodically for any change in exploitation likelihood
The record
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().
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|