What’s Vulnerable › Vulnerabilities

CVE-2025-21946: ksmbd: fix out-of-bounds in parse_sec_desc()

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.19, 6.13.7, 6.6.83. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21946 or the next vulnerability affects your stack