CVE-2025-68295
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68295 is a memory leak vulnerability in the Linux kernel's SMB client (cifs) subsystem, specifically within the cifs_construct_tcon() function. When a multiuser CIFS mount is configured with a domain= parameter and cifscreds is used, cifs_set_cifscreds() sets ctx->domainname via kstrdup, but this allocation is never freed before the function returns, resulting in a kernel memory leak. The vulnerability was published on December 16, 2025, and affects Linux kernel versions from 5.3 onward, with fixes backported to stable branches including 5.10.247, 5.15.197, 6.1.159, 6.6.119, 6.12.61, 6.17.11, and 6.18. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Feedly).

Technical details

The root cause is a missing memory deallocation (CWE-401: Missing Release of Memory after Effective Lifetime) in the cifs_construct_tcon() function of the Linux kernel's CIFS/SMB client driver. When cifs_set_cifscreds() is called during tcon construction for a multiuser mount with a domain credential, it duplicates the domain name string into ctx->domainname using kstrdup. However, the function exits without freeing this allocation, leaving an unreferenced kernel heap object. The leak is triggered by a local, low-privileged user performing file operations (e.g., ls) on a multiuser CIFS mount with domain credentials configured via cifscreds. The backtrace reported by kmemleak traces through cifs_sb_tlinkcifs_get_fattrcifs_revalidate_dentry_attrcifs_getattrvfs_statx (Red Hat CVE).

Impact

Successful triggering of this vulnerability causes a kernel heap memory leak, gradually exhausting available kernel memory over time. The primary impact is on availability — repeated triggering by a local user can degrade system performance and potentially lead to out-of-memory conditions on affected systems. There is no confidentiality or integrity impact, as the vulnerability does not expose sensitive data or allow unauthorized modification of system state (Red Hat CVE, Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across all affected stable branches. Users should update to the following fixed versions or later: 5.10.247, 5.15.197, 6.1.159, 6.6.119, 6.12.61, 6.17.11, or 6.18. Distribution-specific updates have been issued by Red Hat, Ubuntu (USN-8094-x, USN-8096-x, USN-8152-1), Debian (DLA-4436-1), SUSE, Amazon Linux 2, and Microsoft Azure Linux 3. As a workaround, avoiding the combination of multiuser CIFS mounts with the domain= mount option and cifscreds eliminates the trigger condition until patching is feasible (Red Hat CVE, Ubuntu USN-8096-1, Debian LTS).

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