CVE-2025-21946
ksmbd: fix out-of-bounds in parse_sec_desc()
Reported by linux · Published April 1, 2025
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out-of-bounds in parse_sec_desc() If osidoffset, gsidoffset and dacloffset could be greater than smb_ntsd struct size. If it is smaller, It could cause slab-out-of-bounds. And when validating sid, It need to check it included subauth array size.
EPSS 0.50% · 42.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.14, 6.13.7, 6.12.19, 6.6.83, 6.1.160 |
| Linux | Linux | d6e13e19063db24f94b690159d0633aaf72a0f03 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| Linux | Linux | 5.15, 0, 6.1.160 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
Timeline
- Apr 1, 2025 Coalition ESS Score (12 in total, the first dated here)
- Apr 1, 2025 CVE Published
- Apr 2, 2025 EPSS Score (30 in total, the first dated here)
- Dec 21, 2025 Security Advisory (258 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (232 in total, the first dated here)
- Oct 13, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21946
vulnetix vdb fixes CVE-2025-21946
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21946/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart