Security mailing lists by PureSourceCode

CVE-2026-52906

HIGH 7.7CVSS 3.1

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

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
9 Jun 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVE List Linux CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.19, < 7.0.4 7.0.4
CVE List Linux Linux >= cd4cd3c40997929745abb96f92276e45463db9d9, < 31a19f4592933a511ba8434835e25040926b9e70; >= 54f1f99df0bd0b78425507b293683915894a8c39, < eeadf0fd1997ccad959c84f7bacdd62352ba8497; >= 1f3e4142c0eb178089ea0cbc97506a061470ad27, < b8f037e87a083291190204b959cda417aaf01058; >= 1f3e4142c0eb178089ea0cbc97506a061470ad27, < da2346a48a5a1fed86c3fe3d73c0b60e7b3027c9 31a19f4592933a511ba8434835e25040926b9e70, eeadf0fd1997ccad959c84f7bacdd62352ba8497, b8f037e87a083291190204b959cda417aaf01058, da2346a48a5a1fed86c3fe3d73c0b60e7b3027c9
CVE List Linux Linux = 6.19

References

History

  • 30 Nov 2026 12:18 UTC · NVD: status Analyzed → Modified; 2 references added
  • 30 Nov 2026 12:18 UTC · CVE List: first stored (published 9 Jun 2026)
  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.