CVE-2024-26954: Linux kernel · ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
Source GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 29 Oct 2026, 22:52 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
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().
References
- nvd.nist.gov/vuln/detail/CVE-2024-26954 (opens in a new tab)
- git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57 (opens in a new tab)
- git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178 (opens in a new tab)
- git.kernel.org/stable/c/9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72 (opens in a new tab)
- git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aa (opens in a new tab)
- git.kernel.org/stable/c/d70c2e0904ab3715c5673fd45788a464a246d1db (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)