From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-cve-announce@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@kernel.org>
Subject: CVE-2026-100040: alpha: handle VM_FAULT_HWPOISON in do_page_fault()
Date: Mon, 30 Nov 2026 14:23:45 +0100 [thread overview]
Message-ID: <2026113014-CVE-2026-100040-50ef@gregkh> (raw)
From: Greg Kroah-Hartman <gregkh@kernel.org>
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").
The Linux kernel CVE team has assigned CVE-2026-100040 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6 with commit fc71884a5f599a603fcc3c2b28b3872c09d19c18 and fixed in 6.6.163 with commit c97972297b3b086d02de80c44696cac98db86b05
Issue introduced in 6.6 with commit fc71884a5f599a603fcc3c2b28b3872c09d19c18 and fixed in 6.12.117 with commit c2ba5464ab93186f62128a6b77e0570f50253b7d
Issue introduced in 6.6 with commit fc71884a5f599a603fcc3c2b28b3872c09d19c18 and fixed in 6.18.63 with commit 11452dc2e6bb4f42f700eb052dbc700f11b6764f
Issue introduced in 6.6 with commit fc71884a5f599a603fcc3c2b28b3872c09d19c18 and fixed in 7.3.4 with commit 8685a6e72d1f9171e652673fa12c4c413eb1ff02
Issue introduced in 6.6 with commit fc71884a5f599a603fcc3c2b28b3872c09d19c18 and fixed in 7.4-rc1 with commit 4bef20bbb9e02568a009efa4d404ce2621289be5
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-100040
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/alpha/mm/fault.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
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
reply other threads:[~2026-11-30 13:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026113014-CVE-2026-100040-50ef@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=cve@kernel.org \
--cc=gregkh@kernel.org \
--cc=linux-cve-announce@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.