CVE-2026-98261

cifs: Fix server use-after-free in cifs_chan_skip_or_disable()

8.1 high EPSS 0.55%

Published 6 Oct 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98261

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98261 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Severity (CVSS)

8.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.55%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 39.8% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 50e8363ecc85da49764781da90ebffe1a657b370, before 0338489960ddad6368bce55e8adbc176c523093d
affected from f591062bdbf4742b7f1622173017f19e927057b0, before edd52eae5fcfb8433b6bb0e7cd98db438fe01227
affected from f591062bdbf4742b7f1622173017f19e927057b0, before fcc0a935bb6e37ecbf7e4335061309f896f35780
affected from f591062bdbf4742b7f1622173017f19e927057b0, before 7a1b27780b113583a94256d58dabfe7c0d9286e7
affected from f591062bdbf4742b7f1622173017f19e927057b0, before 717e0a25036b6c92cecace30913b2d874a4c22b8
affected d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4
affected from 6.6.15, before 6.6.158
affected from 6.7.3, before 6.8
Other versions: unaffected
Linux
affected 6.8
unaffected before 6.8
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.12.112 up to and including 6.12.*
unaffected from 6.18.54 up to and including 6.18.*
unaffected from 7.2.8 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98261 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98261

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98261
trivy image --scanners vuln IMAGE | grep CVE-2026-98261

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98261 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.