{"id":"CVE-2026-98921","aliases":["CVE-2026-98921"],"related":[],"kind":"vulnerability","state":"published","title":"ovl: fix UAF in ovl_do_mkdir() debug print","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-23T12:02:38.969Z","modified":"2026-10-23T13:17:12.733Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fe497f0759e0efb949f9480911d00b6045c21f50","fixed":"719bd33ab359c539a68a278c15a97deb77565cdb","status":"affected"},{"type":"git","introduced":"fe497f0759e0efb949f9480911d00b6045c21f50","fixed":"ae146bc1abdeb4607abf2975b858c053024e8ac1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/719bd33ab359c539a68a278c15a97deb77565cdb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae146bc1abdeb4607abf2975b858c053024e8ac1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98921","url":"https://www.cve.org/CVERecord?id=CVE-2026-98921","licence":"CVE Terms of Use","modified":"2026-10-23T12:05:33.583Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98921","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98921","licence":"Public domain","modified":"2026-10-23T13:17:12.733Z"}],"updatedAt":"2026-11-25T22:59:46.910Z","epss":{"score":0.00156,"percentile":0.04986,"date":"2026-12-01T12:00:22.000Z"}}