{"id":"CVE-2026-100040","aliases":["CVE-2026-100040"],"related":[],"kind":"vulnerability","state":"published","title":"alpha: handle VM_FAULT_HWPOISON in do_page_fault()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nalpha: handle VM_FAULT_HWPOISON in do_page_fault()\n\ndo_page_fault() handles VM_FAULT_OOM, VM_FAULT_SIGSEGV and\nVM_FAULT_SIGBUS and then falls into BUG() for anything else in\nVM_FAULT_ERROR. VM_FAULT_HWPOISON and VM_FAULT_HWPOISON_LARGE are in\nthat set, so a fault on a poisoned page takes down the kernel instead of\ndelivering a signal.\n\nAlpha does not select ARCH_SUPPORTS_MEMORY_FAILURE, so the machine check\npaths cannot produce these. UFFDIO_POISON can: it installs a poison PTE\nmarker without any memory failure support, and a subsequent access\nreturns VM_FAULT_HWPOISON. Registering an anonymous range with\nuserfaultfd, poisoning it and reading it back reliably hits the BUG():\n\n  Kernel bug at arch/alpha/mm/fault.c:188\n  poison(50809): Kernel Bug 1\n  pc is at do_page_fault+0x4e8/0x550\n  ra is at do_page_fault+0xfc/0x550\n\nThe BUG() fires with mmap_read_lock() still held, so the faulting task\nis left unkillable in D state holding the lock, and shutdown stalls\nbehind it. A UFFD_USER_MODE_ONLY userfaultfd is always allowed, so any\nlocal user can do this.\n\nDeliver SIGBUS with BUS_MCEERR_AR instead, reporting the size of the\npoisoned area, as the other architectures do. That is the huge page size\nfor VM_FAULT_HWPOISON_LARGE, which becomes reachable once alpha\nimplements huge pages.\n\nTested on an UP1500 (EV68AL): the reproducer above now takes a SIGBUS\nand the kernel logs\n\n  poison[373]: hardware memory error at 0000020000030000 pc 00000200010007ec\n\nwith no oops, no wedged task and no taint.\n\nA backport needs the show_signal_msg() call dropped, since alpha only\nhas it since commit 9ca6af1aac40 (\"alpha: select\nSYSCTL_EXCEPTION_TRACE\").","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nalpha: handle VM_FAULT_HWPOISON in do_page_fault()\n\ndo_page_fault() handles VM_FAULT_OOM, VM_FAULT_SIGSEGV and\nVM_FAULT_SIGBUS and then falls into BUG() for anything else in\nVM_FAULT_ERROR. VM_FAULT_HWPOISON and VM_FAULT_HWPOISON_LARGE are in\nthat set, so a fault on a poisoned page takes down the kernel instead of\ndelivering a signal.\n\nAlpha does not select ARCH_SUPPORTS_MEMORY_FAILURE, so the machine check\npaths cannot produce these. UFFDIO_POISON can: it installs a poison PTE\nmarker without any memory failure support, and a subsequent access\nreturns VM_FAULT_HWPOISON. Registering an anonymous range with\nuserfaultfd, poisoning it and reading it back reliably hits the BUG():\n\n  Kernel bug at arch/alpha/mm/fault.c:188\n  poison(50809): Kernel Bug 1\n  pc is at do_page_fault+0x4e8/0x550\n  ra is at do_page_fault+0xfc/0x550\n\nThe BUG() fires with mmap_read_lock() still held, so the faulting task\nis left unkillable in D state holding the lock, and shutdown stalls\nbehind it. A UFFD_USER_MODE_ONLY userfaultfd is always allowed, so any\nlocal user can do this.\n\nDeliver SIGBUS with BUS_MCEERR_AR instead, reporting the size of the\npoisoned area, as the other architectures do. That is the huge page size\nfor VM_FAULT_HWPOISON_LARGE, which becomes reachable once alpha\nimplements huge pages.\n\nTested on an UP1500 (EV68AL): the reproducer above now takes a SIGBUS\nand the kernel logs\n\n  poison[373]: hardware memory error at 0000020000030000 pc 00000200010007ec\n\nwith no oops, no wedged task and no taint.\n\nA backport needs the show_signal_msg() call dropped, since alpha only\nhas it since commit 9ca6af1aac40 (\"alpha: select\nSYSCTL_EXCEPTION_TRACE\").","source":"cvelist"}],"published":"2026-11-30T13:23:19.746Z","modified":"2026-11-30T14:17:21.280Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fc71884a5f599a603fcc3c2b28b3872c09d19c18","fixed":"c97972297b3b086d02de80c44696cac98db86b05","status":"affected"},{"type":"git","introduced":"fc71884a5f599a603fcc3c2b28b3872c09d19c18","fixed":"c2ba5464ab93186f62128a6b77e0570f50253b7d","status":"affected"},{"type":"git","introduced":"fc71884a5f599a603fcc3c2b28b3872c09d19c18","fixed":"11452dc2e6bb4f42f700eb052dbc700f11b6764f","status":"affected"},{"type":"git","introduced":"fc71884a5f599a603fcc3c2b28b3872c09d19c18","fixed":"8685a6e72d1f9171e652673fa12c4c413eb1ff02","status":"affected"},{"type":"git","introduced":"fc71884a5f599a603fcc3c2b28b3872c09d19c18","fixed":"4bef20bbb9e02568a009efa4d404ce2621289be5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c97972297b3b086d02de80c44696cac98db86b05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2ba5464ab93186f62128a6b77e0570f50253b7d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11452dc2e6bb4f42f700eb052dbc700f11b6764f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8685a6e72d1f9171e652673fa12c4c413eb1ff02","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bef20bbb9e02568a009efa4d404ce2621289be5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100040","url":"https://www.cve.org/CVERecord?id=CVE-2026-100040","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:19.746Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100040","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100040","licence":"Public domain","modified":"2026-11-30T14:17:21.280Z"}],"updatedAt":"2026-11-30T14:32:39.673Z","epss":{"score":0.00168,"percentile":0.06392,"date":"2026-12-01T12:00:22.000Z"}}