Description
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.
Published: 2026-10-23
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: kernel crash due to use‑after‑free in overlay filesystem debug print
Action: Apply Patch
AI Analysis

Impact

The vulnerability in the Linux kernel arises from an improper handling of a dentry in the overlay filesystem’s mkdir helper. After a successful vfs_mkdir() call the kernel debug path attempts to print the resulting dentry with the %pd format. Because vfs_mkdir() may free or replace the dentry on failure, the post‑call %pd can reference a dentry that no longer exists, resulting in a use‑after‑free that can crash the kernel.

Affected Systems

All Linux kernel instances compiled with CONFIG_OVERLAY_FS enabled and with CONFIG_OVERLAY_FS_DEBUG active that have not yet incorporated commit fe497f0759e0 or a later patch are affected. The CVE entry does not list specific kernel versions, so the problem applies to any release lacking this fix.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity. The EPSS score of less than 1% shows an extremely low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would likely require local access to a system running the vulnerable kernel and the ability to trigger a mkdir operation under the overlay filesystem while debug logging is enabled. Given the limited configuration requirements and low exploitation probability, the overall risk is moderate, but a successful attack would result in a kernel crash.

Generated by OpenCVE AI on October 29, 2026 at 23:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes commit fe497f0759e0 or a later patch that fixes the use‑after‑free in the overlay filesystem’s debug print.
  • Reboot the system so the updated kernel becomes active.
  • If a kernel update cannot be performed immediately, recompile or rebuild the kernel with CONFIG_OVERLAY_FS_DEBUG disabled to eliminate the vulnerable debug printing path.

Generated by OpenCVE AI on October 29, 2026 at 23:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 29 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 23 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 23 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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.
Title ovl: fix UAF in ovl_do_mkdir() debug print
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T12:05:33.583Z

Reserved: 2026-09-25T10:25:14.380Z

Link: CVE-2026-98921

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:12.733

Modified: 2026-10-23T13:17:12.733

Link: CVE-2026-98921

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T00:00:00Z

Links: CVE-2026-98921 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T23:30:03Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference