Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 6.6.83 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1Patch
- https://git.kernel.org/stable/c/6a9831180d0b23b5c97e2bd841aefc8f82900172Patch
- https://git.kernel.org/stable/c/c1569dbbe2d43041be9f3fef7ca08bec3b66ad1bPatch
- https://git.kernel.org/stable/c/d6e13e19063db24f94b690159d0633aaf72a0f03Patch
- https://git.kernel.org/stable/c/f4ee19528664777af8b842f8f001be98345aa973
FAQ
What is CVE-2025-21946?
CVE-2025-21946 is a vulnerability with a CVSS score of 7.1 (HIGH). 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. ...
How severe is CVE-2025-21946?
CVE-2025-21946 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-21946?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.