<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Rocky Linux — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/rocky-linux/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sat, 30 May 2026 14:23:52 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/rocky-linux/feed.xml" rel="self" type="application/rss+xml"/><item><title>CIFSwitch Linux Kernel Local Privilege Escalation Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2026-05-cifswitch-lpe/</link><pubDate>Sat, 30 May 2026 14:23:52 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-cifswitch-lpe/</guid><description>The CIFSwitch vulnerability in the Linux kernel allows an unprivileged user to forge CIFS authentication key descriptions, abuse the kernel's key request mechanism, and gain root privileges by loading a malicious NSS module.</description><content:encoded><![CDATA[<p>A newly discovered local privilege escalation vulnerability named &lsquo;CIFSwitch&rsquo; affects the Linux kernel. This vulnerability, introduced in 2007, allows an unprivileged user to forge CIFS authentication key descriptions and abuse the kernel&rsquo;s key request mechanism to gain root privileges. The issue stems from the kernel&rsquo;s CIFS subsystem failing to properly validate the origin of <code>cifs.spnego</code> key requests. Successful exploitation depends on factors like a vulnerable kernel version, a vulnerable <code>cifs-utils</code> version (6.14 and higher, with some older variants also affected), the availability of user namespaces, and permissive SELinux/AppArmor policies. Several distributions, including Linux Mint 21.3/22.3, CentOS Stream 9, Rocky Linux 9, AlmaLinux 9, Kali Linux 2021.4-2026.1, and SLES 15 SP7, are confirmed to be vulnerable with their default configurations. Exploitation can lead to complete system compromise.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An unprivileged user crafts a forged <code>cifs.spnego</code> key request.</li>
<li>The forged request is sent to the Linux keyring subsystem.</li>
<li>The kernel, lacking proper validation, triggers the normal authentication workflow.</li>
<li>The root-privileged <code>cifs.upcall</code> helper is invoked.</li>
<li>The <code>cifs.upcall</code> helper trusts attacker-controlled fields, assuming they originated from the kernel.</li>
<li>The attacker abuses these fields to force a namespace switch.</li>
<li>The attacker triggers a Name Service Switch (NSS) lookup.</li>
<li>Before privileges are dropped, a malicious NSS module is loaded, resulting in root code execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CIFSwitch results in a local attacker gaining root privileges on the affected Linux system. This allows the attacker to execute arbitrary code with the highest level of privilege, potentially leading to data theft, system corruption, or complete system takeover. The vulnerability impacts several popular Linux distributions and could affect numerous systems if not patched or mitigated. While the researcher has confirmed vulnerability in some distributions, successful exploitation depends on specific configuration factors.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the kernel patch that adds validation of <code>cifs.spnego</code> request origins (upstream commit 3da1fdf) to remediate the vulnerability.</li>
<li>If the CIFS module is not used, disable or blacklist it to prevent potential exploitation.</li>
<li>Remove the <code>cifs-utils</code> package if it is not necessary for system functionality.</li>
<li>Disable unprivileged user namespaces to limit the attack surface.</li>
<li>Monitor for unexpected <code>cifs.upcall</code> executions, especially those initiated by unprivileged users, using a process creation rule.</li>
<li>Deploy the Sigma rules in this brief to your SIEM and tune for your environment.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>privilege-escalation</category><category>linux</category><category>cifs</category><category>kernel</category></item></channel></rss>