From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796045856; b=v6bJKsygjUt5M/gT+rgPKajCC7ytXCcskZ2wvO8UCX5+apSLRPW03eeuB9hMgS5inAkY akKBHKyTzNw7B7qGdJ1WrsZihOl/nEoJqQSqyZBJnvLYoVrSFwS/BkopJVXlfoE0p8RnL KVrNE51I+X9eRSFu8kE4eLdkE+d6Ly9noQz9iK2Lh9tFW6+5zUHKhJNOTbTiB2kdmkNj/ wjo7O0VhxhILeh0HvI/KqEjmlccDN5zFawYUXpb8Gp7k11LdRPm2xoild5kJxX6YNkog8 x0XmUbjB+PnGsbfD0qShytGwit7507rDMy+YfdF/OfUJ4fpqpfxDks1edVmbNJSh4Cg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796045856; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=qFX8hRxiU48wOOsnt8GCgIqNJhblYvx4HK4haV6JnLQ=; b=ibjN7U56ooTxcMKwwinsscUfB6YYaCwk5idmK48pWMK2ilBJIs7L497+RIpnG7erR0fE 2sPh3QOolW3xn33sgYTjpMjjBNbnDRkaUqiEE7J84UMc9PHJgmItLZCGSrm7FlXG8tnIN giwmhNFt6dx/YvFFLrLsNEl1Qx53s5jyWSNd4OA+UW2FnapBAQLRes0ugAOWXPoaCngvs eQ+DaoftDJPX9ganMNUKu4A3lqkjIEao2E5wZD2lTFZFwCb203x6uICjKgjTP7n8WHkqr vlYQu2sQWj9mO/ljDLd8NinDjy1PgPe9P03JG5XFzSDzj+tc8TErxHA9T7hKqlU6Tvg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=cP+ITRT8; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDDB0606A31C for ; Mon, 30 Nov 2026 13:37:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=cP+ITRT8 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95F811F00897; Mon, 30 Nov 2026 13:37:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796045856; bh=qFX8hRxiU48wOOsnt8GCgIqNJhblYvx4HK4haV6JnLQ=; h=From:To:Cc:Subject:Date:Reply-To; b=cP+ITRT83lR4f1e2E0wEkEug4owWPLNxFeTr/mQ4l0txT+90tdJY4xHmbBxsQLAIt O4/z9oALWg+ObPIso5p66dxht3SbrJ2pDxayYuV/G1l/b3PIgtdajuwHYAFFEXv4tM LJM1rpMlEeQ+z0Ph/UeiwYM4e7MnMxb98onxWrU0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-100040: alpha: handle VM_FAULT_HWPOISON in do_page_fault() Date: Mon, 30 Nov 2026 14:23:45 +0100 Message-ID: <2026113014-CVE-2026-100040-50ef@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4079; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yJZYinbk6gFvCKTkxKHKDmZOZVTp1ib6mp/QBxMdwdw=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8FYfOTnbZu3m7UeSSzD1PWA61f1Sx0WHUdum6qf88+ F7BlSXaHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRh7oMC05p//QKD+NX9d+c 4Xq11MH2MONkNoYFx+PNJ35+x7r1QeFnM2EGuexPzx7/BQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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