AI description
CVE-2025-22037 is a vulnerability in the Linux kernel, specifically within the ksmbd subsystem. It stems from a null pointer dereference in the `alloc_preauth_hash()` function. The vulnerability can be triggered when a client sends a malformed SMB2 negotiate request, and the ksmbd server returns an error response. Subsequently, the client can send an SMB2 session setup request even though `conn->preauth_info` is not allocated. This leads to a null pointer dereference. An unauthenticated, remote attacker can exploit this flaw to cause a system crash or hang.
- 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.
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Products
- linux_kernel
CVSS 3.1
- Type
- Primary
- Base score
- 5.5
- Impact score
- 3.6
- Exploitability score
- 1.8
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Severity
- MEDIUM
- nvd@nist.gov
- CWE-476
- Hype score
- Not currently trending
#exploit #Kernel_Security 1. CVE-2025-22056: The tragedy of Netfilter Tunnel - https://t.co/YsrT8m5Ksx 2. CVE-2023-52922: UaF in CAN BCM subsystem leading to information disclosure - https://t.co/70ehMbC8OP 3. CVE-2025-22037: Remote NULL Deref in Linux KSMBD -
@ksg93rd
5 Jul 2025
2142 Impressions
12 Retweets
49 Likes
24 Bookmarks
0 Replies
0 Quotes
CVE-2025-22037 In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference in alloc_preauth_hash() The Client send malformed smb2 negot… https://t.co/haEknn7D4c
@CVEnew
19 Apr 2025
185 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "17B5E5A5-D687-44D7-9EFF-19633C9746A3",
"versionEndExcluding": "6.12.23"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E7E864B0-8C00-4679-BA55-659B4C9C3AD3",
"versionEndExcluding": "6.13.11",
"versionStartIncluding": "6.13"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FADAE5D8-4808-442C-B218-77B2CE8780A0",
"versionEndExcluding": "6.14.2",
"versionStartIncluding": "6.14"
}
],
"operator": "OR"
}
]
}
]