CVE-2026-99295

Source
https://cve.org/CVERecord?id=CVE-2026-99295
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99295.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99295
Downstream
Published
2026-11-16T09:59:22Z
Modified
2026-11-17T02:46:47Z
Summary
smb: client: stop processing a read response after a receive error
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99295.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d08089f649a0cfb2099c8551ac47eef0cc23fdf2
Fixed
af78baeacd731a98531eaa3103bfe03f147cffb7
Fixed
ecc327edd96a65ac177379664cc0972d8a23dfa4
Fixed
558cb79cb242ce7ca8b32c4b39412d125879e8f2
Fixed
51efca72345acdbedc4af76782d464bd15ba50ff

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99295.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99295.json"