A race condition occurred between two functions lmLogClose and txEnd, which were executed in different threads. The possible sequence is as follows: ------------------------------------------------------------------------- cpu1(free thread) | cpu2(use thread) ------------------------------------------------------------------------- lmLogClose | txEnd | log = JFS_SBI(tblk->sb)->log; sbi->log = NULL; | kfree(log); [1] free log | | clear_bit(log_FLUSH, &log->flag); [2] UAF
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2217272]
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2023-3397