Skip to content
Commit 04fb2baa authored by Phillip Potter's avatar Phillip Potter Committed by Greg Kroah-Hartman
Browse files

ext4: fix memory leak in ext4_mb_init_backend on error path.

commit a8867f4e

 upstream.

Fix a memory leak discovered by syzbot when a file system is corrupted
with an illegally large s_log_groups_per_flex.

Reported-by: default avatar <syzbot+aa12d6106ea4ca1b6aae@syzkaller.appspotmail.com>
Signed-off-by: default avatarPhillip Potter <phil@philpotter.co.uk>
Cc: stable@kernel.org
Link: https://lore.kernel.org/r/20210412073837.1686-1-phil@philpotter.co.uk
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ba499e0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment