Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99295

published high CVSS 3.1 · 7.5

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

Published
16 Nov 2026, 09:59:22 UTC
Updated
23 Nov 2026, 08:01:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < d3d007b7f63310fb6f9bb4ed24d74c14ee34b0b6 · d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < af78baeacd731a98531eaa3103bfe03f147cffb7 · d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < ecc327edd96a65ac177379664cc0972d8a23dfa4 · d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < 558cb79cb242ce7ca8b32c4b39412d125879e8f2 · d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < 51efca72345acdbedc4af76782d464bd15ba50ff · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected; Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3477 Fixed Not stated Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Amazon Linux AL2023 kernel6.18aarch64 Listed in advisory Not stated ALAS2023-2026-3477
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Amazon Linux AL2023 kernel6.18src Listed in advisory Not stated ALAS2023-2026-3477
Amazon Linux AL2023 kernel6.18x86_64 Listed in advisory Not stated ALAS2023-2026-3477

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - cifs_demultiplex_thread reads an SMB2 READ response from the server TCP socket and calls cifs_readv_receive. The server fills smb2_read_rsp.DataOffset and DataLength, then closes the connection so sock_recvmsg inside cifs_read_iter_from_socket fails. Those response bytes are the attacker-controlled input, and SMB over TCP is a routable transport. AC:L - The server chooses DataOffset between 103 and 255 so that, after cifs_read_iter_from_socket returns -ECONNABORTED, the unsigned server->total_read += length stays below pdu_size and cifs_readv_receive calls cifs_readv_discard. cifs_reconnect invokes smb2_readv_callback and blocks in TCP connect before that return, so netfs_wait_for_in_progress frees rdata first. The peer produces every step. PR:N - The attacker is the SMB server. cifs_demultiplex_thread calls cifs_readv_receive on the READ response with no check of a client-side credential; session setup authenticated the client to the server, not the server to the client. No capability on the victim is required. UI:N - cifs_issue_read already has an SMB2 READ in flight for normal file I/O or readahead on the mounted share. The server answers that request and drops the socket; no further human action is required to reach cifs_readv_receive. S:U - The use-after-free is in the same client kernel that owns the mount and cifsd. It does not cross a guest/host, IOMMU, or other security boundary. C:N - The dangling use is a 4-byte read of cifs_io_subrequest.result in cifs_readv_discard, passed only as dequeue_mid's malformed flag. That value is not copied to userspace or written back to the socket, and mid_execute_callback has already cleared mid->callback so the freed object is not pointer-chased. I:N - cifs_readv_discard does not store through the freed rdata pointer. It may set mid->mid_state on the mid still referenced by cifsd, and __release_mid then frees that mid. smb2_readv_callback cannot run a second time because mid->callback is already NULL. A:H - KASAN reports a slab use-after-free in cifsd at the rdata->result read. cifs_discard_remaining_data then blocks in sock_recvmsg on the just-reconnected socket, retrying the 7-second rcvtimeo until server_unresponsive (three echo intervals) calls cifs_reconnect again, so the only demultiplex thread stops servicing the session and the server can repeat it.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < d3d007b7f63310fb6f9bb4ed24d74c14ee34b0b6 (affected · git)d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < af78baeacd731a98531eaa3103bfe03f147cffb7 (affected · git)d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < ecc327edd96a65ac177379664cc0972d8a23dfa4 (affected · git)d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < 558cb79cb242ce7ca8b32c4b39412d125879e8f2 (affected · git)d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to < 51efca72345acdbedc4af76782d464bd15ba50ff (affected · git)Default: unaffected Linux · cna
Linux Linux 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
f3956a63382d856a17778d6562ac7370b79beea7c71ad2e68c582c668d2e1b77
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected