CVE-2024-26954ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
- 8.1HighCVSS base score
- 0.70%Exploitation in 30 daysEPSS · top 46% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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().
Timeline
ID reserved
By Linux
- 2 months later
· 2 months later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.70% · top 46% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < d70c2e0904ab3715c5673fd45788a464a246d1db
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 3b8da67191e938a63d2736dabb4ac5d337e5de57
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 4f97e6a9d62cb1fce82fbf4baff44b83221bc178
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < a80a486d72e20bd12c335bcd38b6e6f19356b0aa
- affected 5.15
- unaffected < 5.15
- unaffected 6.1.119 – ≤ 6.1.*
- unaffected 6.6.32 – ≤ 6.6.*
- unaffected 6.7.12 – ≤ 6.7.*
- unaffected 6.8.3 – ≤ 6.8.*
- unaffected 6.9 – ≤ *
References
References6
- https://git.kernel.org/stable/c/d70c2e0904ab3715c5673fd45788a464a246d1db (opens in a new tab)
- https://git.kernel.org/stable/c/9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72 (opens in a new tab)
- https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aa (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-24216 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-26954)Record last updated .