
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-23303 is a credential disclosure vulnerability in the Linux kernel's SMB/CIFS client subsystem, specifically in the cifs_set_cifscreds() function. When kernel debug logging is enabled, this function logs the key payload containing plaintext usernames and passwords, exposing sensitive CIFS authentication credentials in system logs. The vulnerability has been present since Linux kernel 3.3 and affects a wide range of kernel versions up through 6.19.6. It carries a CVSS v3.1 base score of 5.5 (Medium), classified under CWE-256 (Plaintext Storage of a Password) (Red Hat CVE, Microsoft MSRC).
The root cause is CWE-256 (Plaintext Storage of a Password): the cifs_set_cifscreds() function in the Linux kernel's SMB client (fs/smb/client/) includes a debug log statement that outputs the raw key payload — including the plaintext username and password — when kernel debug logging is active. An attacker with local, low-privileged access who can read kernel debug logs (e.g., via dmesg, /var/log/kern.log, or /proc/kmsg) can retrieve these credentials. The fix removes the offending debug log statement entirely, preventing credential exposure. Patches have been applied across multiple stable kernel branches via git.kernel.org (Red Hat CVE, Red Hat Bugzilla).
A local user with low privileges can read kernel debug logs to obtain plaintext CIFS/SMB authentication credentials (usernames and passwords) that were logged during credential setup via cifs_set_cifscreds(). This credential exposure could enable lateral movement to network file shares or other systems using the same credentials, and may facilitate privilege escalation if administrative credentials are captured. The confidentiality impact is the primary concern, as the vulnerability directly exposes authentication secrets; integrity and availability of the affected system are not directly impacted by this flaw (Red Hat CVE).
/proc/sys/kernel/printk or reviewing system log verbosity settings. Debug logging may be enabled by administrators for troubleshooting.cifs_set_cifscreds(), such as a user mounting a network share with stored credentials via the kernel keyring.dmesg, /var/log/kern.log, /var/log/syslog, or /proc/kmsg (if readable by the local user) and search for log entries from the CIFS subsystem containing the key payload with plaintext credentials.cifs or CIFS) containing key payload data with plaintext usernames and passwords; look in /var/log/kern.log, /var/log/syslog, or dmesg output for lines referencing cifs_set_cifscreds with credential data./proc/kmsg or executing dmesg under low-privileged user accounts, particularly around the time of CIFS mount operations./var/log/kern.log, /var/log/syslog) by non-root users or scripts; presence of scripts that parse kernel logs for credential-related strings.Update the Linux kernel to a patched version appropriate for your kernel series: 5.10.253 or later, 5.15.203 or later, 6.1.167 or later, 6.6.130 or later, 6.12.77 or later, 6.18.17 or later, or 6.19.7 or later. As an interim workaround, disable kernel debug logging for the CIFS subsystem in production environments, or restrict access to kernel logs to privileged users only (e.g., by setting appropriate permissions on /var/log/kern.log and restricting dmesg access via kernel.dmesg_restrict=1 in sysctl). Patches are available via git.kernel.org and have been released by Red Hat and Microsoft for their respective distributions (Red Hat CVE, Red Hat Bugzilla, Microsoft MSRC).
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."