A flaw found in the Linux Kernel. For the Ext4 file system if overlay FS being used, use after free could happen as result of the race condition. The bug actual if patch 9a2544037600 not applied yet. Example for triggering in a overlay on ext4 setup: aio_read ovl_read_iter vfs_iter_read ext4_file_read_iter ext4_dio_read_iter iomap_dio_rw -> -EIOCBQUEUED /* * Here IO is completed in a separate thread, * ovl_aio_cleanup_handler() frees aio_req which has iocb embedded */ file_accessed(iocb->ki_filp); /**BOOM**/ Reference: https://lore.kernel.org/lkml/20211115165433.449951285@linuxfoundation.org/
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2176141]
This was fixed for Fedora with the 5.14.19 stable kernel updates.