linux/drivers/base
Christophe JAILLET 0f9b011d33 driver core: bus: Fix a potential double free
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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-31 18:57:30 +02:00
..
power Merge branches 'intel_pstate' and 'pm-domains' 2017-07-20 18:57:15 +02:00
regmap regmap: regmap-w1: Fix build troubles 2017-07-17 15:53:00 +01:00
test
Kconfig
Makefile
arch_topology.c base: Convert to using %pOF instead of full_name 2017-08-28 17:47:55 +02:00
attribute_container.c
base.h driver core: make device_{add|remove}_groups() public 2017-07-22 11:59:23 +02:00
bus.c driver core: bus: Fix a potential double free 2017-08-31 18:57:30 +02:00
cacheinfo.c
class.c
component.c
container.c
core.c Do not disable driver and bus shutdown hook when class shutdown hook is set. 2017-08-28 18:02:46 +02:00
cpu.c
dd.c initcall_debug: add deferred probe times 2017-08-03 17:48:49 -07:00
devcoredump.c
devres.c
devtmpfs.c
dma-coherent.c dma-coherent: introduce interface for default DMA pool 2017-07-20 16:09:10 +02:00
dma-contiguous.c
dma-mapping.c dma-coherent: introduce interface for default DMA pool 2017-07-20 16:09:10 +02:00
driver.c
firmware.c
firmware_class.c Merge 4.13-rc5 into driver-core-next 2017-08-14 13:33:39 -07:00
hypervisor.c
init.c
isa.c
map.c
memory.c mm, memory_hotplug: do not assume ZONE_NORMAL is default kernel zone 2017-07-06 16:24:32 -07:00
module.c
node.c mm: drop useless local parameters of __register_one_node() 2017-07-10 16:32:32 -07:00
pinctrl.c
platform-msi.c
platform.c This is the bulk of GPIO changes for the v4.13 series: 2017-07-07 12:40:27 -07:00
property.c device property: Introduce fwnode_call_bool_op() for ops that return bool 2017-07-12 13:32:46 +02:00
soc.c
syscore.c
topology.c base: topology: constify attribute_group structures. 2017-08-28 17:49:22 +02:00
transport_class.c