CVEvulnerability
CVE-2025-21946
7.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2025-04-01
- Last modified
- 2026-07-30
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-125
Description
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.
Affected configurations
• linux linux kernel (>= 5.15 < 6.6.83)
• linux linux kernel (>= 6.7 < 6.12.19)
• linux linux kernel (>= 6.13 < 6.13.7)
• linux linux kernel 6.14
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://git.kernel.org/stable/c/159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1 Patch
- https://git.kernel.org/stable/c/6a9831180d0b23b5c97e2bd841aefc8f82900172 Patch
- https://git.kernel.org/stable/c/c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b Patch
- https://git.kernel.org/stable/c/d6e13e19063db24f94b690159d0633aaf72a0f03 Patch
- https://git.kernel.org/stable/c/f4ee19528664777af8b842f8f001be98345aa973 git.kernel.org