Russell King
9a4e7849b5
component: fix crash on x86_64 with hda audio drivers
...
Maarten reports that the addition of releasing match data to the
component helper results in a general protection fault on x86_64.
This is caused by the devm resources being freed in reverse order
to their allocation, which caused a use-after-free of the match
array.
Switch the match array to be a more conventional kmalloc/kfree()
affair, explicitly freeing it along with the parent match data
structure.
Reported-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: ce657b1cdd ("component: add support for releasing match data")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2016-01-26 18:13:33 +00:00
..
power
More power management and ACPI updates for v4.4-rc1
2015-11-12 11:50:33 -08:00
regmap
driver core update for 4.4-rc1
2015-11-04 21:50:37 -08:00
attribute_container.c
base.h
driver core: correct device's shutdown order
2015-08-05 17:07:19 -07:00
bus.c
cacheinfo.c
cpu/cacheinfo: Fix teardown path
2015-09-17 06:06:54 -07:00
class.c
class_find_device: fix reference to argument "match"
2015-09-29 15:23:14 +02:00
component.c
component: fix crash on x86_64 with hda audio drivers
2016-01-26 18:13:33 +00:00
container.c
core.c
of: to support binding numa node to specified device in devicetree
2015-10-17 22:11:50 -07:00
cpu.c
cpu: Remove bogus __ref annotation of cpu_subsys_online()
2015-08-05 15:18:26 -07:00
dd.c
drivers/pinctrl: Add the concept of an "init" state
2015-10-27 11:24:23 +01:00
devcoredump.c
devres.c
devm: make allocations numa aware by default
2015-10-09 17:00:33 -04:00
devtmpfs.c
dma-coherent.c
dma-contiguous.c
driver core update for 4.4-rc1
2015-11-04 21:50:37 -08:00
dma-mapping.c
driver.c
firmware.c
firmware_class.c
firmware: fix wrong memory deallocation in fw_add_devm_name()
2015-08-05 15:18:26 -07:00
hypervisor.c
init.c
isa.c
Kconfig
Makefile
drivers/base: Add MSI domain support for non-PCI devices
2015-07-30 00:14:38 +02:00
map.c
memory.c
module.c
node.c
Revert "mm: Check if section present during memory block (un)registering"
2015-10-13 10:57:25 -07:00
pinctrl.c
drivers/pinctrl: Add the concept of an "init" state
2015-10-27 11:24:23 +01:00
platform-msi.c
irqdomain/msi: Use fwnode instead of of_node
2015-10-13 19:01:25 +02:00
platform.c
driver-core: platform: Provide helpers for multi-driver modules
2015-10-05 05:02:40 +01:00
property.c
device property: ACPI: Remove unused DMA APIs
2015-11-07 01:29:22 +01:00
soc.c
base: soc: siplify ida usage
2015-10-04 19:42:22 +01:00
syscore.c
topology.c
transport_class.c