Vulnerability 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().
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 5.15.159 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085Patch
- https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1Patch
- https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248Patch
- https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20Patch
- https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325Patch
- https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085Patch
- https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1Patch
- https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248Patch
- https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20Patch
- https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325Patch
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://lists.fedoraproject.org/archives/list/[email protected]
FAQ
What is CVE-2024-26980?
CVE-2024-26980 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 c...
How severe is CVE-2024-26980?
CVE-2024-26980 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-26980?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.