# CVE-2026-98261: cifs: Fix server use-after-free in cifs_chan_skip_or_disable()

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-10-06T08:45:25.361Z
- Modified: 2026-10-19T10:18:27.253Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 50e8363ecc85da49764781da90ebffe1a657b370 before 0338489960ddad6368bce55e8adbc176c523093d; from f591062bdbf4742b7f1622173017f19e927057b0 before edd52eae5fcfb8433b6bb0e7cd98db438fe01227; from f591062bdbf4742b7f1622173017f19e927057b0 before fcc0a935bb6e37ecbf7e4335061309f896f35780; from f591062bdbf4742b7f1622173017f19e927057b0 before 7a1b27780b113583a94256d58dabfe7c0d9286e7; from f591062bdbf4742b7f1622173017f19e927057b0 before 717e0a25036b6c92cecace30913b2d874a4c22b8; d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4; from 6.6.15 before 6.6.158; from 6.7.3 before 6.8; 6.8 (not affected: before 6.8; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-98261](https://www.cve.org/CVERecord?id=CVE-2026-98261), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98261](https://nvd.nist.gov/vuln/detail/CVE-2026-98261), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98261 · Whole record: https://cve.day/CVE-2026-98261.json · Rebuilt by cve.day 2026-11-25T22:59:42.307Z
