← Back to CVEs
CVE-2024-26980
MEDIUM5.5
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().
CVE Details
CVSS v3.1 Score5.5
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published5/1/2024
Last Modified11/4/2025
Sourcenvd
Honeypot Sightings0
Affected Products
linux:linux_kernel
Weaknesses (CWE)
CWE-125
References
https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085(416baaa9-dc9f-4396-8d5f-8c081fb06d67)
https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1(416baaa9-dc9f-4396-8d5f-8c081fb06d67)
https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248(416baaa9-dc9f-4396-8d5f-8c081fb06d67)
https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20(416baaa9-dc9f-4396-8d5f-8c081fb06d67)
https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325(416baaa9-dc9f-4396-8d5f-8c081fb06d67)
https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085(af854a3a-2127-422b-91ae-364da2661108)
https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1(af854a3a-2127-422b-91ae-364da2661108)
https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248(af854a3a-2127-422b-91ae-364da2661108)
https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20(af854a3a-2127-422b-91ae-364da2661108)
https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325(af854a3a-2127-422b-91ae-364da2661108)
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/(af854a3a-2127-422b-91ae-364da2661108)
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/(af854a3a-2127-422b-91ae-364da2661108)
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.