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