
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-23427 is a use-after-free vulnerability in the Linux kernel's ksmbd (kernel SMB server) component, specifically in the handling of durable v2 replay of active SMB2 file handles. The flaw was published on April 3, 2026, and affects Linux kernel versions 6.6.32 through 6.6.130, 6.9.1 through 6.12.78, 6.13 through 6.18.20, 6.19 through 6.19.10, and various 7.0 release candidates. It carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, Feedly).
The root cause is a use-after-free (CWE-416) in parse_durable_handle_context(), which unconditionally overwrites dh_info->fp->conn with the current connection pointer when processing an SMB2 DURABLE_REQ_V2 context bearing the SMB2_FLAGS_REPLAY_OPERATION flag. Because ksmbd_lookup_fd_cguid() does not filter returned file handles by fp->conn, it can return handles already actively associated with another connection. When the overwriting connection is subsequently freed via ksmbd_tcp_disconnect(), __ksmbd_close_fd() dereferences the now-stale fp->conn pointer through spin_lock(&fp->conn->llist_lock), triggering the use-after-free. A KASAN report confirms a slab-use-after-free write of 4 bytes in _raw_spin_lock executed from the ksmbd-io workqueue (GitHub Advisory).
Successful exploitation can result in kernel memory corruption leading to kernel panics (denial of service), or potentially arbitrary code execution at kernel privilege level. An attacker who can send crafted SMB2 requests with DURABLE_REQ_V2 context to a ksmbd-enabled server could destabilize the host, disrupt SMB file-sharing services, or escalate to full system compromise with high confidentiality, integrity, and availability impact. Any system using ksmbd for SMB/CIFS file sharing is potentially affected (GitHub Advisory, Feedly).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.018% (0.000180), placing it in a low exploitation-probability tier. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires low privileges and local (network) access to an SMB service running ksmbd, making it accessible to authenticated SMB clients (GitHub Advisory, Feedly).
DURABLE_REQ_V2 context to establish a durable file handle associated with the attacker's connection.DURABLE_REQ_V2 context and the SMB2_FLAGS_REPLAY_OPERATION flag set, referencing the GUID of the existing durable handle. This causes parse_durable_handle_context() to overwrite fp->conn with the new connection pointer.ksmbd_tcp_disconnect() to free the connection object while fp->conn still references it.__ksmbd_close_fd() to dereference the freed fp->conn pointer, resulting in kernel memory corruption, a potential kernel panic, or exploitable code execution (GitHub Advisory, Feedly).DURABLE_REQ_V2 context and SMB2_FLAGS_REPLAY_OPERATION flags from the same or multiple source IPs; rapid SMB session establishment and teardown sequences.dmesg, /var/log/kern.log) showing KASAN reports with BUG: KASAN: slab-use-after-free in _raw_spin_lock; kernel oops or panic traces referencing __ksmbd_close_fd, ksmbd_close_fd, or smb2_close in the call stack.ksmbd-io workqueue; system instability or reboots coinciding with SMB activity.Patches are available in the Linux kernel stable tree targeting the affected version ranges: fixes are present in commits 568a25fd, 9b0792c3, a5828c14, b0158d9d, and b425e4d0 on git.kernel.org. Users should update to patched kernel versions (≥6.6.130, ≥6.12.78, ≥6.18.20, or ≥6.19.10 as applicable) once available from their Linux distribution. As an interim workaround, restrict network access to SMB services (TCP port 445) to trusted hosts only, or disable ksmbd entirely if SMB file sharing is not required (GitHub Advisory, Feedly).
The vulnerability was tracked by the Yocto Project security mailing list, which issued multiple advisories in April–May 2026 regarding affected embedded Linux builds. Tenable published a Nessus plugin (ID 304983) to detect vulnerable systems. No significant public researcher commentary or social media discussion has been identified beyond standard vulnerability database entries (Feedly).
Fix availability across major Linux distributions and their releases.
bionic
linux
bionic (esm-infra)
linux
bionic (fips-updates)
linux-fips
bionic (fips)
linux-fips
devel
linux
focal
linux
focal (esm-infra)
linux
focal (fips-updates)
linux-fips
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."