jbd2_journal_wait_updates in fs/jbd2/transaction.c in the Linux kernel before 5.17.1 has a use-after-free caused by a transaction_t race condition. Reference: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.1 https://github.com/torvalds/linux/commit/cc16eecae687912238ee6efbff71ad31e2bc414e
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2073942]
The fix The patch which created this issue was in 5.17-rc3 and later kernels, and the fix was brought back into 5.17.1, so stable Fedora releases are not impacted, and the Fedora 36 beta was fixed with the 5.17.1 kernel update.