CVE-2025-22037 Details
Description
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.
A null pointer dereference vulnerability has been identified in the Linux kernel's ksmbd component. This issue arises when a client sends a malformed SMB2 negotiate request, which ksmbd responds to with an error. However, the client can then send an SMB2 session setup request even though the connection's preauthentication information has not been allocated. The vulnerability has been addressed by modifying the session management to ignore session setup requests if the SMB2 negotiate phase is not yet complete.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2d3461d6ae74ebdcd4d65128c855198649bcadcd | kernel.org | |
| https://git.kernel.org/stable/c/8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d | kernel.org | Patch |
| https://git.kernel.org/stable/c/b8eb243e670ecf30e91524dd12f7260dac07d335 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad | kernel.org | Patch |
| https://git.kernel.org/stable/c/cce57cd8c5dead24127cf2308fdd60fcad2d6ba6 | kernel.org | Patch |
| https://www.zerodayinitiative.com/advisories/ZDI-25-310/ | kernel.org | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.6.107 >= 6.12, < 6.12.23 >= 6.13, < 6.13.11 >= 6.14, < 6.14.2 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Oct 8, 2026 | Modified Analysis | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Sep 19, 2025 | CVE Modified | kernel.org |
| Aug 9, 2025 | CVE Modified | kernel.org |
| Apr 29, 2025 | Initial Analysis | [email protected] |
| Apr 16, 2025 | New CVE Received | kernel.org |