{
  "id": "CVE-2026-72368",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-72368",
  "published_at": "2026-08-15T05:56:05.329Z",
  "title": "cachefiles: Fix double unlock in nomem_d_alloc error path",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "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\ncachefiles: Fix double unlock in nomem_d_alloc error path\n\nWhen start_creating() fails and returns -ENOMEM, it has already\nreleased the parent directory lock in __start_dirop():\n\n    static struct dentry *__start_dirop(...)\n    {\n        ...\n        inode_lock_nested(dir, I_MUTEX_PARENT);\n        dentry = lookup_one_qstr_excl(name, parent, lookup_flags);\n        if (IS_ERR(dentry))\n            inode_unlock(dir);  \u003c-- Lock released on error\n        return dentry;\n    }\n\nHowever, the nomem_d_alloc error path in cachefiles_get_directory()\nunconditionally calls inode_unlock(d_inode(dir)) again, causing a\ndouble unlock that corrupts the rwsem state.\n\nThis is a leftover from commit 7ab96df840e60 which replaced manual\nlocking with start_creating() but failed to update the nomem_d_alloc\npath (while correctly updating mkdir_error and lookup_error paths).",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 7ab96df840e60eb933abfe65fc5fe44e72f16dc0, \u003c 26757dac15175f2a42e3537f1ba86e62456d48f1",
          "\u003e= 7ab96df840e60eb933abfe65fc5fe44e72f16dc0, \u003c 8c256fba2b46020004201c500b2a1fbc707a33ef"
        ],
        "fixed_in": [
          "26757dac15175f2a42e3537f1ba86e62456d48f1",
          "8c256fba2b46020004201c500b2a1fbc707a33ef"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.19"
        ],
        "fixed_in": [
          "0",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 26757dac15175f2a42e3537f1ba86e62456d48f1 or 8c256fba2b46020004201c500b2a1fbc707a33ef or later.",
      "Upgrade Linux to 0 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
