x86_64: interrupt stack overflows are not caught #21495
Labels
area: X86_64
x86-64 Architecture (64-bit)
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Stale
x86_64 does not catch stack overflows that take place on the interrupt stack as expected by the CONFIG_HW_STACK_PROTECTION feature.
In detail, x86_64 uses separate interrupt stack buffers for each IRQ nesting level. None of them have guard pages configured. We need to have a guard page for every IRQ nesting level stack, or have nested IRQs take place all on the same stack with a guard region at the end (which is what most arches do).
We need a test case which proves that the scenario works, our current tests for stack overflows only test thread stacks, not interrupts or exceptions.
The text was updated successfully, but these errors were encountered: