CVE-2026-99295
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.
Timeline
- 2026-11-16Published by the CNA09:59 UTC
- 2026-11-16Published in NVD10:17 UTC · 17 minutes after the CNA
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux | ||
| linux linux_kernel | from 6.3 before 6.12.117fixed in 6.12.117from 6.3 before 6.18.61fixed in 6.18.61from 6.3 before 7.3.2fixed in 7.3.2from 6.3 before 7.4-rc1fixed in 7.4-rc1 | 6.12.1176.18.617.3.27.4-rc1 |
References
- https://git.kernel.org/stable/c/51efca72345acdbedc4af76782d464bd15ba50ff
- https://git.kernel.org/stable/c/558cb79cb242ce7ca8b32c4b39412d125879e8f2
- https://git.kernel.org/stable/c/af78baeacd731a98531eaa3103bfe03f147cffb7
- https://git.kernel.org/stable/c/ecc327edd96a65ac177379664cc0972d8a23dfa4
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-99295'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-99295'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-99295'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-99295'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).