ext4: fix buffer leak in ext4_xattr_get_block() on error path
authorVasily Averin <vvs@virtuozzo.com>
Wed, 7 Nov 2018 16:01:33 +0000 (11:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:24:12 +0000 (09:24 +0100)
commit70ca35b44acea71dff052bb45e9c806a991d8bca
tree546eeae80cc00af08ecac01460e0806c3a9f2a48
parent181224f970c445bc3de2b3b42e30f2e2a294e30f
ext4: fix buffer leak in ext4_xattr_get_block() on error path

commit ecaaf408478b6fb4d9986f9b6652f3824e374f4c upstream.

Fixes: dec214d00e0d ("ext4: xattr inode deduplication")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org # 4.13
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/xattr.c