summaryrefslogtreecommitdiffstats
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2019-04-25 11:44:15 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-04-25 11:44:15 -0400
commit8c380ab4b7b59c0c602743810be1b712514eaebc (patch)
tree219607cef9f919264702e71af75fac9d3e0a0f76 /fs/mbcache.c
parente5d01196c0428a206f307e9ee5f6842964098ff0 (diff)
downloadlinux-stable-8c380ab4b7b59c0c602743810be1b712514eaebc.tar.gz
linux-stable-8c380ab4b7b59c0c602743810be1b712514eaebc.tar.bz2
linux-stable-8c380ab4b7b59c0c602743810be1b712514eaebc.zip
ext4: avoid drop reference to iloc.bh twice
The reference to iloc.bh has been dropped in ext4_mark_iloc_dirty. However, the reference is dropped again if error occurs during ext4_handle_dirty_metadata, which may result in use-after-free bugs. Fixes: fb265c9cb49e("ext4: add ext4_sb_bread() to disambiguate ENOMEM cases") Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz> Cc: stable@kernel.org
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions