CVE-2025-22037
ksmbd: fix null pointer dereference in alloc_preauth_hash()
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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 for the CVE license. View the record on cve.org
Key data
CVSS 3.1 High 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
| 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.
EPSS
- Score
- 0.68758 (68.8% probability)
- Percentile
- 99.4%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
Affected products
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
- git.kernel.org/stable/c/2d3461d6ae74ebdcd4d65128c855198649b…
- git.kernel.org/stable/c/cce57cd8c5dead24127cf2308fdd60fcad2…
- git.kernel.org/stable/c/ca8bed31edf728a662ef9d6f39f50e7a7dc…
- git.kernel.org/stable/c/8f216b33a5e1b3489c073b1ea1b3d7cb63c…
- git.kernel.org/stable/c/b8eb243e670ecf30e91524dd12f7260dac0…
- git.kernel.org/stable/c/c8b5b7c5da7d0c31c9b7190b4a7bba5281f…
- zerodayinitiative.com/advisories/ZDI-25-310
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
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, 19:52 UTC. Sources and licenses