{"id":"CVE-2026-98921","revision":"64d6bc6a56894ed0913f02ca6398341c","records":[{"revision":"64d6bc6a56894ed0913f02ca6398341c","observedAt":"2026-10-23T16:01:20.601+00:00","statement":{"source":"cve-program","id":"CVE-2026-98921","aliases":[],"title":"ovl: fix UAF in ovl_do_mkdir() debug print","description":"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.","state":0,"publishedAt":"2026-10-23T12:02:38.969+00:00","modifiedAt":"2026-10-23T12:05:33.583+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/overlayfs/overlayfs.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"fe497f0759e0efb949f9480911d00b6045c21f50\",\n                            \"lessThan\": \"719bd33ab359c539a68a278c15a97deb77565cdb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"fe497f0759e0efb949f9480911d00b6045c21f50\",\n                            \"lessThan\": \"ae146bc1abdeb4607abf2975b858c053024e8ac1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/overlayfs/overlayfs.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.19\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.19\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/719bd33ab359c539a68a278c15a97deb77565cdb","https://git.kernel.org/stable/c/ae146bc1abdeb4607abf2975b858c053024e8ac1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98921","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98921","identifiers":["CVE-2026-98921"]},"retained":false,"historicalAffected":[]}],"coverage":[]}