CVE-2024-26954
Last modified
CVE-2024-26954 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() If ->NameOffset of smb2_create_req is smaller than Buffer offset of smb2_create_req, slab-out-of-bounds read can happen from smb2_open. This patch set the minimum value of the name offset to the buffer offset to validate name length of smb2_create_req().. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() If ->NameOffset of smb2_create_req is smaller than Buffer offset of smb2_create_req, slab-out-of-bounds read can happen from smb2_open. This patch set the minimum value of the name offset to the buffer offset to validate name length of smb2_create_req().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 6.1.119 |
| Linux | Linux Kernel | >= 6.2, < 6.7.12 |
| Linux | Linux Kernel | >= 6.8, < 6.8.3 |
References
- https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57Mailing List, Patch
- https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178Mailing List, Patch
- https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aaMailing List, Patch
- https://git.kernel.org/stable/c/d70c2e0904ab3715c5673fd45788a464a246d1dbMailing List, Patch
- https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57Mailing List, Patch
- https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178Mailing List, Patch
- https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aaMailing List, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-26954?
How severe is CVE-2024-26954?
How do I fix CVE-2024-26954?
Are you affected by CVE-2024-26954?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
