CVE-2026-99295
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:
Return the socket error immediately, as this path did before the iterator conversion. This also avoids adding a negative length to total_read.
Technical details traces, logs and code from the original report
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)
Timeline
Built from our own data: NVD, CISA KEV and other exploitation catalogues, FIRST EPSS, public exploits, specialised media and Orbitaley coverage.
- CVE record published in NVD
Affected technologies (1)
⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.
NVD record
- NVD status
- Received
- Published
- Nov 16, 2026
- Last modified
- Nov 16, 2026
- CVSS
- NVD hasn't assigned a CVSS score to this CVE (common since the April 2026 policy change).
References
Raw JSON (NVD)
Show
{
"id": "CVE-2026-99295",
"cveTags": [],
"metrics": {},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "d08089f649a0cfb2099c8551ac47eef0cc23fdf2",
"lessThan": "af78baeacd731a98531eaa3103bfe03f147cffb7",
"versionType": "git"
},
{
"status": "affected",
"version": "d08089f649a0cfb2099c8551ac47eef0cc23fdf2",
"lessThan": "ecc327edd96a65ac177379664cc0972d8a23dfa4",
"versionType": "git"
},
{
"status": "affected",
"version": "d08089f649a0cfb2099c8551ac47eef0cc23fdf2",
"lessThan": "558cb79cb242ce7ca8b32c4b39412d125879e8f2",
"versionType": "git"
},
{
"status": "affected",
"version": "d08089f649a0cfb2099c8551ac47eef0cc23fdf2",
"lessThan": "51efca72345acdbedc4af76782d464bd15ba50ff",
"versionType": "git"
}
],
"programFiles": [
"fs/smb/client/transport.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.3"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.3",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver",
"lessThanOrEqual": "7.3.*"
},
{
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/smb/client/transport.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2026-11-16T10:17:02.403",
"references": [
{
"url": "https://git.kernel.org/stable/c/51efca72345acdbedc4af76782d464bd15ba50ff",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/558cb79cb242ce7ca8b32c4b39412d125879e8f2",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/af78baeacd731a98531eaa3103bfe03f147cffb7",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ecc327edd96a65ac177379664cc0972d8a23dfa4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Received",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: stop processing a read response after a receive error\n\ncifs_read_iter_from_socket() may call cifs_reconnect() before returning an\nerror. The reconnect path aborts pending mids and invokes their callbacks.\nThe callback can then release the cifs_io_subrequest containing rdata.\n\ncifs_readv_receive() nevertheless continues after a negative return and may\ndereference rdata in cifs_readv_discard(). KASAN reports the resulting\nUAF:\n\n BUG: KASAN: slab-use-after-free in cifs_readv_receive\n Read of size 4 by task cifsd\n cifs_readv_receive (fs/smb/client/transport.c:1284)\n cifs_demultiplex_thread (fs/smb/client/connect.c:1355)\n kthread (kernel/kthread.c:436)\n ret_from_fork (arch/x86/kernel/process.c:158)\n\n Freed by task 148:\n netfs_put_subrequest (fs/netfs/objects.c:267)\n netfs_read_collection (fs/netfs/read_collect.c:460)\n netfs_wait_for_in_progress (fs/netfs/misc.c:462)\n\nReturn the socket error immediately, as this path did before the iterator\nconversion. This also avoids adding a negative length to total_read."
}
],
"lastModified": "2026-11-16T10:17:02.403",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}