Description
In the Linux kernel, the following vulnerability has been resolved:

9p: fix access mode flags being ORed instead of replaced

Since commit 1f3e4142c0eb ("9p: convert to the new mount API"),
v9fs_apply_options() applies parsed mount flags with |= onto flags
already set by v9fs_session_init(). For 9P2000.L, session_init sets
V9FS_ACCESS_CLIENT as the default, so when the user mounts with
"access=user", both bits end up set. Access mode checks compare
against exact values, so having both bits set matches neither mode.

This causes v9fs_fid_lookup() to fall through to the default switch
case, using INVALID_UID (nobody/65534) instead of current_fsuid()
for all fid lookups. Root is then unable to chown or perform other
privileged operations.

Fix by clearing the access mask before applying the user's choice.
Published: 2026-06-09
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel’s 9P filesystem, a bug causes access mode flags to be ORed rather than replaced when mount options are parsed. If the default client access mode is set and a user mounts with "access=user", both bits become active. Access checks require an exact match, so neither mode is recognized and the system falls back to an invalid user ID (65534, the "nobody" user) for all file identifier lookups. As a result, the root user loses the ability to perform privileged operations such as chown or other administration commands that depend on root privileges. The flaw does not grant additional privileges to an attacker; it simply blocks normal root functionality.

Affected Systems

All Linux kernel deployments that have not yet integrated the commit that fixed this issue (the change that clears the access mask before applying user‑specified flags). Systems running older kernels that support 9P mounts and may use the "access=user" option are affected. Any host that mounts a 9P filesystem with this option is potentially impacted until the kernel patch is applied.

Risk and Exploitability

The vulnerability results in a denial of privileged operations for the root account but does not provide a path to privilege escalation or data exfiltration. The CVSS score of 7.7 indicates high severity, while an EPSS score of < 1% suggests a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Likely attack vectors are local, requiring an attacker who can mount a 9P filesystem with specific options, which most administrators already control. Overall risk is low to moderate, primarily affecting root administrative capabilities.

Generated by OpenCVE AI on August 13, 2026 at 23:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit that clears the access mask before applying user‑specified flags.
  • If an upgrade cannot be performed immediately, temporarily disable or restrict the use of 9P filesystem mounts, especially those using the "access=user" option, until the kernel patch is applied.
  • After applying the kernel update, restart all services that rely on 9P to ensure the new mount behavior takes effect.

Generated by OpenCVE AI on August 13, 2026 at 23:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8488-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8488-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8507-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
History

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-250
CWE-269

Sun, 14 Jun 2026 05:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}


Wed, 10 Jun 2026 00:15:00 +0000


Tue, 09 Jun 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-250
CWE-269

Tue, 09 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: 9p: fix access mode flags being ORed instead of replaced Since commit 1f3e4142c0eb ("9p: convert to the new mount API"), v9fs_apply_options() applies parsed mount flags with |= onto flags already set by v9fs_session_init(). For 9P2000.L, session_init sets V9FS_ACCESS_CLIENT as the default, so when the user mounts with "access=user", both bits end up set. Access mode checks compare against exact values, so having both bits set matches neither mode. This causes v9fs_fid_lookup() to fall through to the default switch case, using INVALID_UID (nobody/65534) instead of current_fsuid() for all fid lookups. Root is then unable to chown or perform other privileged operations. Fix by clearing the access mask before applying the user's choice.
Title 9p: fix access mode flags being ORed instead of replaced
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:31:29.381Z

Reserved: 2026-06-09T07:44:35.366Z

Link: CVE-2026-52906

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-09T14:16:45.047

Modified: 2026-07-23T08:10:00.137

Link: CVE-2026-52906

cve-icon Redhat

Severity :

Publid Date: 2026-06-09T00:00:00Z

Links: CVE-2026-52906 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T23:30:03Z

Weaknesses