CIFSwitch Linux Kernel Flaw Could Give Low-Privileged Users Root Access

· Original article ↗

Summary

CIFSwitch affects Linux’s CIFS subsystem and cifs-utils: crafted key descriptions can lead root-run cifs.upcall to switch namespaces and load attacker-controlled NSS code. Distribution fixes are available; exposure varies by distro.

Key points

  • The flaw affects the Linux kernel’s CIFS subsystem and the cifs-utils authentication helper.
  • A low-privileged user can supply crafted key-description fields because the kernel does not verify their origin.
  • Root-run cifs.upcall can switch into the supplied process’s namespaces and load attacker-controlled NSS code before dropping privileges.
  • The article identifies certain Linux Mint, CentOS, Rocky Linux, Kali Linux, AlmaLinux, and SLES distributions as vulnerable; exposure can depend on whether cifs-utils is installed.
  • Many distributions block the vulnerable execution path by default; Amazon Linux 2 KVM and Kali Linux 2019.4/2020.4 are reported as unaffected.
  • Major Linux distributions rolled out fixes, and the researcher published proof-of-concept code to help validate patches, mitigations, detections, and exposure.

Article Details

Vulnerability Types
  • Local privilege escalation
  • Attacker-controlled code execution with root privileges
Exploitation Status
unknown
Exploit Availability
public_poc
Patch Status
available

MITRE ATT&CK

People

Products

Related Articles