{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900"
            },
            {
              "fixed": "862804fc1d8e6d11652d01f84451a0c9396d10cd"
            },
            {
              "fixed": "0759376aa01168edeec9319f9cc8e5e9b9388c5c"
            },
            {
              "fixed": "73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea"
            },
            {
              "fixed": "16d319e12328acafeafd3eecdf09c46d7fb43452"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.14.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99425.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\novl: hold a reference on the parent in readdir\n\nListing a directory on an overlay uses a freed dentry and crashes the\nkernel when a lookup moves the directory at the same time.\n\nCode that can sleep may only use d_parent without a reference while\nsomething stops a move of the dentry. ovl_iterate_real(),\novl_need_adjust_d_ino() and ovl_cache_update() use the d_parent of the\nlisted directory and hold only the lock of that directory. When a\nlookup finds the directory under another parent after a change to a\nlayer, d_splice_alias() moves it without that lock and drops its\nreference on the old parent.\n\nWith a delay in ovl_iterate_real(), getdents64 on an overlay directory\nraced a rename in the lower layer and a lookup that moved its dentry,\nand after an rmdir of the old parent KASAN reported a use-after-free in\nsecurity_inode_getattr().\n\nFix this by using dget_parent() in the three functions.\n\n[amir: fix comments in ovl_need_adjust_d_ino()]",
  "id": "CVE-2026-99425",
  "modified": "2026-11-19T16:46:02.454667991Z",
  "published": "2026-11-19T14:40:28.722Z",
  "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/0759376aa01168edeec9319f9cc8e5e9b9388c5c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/16d319e12328acafeafd3eecdf09c46d7fb43452"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/862804fc1d8e6d11652d01f84451a0c9396d10cd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99425.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99425"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ovl: hold a reference on the parent in readdir"
}