CVE-2026-89638

Linux · Kernel

The Linux kernel SMB client fails to clear setuid and setgid bits when writing to files under specific mount configurations, potentially leading to privilege escalation or unauthorized file access.

Executive summary

A vulnerability in the Linux kernel SMB client allows local attackers to bypass security restrictions regarding setuid and setgid bits, resulting in potential local privilege escalation.

Vulnerability

This is an improper privilege management flaw occurring when using cifsacl, modefromsid, or POSIX extensions. The kernel incorrectly drops the mode update during file writes, allowing local authenticated users to retain elevated setuid or setgid bits that should have been cleared by the VFS.

Business impact

The flaw carries a CVSS score of 7.8, reflecting a high-severity risk for local environments. Successful exploitation allows a local user to maintain elevated permissions on files, which can be leveraged to gain unauthorized access to sensitive data or escalate privileges to the level of the file owner. This could lead to a compromise of system integrity and confidentiality in multi-user or containerized environments using SMB network shares.

Remediation

Immediate Action: Update the Linux kernel to version 6.18.51, 7.2.4, or later versions where the fix has been backported.

Proactive Monitoring: Monitor system logs for unusual file permission changes or unauthorized attempts to execute files with setuid/setgid bits enabled in SMB-mounted directories.

Compensating Controls: If patching is delayed, restrict the use of mount options such as cifsacl, modefromsid, and POSIX extensions on untrusted or shared network storage segments.

Exploitation status

Public Exploit Available: No — exploit_available (unknown).

More Linux CVEs all →

History

CVE Brief tracked this CVE 3 days before it had a CVSS score.

  1. Disclosed CVE record published
  2. Collected by CVE Brief No CVSS score yet; tracked as early warning
  3. CVSS score assigned 7.8 (3.1)
  4. Analyst report written

Sources