Vulnerabilities · 2025 · Linux
CVE-2025-21946
Linux Kernel vulnerability
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
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1 · Patch
- git.kernel.org/stable/c/6a9831180d0b23b5c97e2bd841aefc8f82900172 · Patch
- git.kernel.org/stable/c/c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b · Patch
- git.kernel.org/stable/c/d6e13e19063db24f94b690159d0633aaf72a0f03 · Patch
- git.kernel.org/stable/c/f4ee19528664777af8b842f8f001be98345aa973
- nvd.nist.gov/vuln/detail/CVE-2025-21946
- cve.org/CVERecord?id=CVE-2025-21946
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.