CVE-2026-99295
High 7.5No known exploitationFix availablesmb: client: stop processing a read response after a receive error
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 28% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 before af78baeacd731a98531eaa3103bfe03f147cffb7 | af78baeacd731a98531eaa3103bfe03f147cffb7 | CVE Program |
| Linux | Linux | from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 before ecc327edd96a65ac177379664cc0972d8a23dfa4 | ecc327edd96a65ac177379664cc0972d8a23dfa4 | CVE Program |
| Linux | Linux | from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 before 558cb79cb242ce7ca8b32c4b39412d125879e8f2 | 558cb79cb242ce7ca8b32c4b39412d125879e8f2 | CVE Program |
| Linux | Linux | from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 before 51efca72345acdbedc4af76782d464bd15ba50ff | 51efca72345acdbedc4af76782d464bd15ba50ff | CVE Program |
| Linux | Linux | 6.3 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.161.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.57-1.12.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.62-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.12.117 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.61 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.2 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc1 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 6.3 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/51efca72345acdbedc4af76782d464bd15ba50ff (opens in a new tab)
- https://git.kernel.org/stable/c/558cb79cb242ce7ca8b32c4b39412d125879e8f2 (opens in a new tab)
- https://git.kernel.org/stable/c/af78baeacd731a98531eaa3103bfe03f147cffb7 (opens in a new tab)
- https://git.kernel.org/stable/c/ecc327edd96a65ac177379664cc0972d8a23dfa4 (opens in a new tab)