Vulnerabilities · 2025 · Linux
CVE-2025-22037
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference in alloc_preauth_hash() The Client send malformed smb2 negotiate request. ksmbd return error response. Subsequently, the client can send smb2 session setup even thought conn->preauth_info is not allocated. This patch add KSMBD_SESS_NEED_SETUP status of connection to ignore session setup request if smb2 negotiate phase is not complete.
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/8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d · Patch
- git.kernel.org/stable/c/b8eb243e670ecf30e91524dd12f7260dac07d335 · Patch
- git.kernel.org/stable/c/c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780 · Patch
- git.kernel.org/stable/c/ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad · Patch
- git.kernel.org/stable/c/cce57cd8c5dead24127cf2308fdd60fcad2d6ba6
- www.zerodayinitiative.com/advisories/ZDI-25-310/
- git.kernel.org/stable/c/2d3461d6ae74ebdcd4d65128c855198649bcadcd
- nvd.nist.gov/vuln/detail/CVE-2025-22037
- cve.org/CVERecord?id=CVE-2025-22037
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.