High severity8.2NVD Advisory· Published May 1, 2024· Updated Aug 4, 2026
CVE-2024-26980
CVE-2024-26980
Description
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
If ->ProtocolId is SMB2_TRANSFORM_PROTO_NUM, smb2 request size validation could be skipped. if request size is smaller than sizeof(struct smb2_query_info_req), slab-out-of-bounds read can happen in smb2_allocate_rsp_buf(). This patch allocate response buffer after decrypting transform request. smb3_decrypt_req() will validate transform request size and avoid slab-out-of-bound in smb2_allocate_rsp_buf().
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
9cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 7 more
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.15,<5.15.159
- cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
- (no CPE)
- (no CPE)range: 5.15
Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085nvdPatch
- git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1nvdPatch
- git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248nvdPatch
- git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20nvdPatch
- git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325nvdPatch
- lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/nvd
- lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/nvd
- lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/nvd
News mentions
0No linked articles in our index yet.