AZL-116749: CVE-2026-100040 affecting package kernel 6.6.161.1-1
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 vulnerable fault-handling path is specific to the Alpha architecture. The reported affected package is azure-linux/kernel version 6.6.161.1-1.
Does exploitation require privileges or memory-failure hardware support?
No. Any local user can use a UFFD_USER_MODE_ONLY userfaultfd, which is always allowed; Alpha does not need to support hardware memory-failure paths for this condition to be triggered.
What must an attacker do to trigger the failure?
They must register an anonymous memory range with userfaultfd, poison it with UFFDIO_POISON, and then access the poisoned range. The resulting page fault reaches a BUG() rather than delivering a signal.
What is the operational impact and how can it be recognized?
The faulting task remains unkillable in D state while holding mmap_read_lock(), and shutdown can stall waiting behind that task. Logs may show a kernel BUG in arch/alpha/mm/fault.c at do_page_fault(), with a message similar to "Kernel bug at arch/alpha/mm/fault.c:188".