Bugzilla – Bug 1212704
VUL-0: CVE-2023-3397: kernel-source,kernel-source-rt,kernel-source-azure: slab-use-after-free Write in txEnd due to race condition
Last modified: 2023-10-04 10:52:30 UTC
CVE-2023-3397 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 References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-3397 https://bugzilla.redhat.com/show_bug.cgi?id=2217271
This is a syzkaller discovered bug which does not have a proper resolution. The developer has not posted a followup after the discussion. Closing as WONTFIX because the filesystem is unsupported.