CVE-2024-26954 Details
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().
A slab-out-of-bounds vulnerability has been identified in the Linux kernel's ksmbd component, specifically within the smb_strndup_from_utf16() function. This issue arises when the NameOffset of the smb2_create_req is smaller than the Buffer offset, leading to a potentially exploitable out-of-bounds read from smb2_open. The vulnerability affects several versions of the Linux kernel, including 6.1, 6.4, and 6.5, as well as the 6.1 backport in Debian 11.
Users can upgrade to Linux kernel version 6.1.119-1~deb11u1 to address this vulnerability. Instructions for installing this version are available on the Debian LTS website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72 | kernel.org | |
| https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aa | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/d70c2e0904ab3715c5673fd45788a464a246d1db | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57 | CVE | Mailing ListPatch |
| https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178 | CVE | Mailing ListPatch |
| https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aa | CVE | Mailing ListPatch |
| https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 6.1.119 >= 6.2, < 6.7.12 >= 6.8, < 6.8.3 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 11, 2025 | CVE Modified | kernel.org |
| Mar 4, 2025 | Initial Analysis | [email protected] |
| Dec 2, 2024 | CVE Modified | kernel.org |
| Nov 21, 2024 | CVE Modified | CVE |
| May 29, 2024 | CVE Modified | kernel.org |
| May 14, 2024 | CVE Modified | kernel.org |
| May 1, 2024 | New CVE Received | kernel.org |