Skip to main content

Linux ksmbd EUVDEUVD-2026-45505

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

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reach exposed ksmbd on TCP/445
  2. Delivery
    Send SESSION_SETUP with NTLM Type-1 blob
  3. Exploit
    Chain related TREE_CONNECT to IPC$ (SessionId=ULLONG_MAX)
  4. Install
    Tree-connect runs on IN_PROGRESS session
  5. C2
    NULL deref of sess->user in ipc_tree_connect
  6. Execute
    Kernel Oops wedges ksmbd worker
  7. Impact
    SMB service denied to all clients

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires that ksmbd (the in-kernel SMB server) is enabled and actively serving SMB, with the attacker able to reach it over the network (typically TCP/445). No credentials are needed (PR:N): the attacker only sends a SESSION_SETUP with an NTLM Type-1 (NtLmNegotiate) blob to create an SMB2_SESSION_IN_PROGRESS session, then chains a related TREE_CONNECT (to \host\IPC$, SessionId=0xFFFFFFFFFFFFFFFF) as the second leg of a single COMPOUND request. Limiting factors: the target must have ksmbd deployed (many Linux SMB servers run userspace Samba instead, so it is not a default-everywhere condition), the crash affects availability only (no data disclosure or code execution), and the attacker needs network line-of-sight to the SMB port - hosts where 445 is firewalled off from untrusted networks are not remotely exploitable.

Impact

The signals are internally consistent and point to a genuine but availability-only network DoS rather than a code-execution threat. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5 HIGH) reflects remote, unauthenticated, low-complexity triggering with no confidentiality or integrity impact - matching the description, since the malicious COMPOUND runs before authentication completes. EPSS is low at 0.23% (13th percentile) and the CVE is NOT on CISA KEV, so there is no evidence of active exploitation; no public exploit code is identified at time of analysis. The realistic priority is bounded by exposure: ksmbd must be built, enabled, and serving SMB (typically TCP/445) and reachable by the attacker. Where ksmbd is internet- or LAN-exposed this is a reliable single-packet-flow crash of a kernel worker affecting all clients, so it warrants prompt patching; where ksmbd is not deployed the practical risk is nil. No conflicting signals were found - the description's 'unauthenticated' framing agrees with PR:N, and the availability-only impact agrees with A:H/C:N/I:N. CWE is listed as N/A in the input but is clearly CWE-476 (NULL Pointer Dereference).

Exploit ScenarioDerived

An attacker who can reach an exposed ksmbd share on TCP/445 sends a single SMB2 SESSION_SETUP carrying only an NTLM Type-1 negotiate blob (creating an IN_PROGRESS session with no user), immediately followed in the same COMPOUND request by a related TREE_CONNECT to \host\IPC$ using SessionId 0xFFFFFFFFFFFFFFFF. The tree-connect runs on the half-open session, dereferences a NULL sess->user in ksmbd_ipc_tree_connect_request(), and Oopses the kernel worker, denying SMB service to all clients; no exploit code is publicly identified at time of analysis, but the sequence is straightforward to script given the low attack complexity.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 20, 2026

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.

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.

Affected VersionsENISA

Linux patch: 6.6.144
Linux 854156d12caa9d36de1cf5f084591c7686cc8a9d <fc578523a72cb8b329d32070b95898e81613cc3f
Linux patch: 0
Linux 6.1.36 <6.1.177
Linux patch: 7.0.14
Linux 5005bcb4219156f1bf7587b185080ec1da08518e <d2bbbb6c55812220fee5d801c275cc267ea3cbeb
Linux eb947403518ea3d93f6d89264bb1f5416bb0c7d0 <25ff12b82a376ff5c4583102a63d2456a6b9ebb9
Linux 5.15.121 <5.15.211
Linux 5005bcb4219156f1bf7587b185080ec1da08518e <8f0302fb691537d33ec8f668565257ea9d340ffe
Linux patch: 7.1.2
Linux patch: 6.1.177
Linux 5005bcb4219156f1bf7587b185080ec1da08518e <609ca17d869d04ba249e32cdcbf13c0b1c66f43c
Linux 6.3.10 <6.4
Linux 5005bcb4219156f1bf7587b185080ec1da08518e <7cad3ceaf679c55bc9946685dacafce78ce6b51a
Linux patch: 6.18.37
Linux patch: 7.2-rc1
Linux patch: 6.12.95
Linux 5005bcb4219156f1bf7587b185080ec1da08518e <06e1f05a1dbe8bbd054c0927b17fc0a61cc8bef7
Linux d1066c1b3663401cd23c0d6e60cdae750ce00c0f
Linux 5005bcb4219156f1bf7587b185080ec1da08518e <5f983b864d3d473ac533b2f4f44a1bbe5dcbccf4
Linux patch: 5.15.211
Linux 6.4

Affected Packages

euvd linux fix: 5.15.211, 6.1.177, 6.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

4
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.

Executive ViewAI

Why It Matters

The Linux kernel SMB3 server (ksmbd) contains a denial-of-service vulnerability (CVE-2026-53383) exploitable by unauthenticated remote clients, potentially disrupting file sharing for all connected users. No public exploit identified at time of analysis; exploitation probability is low (EPSS 0.2%), patches are available, and organizations with ksmbd-enabled systems must prioritize patching.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
optional in-kernel SMB server, less deployed than userspace Samba
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

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