x86/irq: Plug various vector cleanup races
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | x86/irq: Fix a race in x86_vector_free_irqs()arch/ | +8 | 0 replies | |
| 2/14 | x86/irq: Validate that irq descriptor is still activearch/ | +9 | 0 replies | |
| 3/14 | x86/irq: Do not use apic_chip_data.old_domain as temporary bufferarch/ | +5 | 0 replies | |
| 4/14 | x86/irq: Reorganize the return path in assign_irq_vectorarch/ | +8 | 0 replies | |
| 5/14 | x86/irq: Reorganize the search in assign_irq_vectorarch/ | +16 | 0 replies | |
| 6/14 | x86/irq: Check vector allocation earlyarch/ | +25 | 0 replies | |
| 7/14 | x86/irq: Copy vectormask instead of an AND operationarch/ | +1 | 0 replies | |
| 8/14 | x86/irq: Get rid of code duplicationarch/ | +15 | 0 replies | |
| 9/14 | x86/irq: Remove offline cpus from vector cleanuparch/ | +6 | 0 replies | |
| 10/14 | x86/irq: Clear move_in_progress before sending cleanup IPIarch/ | +3 | 0 replies | |
| 11/14 | x86/irq: Remove the cpumask allocation from send_cleanup_vector()arch/ | +3 | 0 replies | |
| 12/14 | x86/irq: Remove outgoing CPU from vector cleanup maskarch/ | +16 | 0 replies | |
| 13/14 | x86/irq: Call irq_force_move_complete with irq descriptorarch/ arch/ arch/ | +11 | 0 replies | |
| 14/14 | x86/irq: Plug vector cleanup racearch/ | +53 | 0 replies |
Reviews trailers per patch
None of the 14 patches has a Reviewed-by or Acked-by.
| Patch | Joe Lawrence | Borislav Petkov |
|---|---|---|
| Series | T-b | T-b |
| 1/14 | ||
| 2/14 | ||
| 3/14 | ||
| 4/14 | ||
| 5/14 | ||
| 6/14 | ||
| 7/14 | ||
| 8/14 | ||
| 9/14 | ||
| 10/14 | ||
| 11/14 | ||
| 12/14 | ||
| 13/14 | ||
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/14] x86/irq: Plug various vector cleanup races
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(-)