Files
linux/drivers/base
Christophe JAILLET 1875ed81c2 driver core: bus: Fix a potential double free
commit 0f9b011d33 upstream.

The .release function of driver_ktype is 'driver_release()'.
This function frees the container_of this kobject.

So, this memory must not be freed explicitly in the error handling path of
'bus_add_driver()'. Otherwise a double free will occur.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-13 14:09:44 -07:00
..
2015-09-17 06:06:54 -07:00
2014-07-04 18:05:05 +01:00
2017-07-21 07:44:58 +02:00
2015-10-04 19:42:22 +01:00
2014-09-01 13:48:59 +02:00