A profound vulnerability in the Linux kernel’s x86 page fault handling has been fixed, with the exposure dating back to 2020. The flaw related to hardware interrupts not being disabled consistently during memory access errors, and it could cause interrupts to be enabled inappropriately depending on the execution path. Linux 6.19 includes the fix, and there are plans to backport it to older stable releases.
The correction involved replacing patchy, branch-specific logic with a single, universal rule that unconditionally disables interrupts at one definitive point before returning to the low-level page fault handler. The discovery was made by Intel engineer Cedric Xing, who reviewed the exception handling code and proposed a more robust approach. For users, the change improves kernel predictability in rare but potentially catastrophic scenarios, rather than delivering a straightforward performance boost.