CVE-2026-100040: alpha: handle VM_FAULT_HWPOISON in do_page_fault()
In the Linux kernel, the following vulnerability has been resolved:
alpha: handle VMFAULTHWPOISON in dopagefault()
dopagefault() handles VMFAULTOOM, VMFAULTSIGSEGV and VMFAULTSIGBUS and then falls into BUG() for anything else in VMFAULTERROR. VMFAULTHWPOISON and VMFAULTHWPOISONLARGE are in that set, so a fault on a poisoned page takes down the kernel instead of delivering a signal.
Alpha does not select ARCHSUPPORTSMEMORYFAILURE, so the machine check paths cannot produce these. UFFDIOPOISON can: it installs a poison PTE marker without any memory failure support, and a subsequent access returns VMFAULTHWPOISON. Registering an anonymous range with userfaultfd, poisoning it and reading it back reliably hits the BUG():
Kernel bug at arch/alpha/mm/fault.c:188 poison(50809): Kernel Bug 1 pc is at dopagefault+0x4e8/0x550 ra is at dopagefault+0xfc/0x550
The BUG() fires with mmapreadlock() still held, so the faulting task is left unkillable in D state holding the lock, and shutdown stalls behind it. A UFFDUSERMODEONLY userfaultfd is always allowed, so any local user can do this.
Deliver SIGBUS with BUSMCEERRAR instead, reporting the size of the poisoned area, as the other architectures do. That is the huge page size for VMFAULTHWPOISONLARGE, which becomes reachable once alpha implements huge pages.
Tested on an UP1500 (EV68AL): the reproducer above now takes a SIGBUS and the kernel logs
poison[373]: hardware memory error at 0000020000030000 pc 00000200010007ec
with no oops, no wedged task and no taint.
A backport needs the showsignalmsg() call dropped, since alpha only has it since commit 9ca6af1aac40 ("alpha: select SYSCTLEXCEPTIONTRACE").
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue affects Linux kernel systems on the Alpha architecture. It is reachable by any local user because a UFFD_USER_MODE_ONLY userfaultfd is always permitted.
What does an attacker need to trigger the failure?
A local user needs to register an anonymous memory range with userfaultfd, poison the range using UFFDIO_POISON, and then access it. The resulting poisoned-page fault reaches a BUG() condition.
What is the operational impact of successful exploitation?
The kernel BUG leaves the faulting task unkillable in D state while it holds mmap_read_lock(). This can block other activity behind that lock and cause system shutdown to stall.
How can administrators identify whether this has occurred?
Kernel logs may show a kernel bug at arch/alpha/mm/fault.c:188, with do_page_fault in the program counter trace. The affected process may remain stuck in uninterruptible D state.