# CVE-2026-100040: alpha: handle VM_FAULT_HWPOISON in do_page_fault()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:19.746Z
- Modified: 2026-11-30T14:17:21.280Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

alpha: handle VM_FAULT_HWPOISON in do_page_fault()

do_page_fault() handles VM_FAULT_OOM, VM_FAULT_SIGSEGV and
VM_FAULT_SIGBUS and then falls into BUG() for anything else in
VM_FAULT_ERROR. VM_FAULT_HWPOISON and VM_FAULT_HWPOISON_LARGE are in
that set, so a fault on a poisoned page takes down the kernel instead of
delivering a signal.

Alpha does not select ARCH_SUPPORTS_MEMORY_FAILURE, so the machine check
paths cannot produce these. UFFDIO_POISON can: it installs a poison PTE
marker without any memory failure support, and a subsequent access
returns VM_FAULT_HWPOISON. 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 do_page_fault+0x4e8/0x550
  ra is at do_page_fault+0xfc/0x550

The BUG() fires with mmap_read_lock() still held, so the faulting task
is left unkillable in D state holding the lock, and shutdown stalls
behind it. A UFFD_USER_MODE_ONLY userfaultfd is always allowed, so any
local user can do this.

Deliver SIGBUS with BUS_MCEERR_AR instead, reporting the size of the
poisoned area, as the other architectures do. That is the huge page size
for VM_FAULT_HWPOISON_LARGE, 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 show_signal_msg() call dropped, since alpha only
has it since commit 9ca6af1aac40 ("alpha: select
SYSCTL_EXCEPTION_TRACE").

(As written by CVE List.)

## Affected

- Linux Linux: from fc71884a5f599a603fcc3c2b28b3872c09d19c18 before c97972297b3b086d02de80c44696cac98db86b05; from fc71884a5f599a603fcc3c2b28b3872c09d19c18 before c2ba5464ab93186f62128a6b77e0570f50253b7d; from fc71884a5f599a603fcc3c2b28b3872c09d19c18 before 11452dc2e6bb4f42f700eb052dbc700f11b6764f; from fc71884a5f599a603fcc3c2b28b3872c09d19c18 before 8685a6e72d1f9171e652673fa12c4c413eb1ff02; from fc71884a5f599a603fcc3c2b28b3872c09d19c18 before 4bef20bbb9e02568a009efa4d404ce2621289be5; 6.6 (not affected: before 6.6; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/c97972297b3b086d02de80c44696cac98db86b05>
- <https://git.kernel.org/stable/c/c2ba5464ab93186f62128a6b77e0570f50253b7d>
- <https://git.kernel.org/stable/c/11452dc2e6bb4f42f700eb052dbc700f11b6764f>
- <https://git.kernel.org/stable/c/8685a6e72d1f9171e652673fa12c4c413eb1ff02>
- <https://git.kernel.org/stable/c/4bef20bbb9e02568a009efa4d404ce2621289be5>

## Sources

- CVE List: [CVE-2026-100040](https://www.cve.org/CVERecord?id=CVE-2026-100040), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100040](https://nvd.nist.gov/vuln/detail/CVE-2026-100040), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100040 · Whole record: https://cve.day/CVE-2026-100040.json · Rebuilt by cve.day 2026-11-30T14:32:39.673Z
