A use-after-free vulnerability in the Linux kernel overlay filesystem (ovl) occurs when listing a directory during its copy-up operation. This happens because the OVL_WHITEOUTS flag is not set before publishing the upper directory, causing the readdir cache to be freed improperly. The flaw allows an unprivileged process to trigger a use-after-free condition by listing a directory at a specific timing window during copy-up.