summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pxa2xx_mainstone.c
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>2019-03-22 15:26:57 +0000
committerNeil Armstrong <narmstrong@baylibre.com>2019-03-25 11:18:47 +0100
commit2d8f92897ad816f5dda54b2ed2fd9f2d7cb1abde (patch)
treecb747ddea9c75d7f786ae529b39b1a7bd1239b79 /drivers/pcmcia/pxa2xx_mainstone.c
parent776e78677f514ecddd12dba48b9040958999bd5a (diff)
downloadlinux-2d8f92897ad816f5dda54b2ed2fd9f2d7cb1abde.tar.bz2
drm/meson: Uninstall IRQ handler
meson_drv_unbind() doesn't unregister the IRQ handler, which can lead to use-after-free if the IRQ fires after unbind: [ 64.656876] Unable to handle kernel paging request at virtual address ffff000011706dbc ... [ 64.662001] pc : meson_irq+0x18/0x30 [meson_drm] I'm assuming that a similar problem could happen on the error path of bind(), so uninstall the IRQ handler there as well. Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller") Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190322152657.13752-2-jean-philippe.brucker@arm.com
Diffstat (limited to 'drivers/pcmcia/pxa2xx_mainstone.c')
0 files changed, 0 insertions, 0 deletions