{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fe497f0759e0efb949f9480911d00b6045c21f50"
            },
            {
              "fixed": "719bd33ab359c539a68a278c15a97deb77565cdb"
            },
            {
              "fixed": "ae146bc1abdeb4607abf2975b858c053024e8ac1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98921.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\novl: fix UAF in ovl_do_mkdir() debug print\n\novl_do_mkdir() prints the input dentry with %pd after vfs_mkdir().\nSince commit fe497f0759e0 (\"VFS: change vfs_mkdir() to unlock on\nfailure.\"), vfs_mkdir() calls end_creating() on the input dentry on\nfailure and may replace it on success, so the post-call %pd can\nuse-after-free the dentry when CONFIG_OVERLAY_FS_DEBUG is enabled.\n\nPrint the dentry before the call and only the result afterward.",
  "id": "CVE-2026-98921",
  "modified": "2026-10-28T02:30:31.931769185Z",
  "published": "2026-10-23T12:02:38.969Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/719bd33ab359c539a68a278c15a97deb77565cdb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ae146bc1abdeb4607abf2975b858c053024e8ac1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98921.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98921"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ovl: fix UAF in ovl_do_mkdir() debug print"
}