In the Linux kernel, the following vulnerability has been resolved:
jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
In jbd2_fc_wait_bufs use bh after put buffer head reference count which may lead to use-after-free. So judge buffer if uptodate before put buffer head reference count.