CVE-2024-26980

Source
https://cve.org/CVERecord?id=CVE-2024-26980
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26980.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-26980
Downstream
Related
Published
2024-05-01T05:26:56.744Z
Modified
2026-03-14T12:27:43.531124Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
Details

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix slab-out-of-bounds in smb2allocatersp_buf

If ->ProtocolId is SMB2TRANSFORMPROTONUM, smb2 request size validation could be skipped. if request size is smaller than sizeof(struct smb2queryinforeq), slab-out-of-bounds read can happen in smb2allocaterspbuf(). This patch allocate response buffer after decrypting transform request. smb3decryptreq() will validate transform request size and avoid slab-out-of-bound in smb2allocaterspbuf().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26980.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0626e6641f6b467447c81dd7678a69c66f7746cf
Fixed
da21401372607c49972ea87a6edaafb36a17c325
Fixed
b80ba648714e6d790d69610cf14656be222d0248
Fixed
3160d9734453a40db248487f8204830879c207f1
Fixed
0977f89722eceba165700ea384f075143f012085
Fixed
c119f4ede3fa90a9463f50831761c28f989bfb20

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26980.json"