Files
linux/drivers/md
Alexey Khoroshilov fdef68fb1b dm log userspace: fix memory leak in dm_ulog_tfr_init failure path
commit 56ec16cb1e upstream.

If cn_add_callback() fails in dm_ulog_tfr_init(), it does not
deallocate prealloced memory but calls cn_del_callback().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-14 08:47:55 -08:00
..
2014-02-06 11:08:16 -08:00
2013-04-24 11:42:41 +10:00
2013-03-01 22:45:51 +00:00
2013-03-01 22:45:51 +00:00
2012-03-28 18:41:29 +01:00
2013-03-01 22:45:51 +00:00
2012-07-30 17:25:16 -07:00
2014-02-13 13:48:02 -08:00
2013-03-01 22:45:47 +00:00
2014-02-13 13:48:02 -08:00
2014-02-13 13:48:02 -08:00
2013-03-23 14:15:29 -07:00
2014-02-13 13:48:02 -08:00
2013-03-23 14:15:29 -07:00
2014-02-13 13:48:02 -08:00