CVE-2026-99295

smb: client: stop processing a read response after a receive error

7.5 high EPSS 0.61%

Published 16 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99295

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-99295 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:

smb: client: stop processing a read response after a receive error

cifs_read_iter_from_socket() may call cifs_reconnect() before returning an error. The reconnect path aborts pending mids and invokes their callbacks. The callback can then release the cifs_io_subrequest containing rdata.

cifs_readv_receive() nevertheless continues after a negative return and may dereference rdata in cifs_readv_discard(). KASAN reports the resulting UAF:

BUG: KASAN: slab-use-after-free in cifs_readv_receive Read of size 4 by task cifsd cifs_readv_receive (fs/smb/client/transport.c:1284) cifs_demultiplex_thread (fs/smb/client/connect.c:1355) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158)

Freed by task 148: netfs_put_subrequest (fs/netfs/objects.c:267) netfs_read_collection (fs/netfs/read_collect.c:460) netfs_wait_for_in_progress (fs/netfs/misc.c:462)

Return the socket error immediately, as this path did before the iterator conversion. This also avoids adding a negative length to total_read.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
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 none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, before d3d007b7f63310fb6f9bb4ed24d74c14ee34b0b6
affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, before af78baeacd731a98531eaa3103bfe03f147cffb7
affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, before ecc327edd96a65ac177379664cc0972d8a23dfa4
affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, before 558cb79cb242ce7ca8b32c4b39412d125879e8f2
affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, before 51efca72345acdbedc4af76782d464bd15ba50ff
Other versions: unaffected
Linux
affected 6.3
unaffected before 6.3
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.61 up to and including 6.18.*
unaffected from 7.3.2 up to and including 7.3.*
unaffected 7.4-rc1 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-99295 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99295

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-99295
trivy image --scanners vuln IMAGE | grep CVE-2026-99295

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-99295 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.