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().
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 20.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux | < 6.8.0-38.38 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-aws | < 6.8.0-1011.12 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws-5.15 | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws-6.5 | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure | < any | UNKNOWN |
git.kernel.org/linus/c119f4ede3fa90a9463f50831761c28f989bfb20 (6.9-rc6)
git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085
git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1
git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248
git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20
launchpad.net/bugs/cve/CVE-2024-26980
nvd.nist.gov/vuln/detail/CVE-2024-26980
security-tracker.debian.org/tracker/CVE-2024-26980
ubuntu.com/security/notices/USN-6893-1
ubuntu.com/security/notices/USN-6893-2
ubuntu.com/security/notices/USN-6893-3
ubuntu.com/security/notices/USN-6918-1
www.cve.org/CVERecord?id=CVE-2024-26980