ext4: fix possible leak of sbi->s_group_desc_leak in error path
commit0d339ced07928837cc177c15a45b9789bde30e03
authorTheodore Ts'o <tytso@mit.edu>
Wed, 7 Nov 2018 15:32:53 +0000 (7 10:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:19:22 +0000 (21 09:19 +0100)
tree3a65a316205ca3e57b04402438aabb2490b990fc
parent64a3d5374bb1614e654bc11436425a7c45fcdd3b
ext4: fix possible leak of sbi->s_group_desc_leak in error path

commit 9e463084cdb22e0b56b2dfbc50461020409a5fd3 upstream.

Fixes: bfe0a5f47ada ("ext4: add more mount time checks of the superblock")
Reported-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org # 4.18
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/super.c