Shellfeed logo Shellfeed

CVE-2026-98261 · HIGH (CVSS 8.1)

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

EPSS: 0.4% probability of exploitation in the next 30 days (percentile 35.3).

Details

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 (CVSS 8.1) — vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [50e8363ecc85da49764781da90ebffe1a657b370 – 0338489960ddad6368bce55e8adbc176c523093d] [f591062bdbf4742b7f1622173017f19e927057b0 – edd52eae5fcfb8433b6bb0e7cd98db438fe01227] [6.6.15 – 6.6.158] [6.7.3 – 6.8] [d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4 – ?]
  • Linux Kernel [0 – 6.6.158] [6.7.0 – 6.12.112] [6.8.0 – 6.18.54] [6.13.0 – 7.2.8]

References