{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8ed6b23709b346f7bfc1edab47003a205a6a9f69"
            },
            {
              "fixed": "a392e0231b9d823f2e62e21fef68ad6145119dca"
            },
            {
              "fixed": "ee8997a4521964631d6cc0e511a186f69ce84dbd"
            },
            {
              "fixed": "85bc2a3b1bece826c908a31c34a4865a80136bee"
            },
            {
              "fixed": "5b4696e0bfc358619adaeab25ad35b4979af8331"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "fc597a301fb2947af29ce67c12a419c39f044975"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.12.24"
            },
            {
              "fixed": "3.13"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "3.15.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99690.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: cache the mount context for dentry lock callbacks\n\nocfs2_drop_dentry_lock() drops the inode reference before releasing the\nDENTRY lock.  This lets inode eviction release the local inode and open\nlocks before a remote unlink can proceed past the DENTRY lock.\n\nA DLM callback can still arrive before the DENTRY lock has been dropped.\nocfs2_get_dentry_osb() obtains the mount context through dl_inode-\u003ei_sb,\nwhich can access a freed inode when the downconvert thread drops the\nlast inode reference in its post-unlock callback:\n\n  Downconvert thread                     DLM callback thread\n  ------------------                     -------------------\n  ocfs2_process_blocked_lock()\n    ocfs2_dentry_post_unlock()\n      ocfs2_dentry_lock_put()\n        ocfs2_drop_dentry_lock()\n          iput(dl-\u003edl_inode)\n          [inode reclaimed after RCU]\n                                         ocfs2_blocking_ast()\n                                           ocfs2_get_dentry_osb()\n                                             dl-\u003edl_inode-\u003ei_sb\n          ocfs2_simple_drop_lockres()\n\nStore the mount context in the DENTRY lock resource's l_priv field and use\nthe default mount-context lookup.  Recover the containing dentry lock with\ncontainer_of(), as already done for refcount locks, and remove\nocfs2_get_dentry_osb().  ocfs2_dismount_volume() shuts down the DLM before\nfreeing the mount context, so callbacks can use it without accessing the\ninode.  Preserve the existing iput-before-unlock order to avoid delaying\nlocal inode and open lock release until after the DENTRY lock is released.",
  "id": "CVE-2026-99690",
  "modified": "2026-11-20T06:45:45.411504620Z",
  "published": "2026-11-20T05:50:34.973Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b4696e0bfc358619adaeab25ad35b4979af8331"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/85bc2a3b1bece826c908a31c34a4865a80136bee"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a392e0231b9d823f2e62e21fef68ad6145119dca"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ee8997a4521964631d6cc0e511a186f69ce84dbd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99690.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99690"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ocfs2: cache the mount context for dentry lock callbacks"
}