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
Share

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
qualitative

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

5
Analysis Generated
Jul 08, 2026 - 04:15 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

CVE-2026-53271 vulnerability details – vuln.today

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