linux-hardened/drivers/bus
Pawel Moll b7c1beb278 bus: arm-ccn: Do not attempt to configure XPs for cycle counter
Fuzzing the CCN perf driver revealed a small but definitely dangerous
mistake in the event setup code. When a cycle counter is requested, the
driver should not reconfigure the events bus at all, otherwise it will
corrupt (in most but the simplest cases) its configuration and may end
up accessing XP array out of its bounds and corrupting control
registers.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Cc: stable@vger.kernel.org # 3.17+
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
2016-08-17 10:48:58 +01:00
..
arm-cci.c bus/arm-cci: Convert to hotplug statemachine 2016-07-14 09:34:39 +02:00
arm-ccn.c bus: arm-ccn: Do not attempt to configure XPs for cycle counter 2016-08-17 10:48:58 +01:00
brcmstb_gisb.c BUS: brcmstb_gisb: Hook to MIPS board_be_handler 2016-05-13 14:01:55 +02:00
imx-weim.c bus: imx-weim: use of_platform_default_populate() to populate default bus 2016-06-23 15:00:45 -05:00
Kconfig bus: Add support for Tegra ACONNECT 2016-07-01 16:35:43 +02:00
Makefile bus: Add support for Tegra ACONNECT 2016-07-01 16:35:43 +02:00
mips_cdmm.c MIPS: Remove no longer needed work_on_cpu() call 2016-05-13 14:02:17 +02:00
mvebu-mbus.c bus: mvebu-mbus: make mvebu_mbus_syscore_ops static 2016-07-11 17:59:24 +02:00
omap-ocp2scp.c bus: omap-ocp2scp: Fix module alias 2015-10-12 16:10:04 -07:00
omap_l3_noc.c Merge branches 'pm-sleep' and 'pm-runtime' 2015-06-19 01:18:02 +02:00
omap_l3_noc.h bus: omap_l3_noc: Fix master id address decoding for OMAP5 2015-05-04 10:21:01 -07:00
omap_l3_smx.c genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely 2015-03-05 20:53:06 +01:00
omap_l3_smx.h
simple-pm-bus.c drivers: bus: Add Simple Power-Managed Bus Driver 2015-02-24 06:36:18 +09:00
sunxi-rsb.c drivers: sunxi-rsb: fix error output type 2016-01-25 00:00:49 +01:00
tegra-aconnect.c bus: Add support for Tegra ACONNECT 2016-07-01 16:35:43 +02:00
uniphier-system-bus.c bus: uniphier-system-bus: use of_platform_default_populate() to populate default bus 2016-06-23 15:00:48 -05:00
vexpress-config.c bus: vexpress-config: Add missing of_node_put 2016-02-01 09:59:58 +00:00