CVE-2024-26954: ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
Vulnerability summary
CVE-2024-26954 is a high (CVSS 8.1) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 53.1% of scored vulnerabilities.
Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 5Timeline
- 01-05-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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().
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HDiffers
- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HDiffers
EPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.70% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu106 products
- linuxAll versions (No fix recorded) | < 6.8.0-35.35
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1009.9
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < d70c2e0904ab3715c5673fd45788a464a246d1db | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3b8da67191e938a63d2736dabb4ac5d337e5de57 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 4f97e6a9d62cb1fce82fbf4baff44b83221bc178 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < a80a486d72e20bd12c335bcd38b6e6f19356b0aa | 5.15
- linux_kernel≥ 5.15, < 6.1.119 | ≥ 6.2, < 6.7.12 | ≥ 6.8, < 6.8.3
Debian1 product
- linux< 6.1.119-1 | < 6.7.12-1
3 vendors · 109 products