aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorYe Bin <[email protected]>2022-09-14 10:08:12 +0000
committerTheodore Ts'o <[email protected]>2022-10-01 03:46:52 +0000
commit243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd (patch)
tree03104b6889bdf97ca76bd508ab80c03f1838d4af /fs/ext4/fast_commit.c
parentjbd2: fix potential buffer head reference count leak (diff)
downloadkernel-243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd.tar.gz
kernel-243d1a5d505d0b0460c9af0ad56ed4a56ef0bebd.zip
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. Cc: [email protected] Signed-off-by: Ye Bin <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions