alistair23-linux/drivers/staging/vc04_services
Stefan Wahren 974d4d03fc staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
This fixes a NULL pointer dereference on RPi 2 with multi_v7_defconfig.
The function page_address() could return NULL with enabled CONFIG_HIGHMEM.
So fix this by using kmap() instead.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: 71bad7f086 ("staging: add bcm2708 vchiq driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-18 12:25:31 +02:00
..
bcm2835-audio staging: bcm2835-audio: make snd_pcm_hardware const 2017-08-18 15:57:16 -07:00
bcm2835-camera staging: bcm2835-camera: make video_device const 2017-08-28 10:40:39 +02:00
interface staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist 2017-09-18 12:25:31 +02:00
Kconfig Merge 4.11-rc4 into staging-next 2017-03-27 09:11:25 +02:00
Makefile staging: bcm2835-camera: Move driver under vc04_services 2017-03-06 09:17:07 +01:00