https://source.android.com/security/bulletin/2018-06-01
CVE-2017-17806
CVE-2017-17807
CVE-2017-17558
CVE-2018-9383
CVE-2018-9393
CVE-2018-9385
CVE-2018-9389
CVE-2018-7480
CVE-2017-18075
blkcg: fix double free of new_blkg in blkcg_init_queue

commit 9b54d816e00425c3a517514e0d677bb3cec49258 upstream.

If blkg_create fails, new_blkg passed as an argument will
be freed by blkg_create, so there is no need to free it again.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

1 file changed