summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic
diff options
context:
space:
mode:
authorThomas Gleixner2015-12-31 17:30:45 +0100
committerThomas Gleixner2016-01-15 13:43:59 +0100
commit36f34c8c63da3e272fd66f91089228c22d2b6e8b (patch)
tree7797528912186ea732fb2679482472f1a90f2b35 /arch/x86/kernel/apic
parentx86/irq: Fix a race in x86_vector_free_irqs() (diff)
downloadkernel-qcow2-linux-36f34c8c63da3e272fd66f91089228c22d2b6e8b.tar.gz
kernel-qcow2-linux-36f34c8c63da3e272fd66f91089228c22d2b6e8b.tar.xz
kernel-qcow2-linux-36f34c8c63da3e272fd66f91089228c22d2b6e8b.zip
x86/irq: Validate that irq descriptor is still active
In fixup_irqs() we unconditionally dereference the irq chip of an irq descriptor. The descriptor might still be valid, but already cleaned up, i.e. the chip removed. Add a check for this condition. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Jiang Liu <jiang.liu@linux.intel.com> Cc: Joe Lawrence <joe.lawrence@stratus.com> Cc: Jeremiah Mahler <jmmahler@gmail.com> Cc: Borislav Petkov <bp@alien8.de> Cc: andy.shevchenko@gmail.com Cc: Guenter Roeck <linux@roeck-us.net> Cc: stable@vger.kernel.org #4.3+ Link: http://lkml.kernel.org/r/20151231160106.236423282@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic')
0 files changed, 0 insertions, 0 deletions