Skip to main content

Linux Kernel CVE-2026-53271

| EUVDEUVD-2026-39222 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-06-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-hxmm-jmj9-253j
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to ksmbd SMB server
  2. Delivery
    Open file to acquire oplock or lease
  3. Exploit
    Trigger oplock break condition on server
  4. Execution
    Race SMB2 LOGOFF to NULL opinfo->conn
  5. Persist
    Notifier dereferences NULL pointer at offset 0xc4
  6. Impact
    Kernel oops crashes system

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

ksmbd must be running as the active SMB server (kernel module loaded, service configured and listening - this is a non-default state on all major Linux distributions and requires explicit administrator configuration). The attacker must hold a valid, authenticated SMB session to the ksmbd server (CVSS PR:L confirms low-privilege authentication is required; unauthenticated exploitation is not supported by available data). Successful exploitation requires winning a race condition between SMB2 LOGOFF teardown and the oplock/lease break notification path - this race is timing-dependent, adding practical exploitation difficulty beyond the CVSS AC:L rating. The vulnerability is NOT reachable on systems using Samba (smbd), NFS, or any other file-sharing stack - only the ksmbd kernel module is affected. Exploitation is limited to Linux kernel versions prior to the stable fixes listed above.

Impact

The official CVSS 3.1 score of 5.5 (Medium, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) likely understates the attack vector: the description explicitly calls this 'a remotely triggerable oops,' and ksmbd is a network-bound SMB server - AV:N with AC:H (race condition) and PR:L (authenticated SMB session) is arguably more representative. EPSS at 0.16% and 6th percentile confirms very low observed exploitation probability in the wild. No KEV listing and no POC are available. Real-world risk is meaningful only for servers that explicitly deploy ksmbd as an SMB server - a non-default, operator-configured feature not present in most Linux installations. For those systems, a low-privilege authenticated SMB client can crash the kernel, making this a credible DoS threat in SMB-serving environments. The missing information concern: no major distribution advisories (RHEL, Ubuntu, SUSE) appear in the provided references, so downstream patching status is unconfirmed. CVSS C:N and I:N are well-supported - the bug is a pure availability impact with no code execution path identified.

Exploit ScenarioDerived

An attacker with a valid SMB account on a ksmbd-serving Linux host opens a file to acquire an oplock, then races an SMB2 LOGOFF request against the server's oplock break notification for that file. In the window after oplock_break() drops ci->m_lock but before the notifier checks opinfo->conn, the LOGOFF handler zeros conn, causing the notifier to call ksmbd_conn_r_count_inc(NULL) and write through a NULL pointer at kernel offset 0xc4, producing a kernel oops and system crash. No POC is publicly available at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 08, 2026

NULL pointer dereference in the ksmbd (in-kernel SMB server) subsystem of the Linux kernel causes a remotely triggerable kernel oops, resulting in denial of service. The race condition in smb2_oplock_break_noti() and smb2_lease_break_noti() allows an authenticated SMB client to crash the kernel by racing an SMB2 LOGOFF against an oplock/lease break notification - setting opinfo->conn to NULL in the window after ci->m_lock is dropped, then dereferencing it in ksmbd_conn_r_count_inc(). No public exploit identified at time of analysis; EPSS is very low at 0.16% (6th percentile), and CISA KEV listing is absent.

RemediationAI

Patch to Linux kernel 6.6.143, 6.12.94, 7.0.13, or 7.1 stable release - whichever corresponds to the deployed stable branch. All five fix commits are available on kernel.org and should be applied via the standard stable update mechanism for the distribution in use. If an immediate kernel update is not possible, the most effective compensating control is to unload or disable the ksmbd module (rmmod ksmbd or blacklisting it in /etc/modprobe.d/); this fully eliminates the attack surface at the cost of losing in-kernel SMB server capability - Samba (userspace smbd) can serve as a replacement without this vulnerability. Restricting SMB port access (TCP 445, TCP 139) at the network boundary to trusted client IP ranges reduces the set of principals who can trigger the race, but does not eliminate the vulnerability for authorized SMB clients. No patch version invented - all versions cited are from EUVD and commit data provided.

Affected VersionsENISA

Linux 6.9
Linux patch: 6.18.36
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <1ff58dcfcab434ebb51649da33774fbb8e1f7b67
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <b003086d76968298f22e7cf62239833b5a3a06b1
Linux patch: 7.1
Linux patch: 6.6.143
Linux 8df4bcdb0a4232192b2445256c39b787d58ef14d <945a86b21b40fb17183f5b27461baa6f03e2467f
Linux 6.6.32 <6.6.143
Linux patch: 0
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <75e33deda658c1ab3a9336cbdb1436536f9b3660
Linux patch: 7.0.13
Linux patch: 6.12.94
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <e735dbd489e3ea02be78dba991056fe1138be51e

Affected Packages

euvd linux fix: 6.6.143

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 SMB server, introduced in kernel 5.15 and present across multiple stable branches (CPE: cpe:2.3:o:linux:linux_kernel). The vulnerable functions smb2_oplock_break_noti() and smb2_lease_break_noti() are invoked from oplock_break() after opinfo_get_list() drops the ci->m_lock spinlock. In that unlocked window, a concurrent SMB2 LOGOFF via session_fd_check() can write NULL into op->conn under ci->m_lock. Neither function used READ_ONCE() nor a NULL check before passing conn to ksmbd_conn_r_count_inc(), which then writes through the NULL pointer at kernel offset 0xc4. CWE-476 (NULL Pointer Dereference) is the root cause class, manifested here as a TOCTOU race - the pointer was valid when checked but invalidated before use. The fix mirrors the pattern already used in compare_guid_key(): read with READ_ONCE() and return early (with 0, indicating success) if NULL, since a NULL conn means the client has disconnected and the break notification is moot.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.3 MEDIUM

ksmbd is network-bound and the oops is explicitly 'remotely triggerable,' warranting AV:N; AC:H reflects race-condition timing dependency; PR:L for required authenticated SMB session.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jul 08, 2026 - 04:07 NVD
5.5 (MEDIUM)
Patch available
Jun 25, 2026 - 10:32 EUVD
CVE Published
Jun 25, 2026 - 09:16 nvd
MEDIUM 5.5
CVE Published
Jun 25, 2026 - 09:16 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

ksmbd: fix NULL-deref of opinfo->conn in oplock/lease break notifiers

smb2_oplock_break_noti() and smb2_lease_break_noti() read opinfo->conn into a local with neither READ_ONCE() nor a NULL check. Both run from oplock_break() after opinfo_get_list() has dropped ci->m_lock, so a concurrent SMB2 LOGOFF (session_fd_check()) can set op->conn = NULL under ci->m_lock within that window. ksmbd_conn_r_count_inc(conn) then writes through NULL at offset 0xc4 -- a remotely triggerable oops.

Guard both reads the way compare_guid_key() already does: read opinfo->conn with READ_ONCE() and return early if it is NULL, before allocating the work struct so nothing leaks. A NULL conn means the client is gone and the break is moot, so return 0; oplock_break() treats that as success and runs the normal teardown.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel underpins vast majority of server and cloud infrastructure
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

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