Skip to content
Heist/ feed
Unrated

ovl: fix UAF in ovl_do_mkdir() debug print

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: ovl: fix UAF in ovl_do_mkdir() debug print ovl_do_mkdir() prints the input dentry with %pd after vfs_mkdir(). Since commit fe497f0759e0 ("VFS: change vfs_mkdir() to unlock on failure."), vfs_mkdir() calls end_creating() on the input dentry on failure and may replace it on success, so the post-call %pd can use-after-free the dentry when CONFIG_OVERLAY_FS_DEBUG is enabled. Print the dentry before the call and only the result afterward.

Announced Group revision 1
Original source ↗

CVE-2026-98921

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98921

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "fe497f0759e0efb949f9480911d00b6045c21f50",
        "lessThan": "719bd33ab359c539a68a278c15a97deb77565cdb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "fe497f0759e0efb949f9480911d00b6045c21f50",
        "lessThan": "ae146bc1abdeb4607abf2975b858c053024e8ac1",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/overlayfs/overlayfs.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "7.2.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/overlayfs/overlayfs.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98921

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#52782 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement