Skip to main content

Linux ksmbd CVE-2026-53383

| EUVDEUVD-2026-45505 HIGH
NULL Pointer Dereference (CWE-476)
2026-07-19 Linux GHSA-pgwm-2698-9pp5
7.5
CVSS 3.1 · Vendor: Linux
Share

Severity by source

Vendor (Linux) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
7.5 HIGH

Pre-auth NTLM Type-1 blob creates the exploitable session so PR:N/UI:N, network-reachable SMB with a simple compound trigger gives AV:N/AC:L, and impact is a worker crash only (A:H, C/I:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jul 20, 2026 - 18:03 vuln.today
CVSS changed
Jul 20, 2026 - 15:22 NVD
7.5 (HIGH)
Patch available
Jul 19, 2026 - 14:17 EUVD
CVE Published
Jul 19, 2026 - 11:59 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 11:59 cve.org
HIGH 7.5

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: reject non-VALID session in compound request branch

smb2_check_user_session() takes a shortcut for any operation that is not the first in a COMPOUND request: it reuses work->sess (the session bound by the first operation) and validates only the SessionId, then returns "valid". It never re-checks work->sess->state == SMB2_SESSION_VALID, and a SessionId of 0xFFFFFFFFFFFFFFFF (ULLONG_MAX, the MS-SMB2 related-operation value) skips even the id comparison. The standalone path (ksmbd_session_lookup_all() plus the SESSION_SETUP state machine) does enforce the VALID state; the compound branch bypasses all of it.

A SESSION_SETUP carrying only an NTLM Type-1 (NtLmNegotiate) blob publishes a fresh SMB2_SESSION_IN_PROGRESS session whose sess->user is still NULL (->user is assigned later, by ntlm_authenticate()). Used as operation 1 of a COMPOUND with operation 2 = TREE_CONNECT (related, SessionId=ULLONG_MAX, \\host\IPC$), the tree-connect then runs on that IN_PROGRESS session and reaches ksmbd_ipc_tree_connect_request(), which dereferences user_name(sess->user) with sess->user == NULL (transport_ipc.c:687/701/704) -> remote NULL-pointer dereference and a kernel Oops that wedges the ksmbd worker for all clients.

Reject any non-first compound operation that lands on a session which is not SMB2_SESSION_VALID, mirroring the validity the standalone lookup path enforces. SESSION_SETUP itself legitimately runs on an IN_PROGRESS session, but it is never carried as a non-first compound operation, so multi-leg authentication is unaffected by this check.

AnalysisAI

Denial of service in the Linux kernel in-kernel SMB3 server (ksmbd) lets remote, unauthenticated clients crash the ksmbd worker via a crafted COMPOUND request. Because smb2_check_user_session() skips the SMB2_SESSION_VALID state check for non-first compound operations and treats a SessionId of 0xFFFFFFFFFFFFFFFF as automatically valid, a TREE_CONNECT chained onto a half-open session (created by an NTLM Type-1 negotiate blob, sess->user still NULL) reaches ksmbd_ipc_tree_connect_request() and dereferences a NULL pointer, wedging the worker for all clients. EPSS is low (0.23%, 13th percentile) and there is no public exploit identified at time of analysis.

Technical ContextAI

ksmbd is the Linux kernel's native SMB3 file-server module (an in-kernel alternative to userspace Samba) that speaks the MS-SMB2 protocol. The root cause is a NULL-pointer dereference (CWE-476) driven by an authentication/session-state validation bypass: SMB2 supports COMPOUND requests that batch multiple operations, where 'related' follow-on operations reuse the session bound by the first operation and, per MS-SMB2, signal this with the reserved SessionId ULLONG_MAX (0xFFFFFFFFFFFFFFFF). The standalone request path validates session state through ksmbd_session_lookup_all() plus the SESSION_SETUP state machine, but the compound shortcut in smb2_check_user_session() only checked the SessionId (and skipped even that when the id is ULLONG_MAX), never re-verifying work->sess->state SMB2_SESSION_VALID. A SESSION_SETUP carrying only an NTLM Type-1 (NtLmNegotiate) blob publishes a fresh SMB2_SESSION_IN_PROGRESS session whose ->user is still NULL until ntlm_authenticate() runs, so a related TREE_CONNECT to \host\IPC$ executes against that IN_PROGRESS session and dereferences user_name(sess->user) with sess->user NULL (transport_ipc.c:687/701/704). Per the CPE strings (cpe:2.3:a:linux:linux:*) the affected component is the mainline/stable Linux kernel ksmbd subsystem.

RemediationAI

Vendor-released patch: upgrade to a fixed stable kernel - 5.15.211, 6.1.177, 6.6.144, 6.12.95, 6.18.37, 7.0.14, 7.1.2, or mainline 7.2-rc1 or later - which adds the check rejecting any non-first compound operation landing on a session that is not SMB2_SESSION_VALID (upstream commits at https://git.kernel.org/stable/c/25ff12b82a376ff5c4583102a63d2456a6b9ebb9 and https://git.kernel.org/stable/c/fc578523a72cb8b329d32070b95898e81613cc3f; see also https://nvd.nist.gov/vuln/detail/CVE-2026-53383). If you cannot patch immediately, the highest-value compensating control is to stop exposing ksmbd: unload/disable the ksmbd module and use userspace Samba instead where feasible (trade-off: loss of the in-kernel server's performance), or firewall TCP/445 so only trusted management hosts can reach the SMB service (trade-off: breaks SMB access for any legitimate remote clients you filter out). Restricting network reach to authenticated management segments reduces but does not eliminate risk because the trigger occurs pre-authentication, so network-layer filtering - not SMB credentials - is the effective mitigation until the kernel is updated.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Share

CVE-2026-53383 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy