From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753784AbbLaQb4 (ORCPT ); Thu, 31 Dec 2015 11:31:56 -0500 Received: from www.linutronix.de ([62.245.132.108]:46654 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266AbbLaQbo (ORCPT ); Thu, 31 Dec 2015 11:31:44 -0500 Message-Id: <20151231155849.772553760@linutronix.de> User-Agent: quilt/0.63-1 Date: Thu, 31 Dec 2015 16:30:44 -0000 From: Thomas Gleixner To: LKML Cc: Ingo Molnar , Peter Anvin , Jiang Liu , Joe Lawrence , Jeremiah Mahler , Borislav Petkov , andy.shevchenko@gmail.com, Guenter Roeck Subject: [patch 00/14] x86/irq: Plug various vector cleanup races X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Joe reported a nasty race in the vector cleanup code which results in stale irq descriptors in the vector arrays and a potential use after free. This series addresses this issue, another race which was found and fixed by Jiang related to the same area, plus a cpu hotplug issue which is not related to this. This lot is intended for stable, but not yet marked so. The diffstat below is rather large, but this is mostly due to extensive commentry which I added in the process. This is also available via git from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/apic Thanks, tglx --- include/asm/irq.h | 5 - kernel/apic/vector.c | 221 +++++++++++++++++++++++++++++++++------------------ kernel/irq.c | 11 ++ 3 files changed, 158 insertions(+), 79 deletions(-)