Vulnerabilities · 2024 · Linux
CVE-2024-26980
Linux Kernel vulnerability
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().
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085 · Patch
- git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1 · Patch
- git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248 · Patch
- git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20 · Patch
- git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325 · Patch
- lists.fedoraproject.org/archives/list/[email protected]/message/4EZ
- lists.fedoraproject.org/archives/list/[email protected]/message/DAM
- lists.fedoraproject.org/archives/list/[email protected]/message/GCB
- nvd.nist.gov/vuln/detail/CVE-2024-26980
- cve.org/CVERecord?id=CVE-2024-26980
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.