--- title: "CVE-2025-22037: ksmbd: fix null pointer dereference… | CubePath" description: "In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference in alloc_preauth_hash() The Client send malformed…" language: en source: https://cubepath.com/security/cve/CVE-2025-22037 --- # CVE-2025-22037: ksmbd: fix null pointer dereference… | CubePath ## 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. Official description from the CVE record, published by Linux. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-22037) ## Key data ### CVSS 3.1 High 7.5 Score published by Linux in the CVE record. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | Metric | Value | What it means | | ---------------------- | --------- | ----------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No special conditions are needed. The attack can be repeated at will. | | Privileges required | None | No account or privileges are needed. | | User interaction | None | No action from any user is needed. | | Scope | Unchanged | The impact stays within the vulnerable component. | | Confidentiality impact | None | No effect on the secrecy of data. | | Integrity impact | None | No effect on the trustworthiness of data. | | Availability impact | High | Serious or total effect on availability. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.68758 (68.8% probability) Percentile 99.4% Scores of Nov 10, 2026 Model v2026.06.15 ## Affected products Products listed in the CVE record, as the CNA published them. - Linux - affected: 0626e6641f6b467447c81dd7678a69c66f7746cf up to before 2d3461d6ae74ebdcd4d65128c855198649bcadcd - affected: 0626e6641f6b467447c81dd7678a69c66f7746cf up to before cce57cd8c5dead24127cf2308fdd60fcad2d6ba6 - affected: 0626e6641f6b467447c81dd7678a69c66f7746cf up to before ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad - affected: 0626e6641f6b467447c81dd7678a69c66f7746cf up to before 8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d - affected: 0626e6641f6b467447c81dd7678a69c66f7746cf up to before b8eb243e670ecf30e91524dd12f7260dac07d335 - affected: 0626e6641f6b467447c81dd7678a69c66f7746cf up to before c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780 - Linux - affected: 5.15 - unaffected: before 5.15 - unaffected: 6.1.191 up to 6.1.\* - unaffected: 6.6.107 up to 6.6.\* - unaffected: 6.12.23 up to 6.12.\* - unaffected: 6.13.11 up to 6.13.\* - unaffected: 6.14.2 up to 6.14.\* - unaffected: 6.15 up to \* ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [git.kernel.org/stable/c/2d3461d6ae74ebdcd4d65128c855198649b…](https://git.kernel.org/stable/c/2d3461d6ae74ebdcd4d65128c855198649bcadcd) - [git.kernel.org/stable/c/cce57cd8c5dead24127cf2308fdd60fcad2…](https://git.kernel.org/stable/c/cce57cd8c5dead24127cf2308fdd60fcad2d6ba6) - [git.kernel.org/stable/c/ca8bed31edf728a662ef9d6f39f50e7a7dc…](https://git.kernel.org/stable/c/ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad) - [git.kernel.org/stable/c/8f216b33a5e1b3489c073b1ea1b3d7cb63c…](https://git.kernel.org/stable/c/8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d) - [git.kernel.org/stable/c/b8eb243e670ecf30e91524dd12f7260dac0…](https://git.kernel.org/stable/c/b8eb243e670ecf30e91524dd12f7260dac07d335) - [git.kernel.org/stable/c/c8b5b7c5da7d0c31c9b7190b4a7bba5281f…](https://git.kernel.org/stable/c/c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780) - [zerodayinitiative.com/advisories/ZDI-25-310](https://www.zerodayinitiative.com/advisories/ZDI-25-310/) ## Timeline 1. ID reserved Dec 29, 2024 2. Record published Apr 16, 2025 3. Record last updated Oct 30, 2026 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:04 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)