{
  "id": "CVE-2026-52906",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52906",
  "published_at": "2026-06-09T12:36:03.521Z",
  "title": "9p: fix access mode flags being ORed instead of replaced",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\n9p: fix access mode flags being ORed instead of replaced\n\nSince commit 1f3e4142c0eb (\"9p: convert to the new mount API\"),\nv9fs_apply_options() applies parsed mount flags with |= onto flags\nalready set by v9fs_session_init(). For 9P2000.L, session_init sets\nV9FS_ACCESS_CLIENT as the default, so when the user mounts with\n\"access=user\", both bits end up set. Access mode checks compare\nagainst exact values, so having both bits set matches neither mode.\n\nThis causes v9fs_fid_lookup() to fall through to the default switch\ncase, using INVALID_UID (nobody/65534) instead of current_fsuid()\nfor all fid lookups. Root is then unable to chown or perform other\nprivileged operations.\n\nFix by clearing the access mask before applying the user's choice.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1f3e4142c0eb178089ea0cbc97506a061470ad27, \u003c b8f037e87a083291190204b959cda417aaf01058",
          "\u003e= 1f3e4142c0eb178089ea0cbc97506a061470ad27, \u003c da2346a48a5a1fed86c3fe3d73c0b60e7b3027c9"
        ],
        "fixed_in": [
          "b8f037e87a083291190204b959cda417aaf01058",
          "da2346a48a5a1fed86c3fe3d73c0b60e7b3027c9"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.19"
        ],
        "fixed_in": [
          "0",
          "7.0.4",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to b8f037e87a083291190204b959cda417aaf01058 or da2346a48a5a1fed86c3fe3d73c0b60e7b3027c9 or later.",
      "Upgrade Linux to 0 or 7.0.4 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
