{"id":"CVE-2026-99295","aliases":["CVE-2026-99295"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: stop processing a read response after a receive error","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-16T09:59:22.911Z","modified":"2026-11-23T08:17:34.067Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","fixed":"d3d007b7f63310fb6f9bb4ed24d74c14ee34b0b6","status":"affected"},{"type":"git","introduced":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","fixed":"af78baeacd731a98531eaa3103bfe03f147cffb7","status":"affected"},{"type":"git","introduced":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","fixed":"ecc327edd96a65ac177379664cc0972d8a23dfa4","status":"affected"},{"type":"git","introduced":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","fixed":"558cb79cb242ce7ca8b32c4b39412d125879e8f2","status":"affected"},{"type":"git","introduced":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","fixed":"51efca72345acdbedc4af76782d464bd15ba50ff","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d3d007b7f63310fb6f9bb4ed24d74c14ee34b0b6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af78baeacd731a98531eaa3103bfe03f147cffb7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ecc327edd96a65ac177379664cc0972d8a23dfa4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/558cb79cb242ce7ca8b32c4b39412d125879e8f2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51efca72345acdbedc4af76782d464bd15ba50ff","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99295","url":"https://www.cve.org/CVERecord?id=CVE-2026-99295","licence":"CVE Terms of Use","modified":"2026-11-23T08:01:00.109Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99295","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99295","licence":"Public domain","modified":"2026-11-23T08:17:34.067Z"}],"updatedAt":"2026-11-25T22:59:50.848Z","epss":{"score":0.00468,"percentile":0.42159,"date":"2026-12-01T12:00:22.000Z"}}