CVE-2025-68226
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68226 is a Use-After-Free (UAF) vulnerability in the Linux kernel's SMB client subsystem, specifically within the cfids_invalidation_worker() function. It results from an incomplete backport of commit bdb596ceb4b7 ("smb: client: fix potential UAF in smb2_close_cached_fid()"), which missed converting one kref_put() call to close_cached_dir(). The vulnerability was published on December 16, 2025, and affects Linux kernel versions between 6.17.8 and 6.17.10 (commit range bdb596ceb4b7 to abd29b6e17a9). The EPSS score is approximately 0.018% (very low), and no CVSS base score has been assigned (Feedly, ENISA EUVD).

Technical details

The root cause is an incomplete backport introducing a Use-After-Free condition (CWE-416) in the Linux kernel SMB client's cached file ID invalidation worker. When cfids_invalidation_worker() executes, a kref_put() call that should have been replaced with close_cached_dir() — as part of the prior UAF fix — was inadvertently left in place. This means the reference count on a cached directory object can be decremented without properly closing it, potentially allowing the object to be freed while still referenced. The fix is tracked in the upstream stable kernel commit abd29b6e17a918fdd68352ce4813e167acc8727e (Feedly, Kernel Fix Commit).

Impact

Exploitation of this UAF vulnerability could allow a local attacker or a process with access to the SMB client subsystem to trigger memory corruption, potentially leading to a kernel crash (denial of service) or, in more severe scenarios, privilege escalation or arbitrary code execution in kernel context. The affected scope is limited to Linux systems running the vulnerable kernel versions (6.17.8–6.17.10) with the SMB client in use. Data integrity and system availability are the primary concerns, as kernel-level memory corruption can destabilize the entire system (Feedly).

Mitigation and workarounds

The fix is available in the upstream Linux stable kernel as commit abd29b6e17a918fdd68352ce4813e167acc8727e, which corrects the incomplete backport by replacing the erroneous kref_put() call with close_cached_dir() in cfids_invalidation_worker(). Administrators should update to a patched kernel version beyond 6.17.10 that includes this fix. As a workaround, systems that do not require SMB client functionality can unload or disable the cifs kernel module to reduce exposure (Kernel Fix Commit, Feedly).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management