PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-98921 Linux CVE debrief

A use-after-free vulnerability was found in the ovl_do_mkdir() function of the Linux kernel when CONFIG_OVERLAY_FS_DEBUG is enabled. This issue arises from a debug print statement using %pd after vfs_mkdir(), which may free or replace the dentry on failure or success, respectively. The vulnerability affects Linux kernel configurations where overlayfs is used or debug configurations are enabled, requiring verification and patching to prevent potential exploitation. Defenders should assess exposure and prioritize patching, particularly in systems where overlayfs is used or debug configurations are enabled.

Vendor
Linux
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-23
Original CVE updated
2026-10-23
Advisory published
2026-10-23
Advisory updated
2026-10-23

Who should care

Defenders responsible for Linux kernel security, particularly those managing systems using overlayfs or with debug configurations enabled, should assess exposure and prioritize patching.

Why it matters

This vulnerability requires verification and patching to prevent potential use-after-free exploitation in Linux kernel configurations where overlayfs is used or debug configurations are enabled.

  • Potential for use-after-free exploitation when CONFIG_OVERLAY_FS_DEBUG is enabled
  • Need for verification of Linux kernel versions and patch application
  • Importance of monitoring for potential exploitation attempts or unusual activity

Technical summary

The ovl_do_mkdir() function in the Linux kernel prints the input dentry with %pd after vfs_mkdir(). Since commit fe497f0759e0, vfs_mkdir() calls end_creating() on the input dentry on failure and may replace it on success. This can lead to a use-after-free of the dentry when CONFIG_OVERLAY_FS_DEBUG is enabled. The vulnerability requires verification of Linux kernel versions and patch application, particularly in systems where overlayfs is used or debug configurations are enabled, to prevent potential exploitation. The issue arises from a debug print statement using %pd after vfs_mkdir(), which may free or replace the dentry on failure or success, respectively.

Defensive priority

Defenders should prioritize verifying the Linux kernel version and applying patches to address this vulnerability, particularly in systems where overlayfs is used or debug configurations are enabled.

Recommended defensive actions

  • Verify Linux kernel versions and apply patches to address the vulnerability
  • Review system configurations to ensure CONFIG_OVERLAY_FS_DEBUG is not enabled in production environments
  • Monitor for potential exploitation attempts or unusual activity related to overlayfs
  • Perform a thorough review of the Linux kernel version and apply patches to address the vulnerability
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, including its resolution in specific commits. However, the corpus does not establish definitive exploitation or impact, requiring verification from official sources.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-98921 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-98921

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-98921 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-98921

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • ovl: fix UAF in ovl_do_mkdir() debug print

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/98xxx/CVE-2026-98921.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/719bd33ab359c539a68a278c15a97deb77565cdb

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/ae146bc1abdeb4607abf2975b858c053024e8ac1

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.