Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

New CIFSwitch Linux flaw gives root on multiple distributions

0
High
Vulnerabilitylinuxlocal
Published: Sat May 30 2026 (05/30/2026, 14:16:08 UTC)
Source: Bleeping Computer

Description

CIFSwitch is a local privilege escalation vulnerability in the Linux kernel's CIFS subsystem that allows unprivileged users to forge CIFS authentication key requests. This flaw enables attackers to abuse the kernel's key request mechanism and escalate privileges to root by loading a malicious Name Service Switch (NSS) module before privileges are dropped. The vulnerability affects multiple Linux distributions with vulnerable kernel and cifs-utils versions, particularly when Kerberos/SPNEGO authentication is used for CIFS network shares. The issue was introduced in 2007 and depends on several factors including kernel version, cifs-utils version, user namespaces, and SELinux/AppArmor policies. A kernel patch fixing the vulnerability has been released upstream, but exact patched versions vary by distribution. Mitigations include disabling or blacklisting the CIFS module if unused, removing cifs-utils if unnecessary, and disabling unprivileged user namespaces. A proof-of-concept exploit is publicly available to validate patch effectiveness.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/30/2026, 21:41:01 UTC

Technical Analysis

CIFSwitch is a local privilege escalation vulnerability in the Linux kernel's CIFS subsystem that allows an unprivileged local attacker to forge cifs.spnego key requests. The kernel fails to verify that these requests originate from the kernel's CIFS client, enabling attackers to trick the root-privileged cifs.upcall helper into trusting attacker-controlled data. By abusing this flaw to force a namespace switch and trigger a Name Service Switch (NSS) lookup before dropping privileges, an attacker can load a malicious NSS module and execute code with root privileges. The vulnerability affects multiple Linux distributions shipping vulnerable kernel and cifs-utils versions, especially when Kerberos/SPNEGO authentication is used for CIFS shares. The flaw was introduced in 2007 and exploitation depends on several conditions including user namespaces and SELinux/AppArmor policies. An upstream kernel patch (commit 3da1fdf) adds validation of cifs.spnego request origins to fix the issue. Users are advised to apply distribution-specific kernel updates, disable or blacklist the CIFS module if unused, remove cifs-utils if unnecessary, and disable unprivileged user namespaces. A proof-of-concept exploit has been published to test mitigations.

Potential Impact

Successful exploitation of CIFSwitch allows a local unprivileged user to escalate privileges to root on affected Linux systems. This can lead to full system compromise. The vulnerability impacts multiple Linux distributions with vulnerable kernel and cifs-utils versions, particularly when CIFS shares use Kerberos/SPNEGO authentication. Exploitation requires specific conditions such as enabled user namespaces and permissive SELinux/AppArmor policies. Some distributions have default security settings that prevent exploitation. The flaw has existed since 2007, increasing the potential exposure window. No known exploits in the wild have been reported at the time of disclosure.

Mitigation Recommendations

A kernel patch fixing CIFSwitch has been released upstream (commit 3da1fdf) and is included in various distribution updates; users should apply the latest kernel updates from their Linux distribution vendors to remediate the vulnerability. Additionally, users should disable or blacklist the CIFS kernel module if it is not in use, remove the cifs-utils package if unnecessary, and disable unprivileged user namespaces to reduce attack surface. Some distributions' default SELinux/AppArmor policies may already mitigate exploitation. Organizations should consult their vendor advisories for exact patched kernel versions and apply those updates accordingly. The published proof-of-concept exploit can be used to verify the effectiveness of applied patches and mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Article Source
{"url":"https://www.bleepingcomputer.com/news/security/new-cifswitch-linux-flaw-gives-root-on-multiple-distributions/","fetched":true,"fetchedAt":"2026-05-30T21:40:43.544Z","wordCount":1093}

Threat ID: 6a1b5965e29bf47b508cea79

Added to database: 5/30/2026, 9:40:53 PM

Last enriched: 5/30/2026, 9:41:01 PM

Last updated: 5/31/2026, 2:10:02 AM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses