CVE-2026-53271 Details
Description
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.
A vulnerability in the Linux kernel's ksmbd component can lead to a NULL pointer dereference in the SMB2 oplock and lease break notification handlers. This issue arises because these handlers read a connection pointer without proper synchronization or NULL checks, creating a window where a concurrent SMB2 LOGOFF operation can nullify the pointer. As a result, subsequent operations can attempt to dereference the NULL pointer, causing a crash. The vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for downloading the updated kernel can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1ff58dcfcab434ebb51649da33774fbb8e1f7b67 | kernel.org | Patch |
| https://git.kernel.org/stable/c/75e33deda658c1ab3a9336cbdb1436536f9b3660 | kernel.org | Patch |
| https://git.kernel.org/stable/c/945a86b21b40fb17183f5b27461baa6f03e2467f | kernel.org | Patch |
| https://git.kernel.org/stable/c/b003086d76968298f22e7cf62239833b5a3a06b1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e735dbd489e3ea02be78dba991056fe1138be51e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6.32, < 6.6.143 >= 6.9, < 6.12.94 >= 6.13, < 6.18.36 >= 6.19, < 7.0.13 7.1 rc1 7.1 rc2 7.1 rc3 7.1 rc4 7.1 rc5 7.1 rc6 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 8, 2026 | Initial Analysis | [email protected] |
| Jun 25, 2026 | New CVE Received | kernel.org |