NULL pointer dereference in Linux
CVE-2025-22037
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.688 · 99.4th percentile
- Published
- 2025-04-16
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.688, 99.4th percentile (last changed ); down from 0.695 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.695 · newest: 0.688 · change: -0.008
Affected products
- Linux — versions 0626e6641f6b467447c81dd7678a69c66f7746cf, 5.15, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, xairy/linux-kernel-exploitation). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/cce57cd8c5dead24127cf2308fdd60fcad2d6ba6 (Patch)
- git.kernel.org/stable/c/ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad (Patch)
- git.kernel.org/stable/c/8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d (Patch)
- git.kernel.org/stable/c/b8eb243e670ecf30e91524dd12f7260dac07d335 (Patch)
- git.kernel.org/stable/c/c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780 (Patch)
- www.zerodayinitiative.com/advisories/ZDI-25-310/ (Third Party Advisory)
- git.kernel.org/stable/c/2d3461d6ae74ebdcd4d65128c855198649bcadcd