CVE
CVE-2024-26980
CNA 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().
Affected versions
All Linux kernel vulnerabilities →
- 6.9-rc5This version only
- 6.9-rc4This version only
- 6.9-rc3This version only
- 6.9-rc2This version only
- 6.9-rc1This version only
- ≥ 6.7, < 6.8.8Fixed in 6.8.8
- ≥ 6.2, < 6.6.29Fixed in 6.6.29
- ≥ 5.16, < 6.1.88Fixed in 6.1.88
- ≥ 5.15, < 5.15.159Fixed in 5.15.159
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- 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
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.