CVE-2023-54076
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54076 is a use-after-free vulnerability in the Linux kernel's SMB client (CIFS) subsystem, specifically caused by missed session (ses) reference counting in the DFS root session handling code. The flaw occurs when cifs_put_smb_ses() is called without a proper active reference on @ses->dfs_root_ses, potentially freeing memory that is still in use. It was published on December 24, 2025, and affects Linux kernel versions in the 6.4.x range up to the fix commits. The CVSS base score is listed as 0.0 (no severity rating assigned at time of publication) (ENISA EUVD, Feedly).

Technical details

The root cause is improper reference counting (CWE-911: Improper Update of Reference Count) in the Linux kernel's SMB/CIFS client driver. When a session object (@ses) and its associated DFS root session (@ses->dfs_root_ses) are not properly reference-counted using the cifs_smb_ses_inc_refcount() helper before being passed to cifs_put_smb_ses(), the reference count can drop to zero prematurely, causing the session object to be freed while still accessible — a classic use-after-free condition. The fix introduces use of the cifs_smb_ses_inc_refcount() helper to acquire active references on both @ses and @ses->dfs_root_ses before any potential release. The vulnerable code range is identified between commits 8e3554150d6c and eb382196e6f6 (for one stable branch) and 8e3554150d6c to bf99f6be2d20 (for another) (ENISA EUVD).

Impact

Successful exploitation of this use-after-free vulnerability could allow a local attacker or a privileged process to cause kernel memory corruption, potentially leading to a system crash (denial of service) or, in more severe scenarios, privilege escalation or arbitrary code execution in kernel context. The affected component is the SMB/CIFS client subsystem, meaning systems that mount SMB/CIFS network shares (e.g., using DFS) are at risk. The availability impact is the most likely consequence, though memory corruption bugs of this class can sometimes be leveraged for more serious attacks depending on kernel configuration and exploit sophistication (ENISA EUVD, Feedly).

Mitigation and workarounds

The fix is available in Linux kernel stable commits eb382196e6f6e05cfafdab797840e5a96c6e7bf0 and bf99f6be2d20146942bce6f9e90a0ceef12cbc1e, which introduce proper use of cifs_smb_ses_inc_refcount() for reference counting. Users should update to Linux kernel version 6.4.7 or later (patched), or kernel 6.5 and above. Distribution-specific patches have been issued by SUSE (SUSE-2026-0281-1, SUSE-2026-20876-1) and Oracle Linux (ELSA-2026-6037). As a workaround, avoiding the use of SMB/CIFS DFS mounts on unpatched systems reduces exposure (ENISA EUVD, Linux Security SUSE).

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