CVE-2026-143103: arm64: hugetlb: Prevent write fault livelocks on stale TLB entries

Published Dec 3, 2026
·
Updated

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

arm64: hugetlb: Prevent write fault livelocks on stale TLB entries

In Meta production, we have had tasks get stuck in a fault loop while using hugetlb on arm64. During my investigations I found that affected tasks share a private hugetlb page.

Looking at the stuck task states, I found the following ordering:

CPU0 CPU1 ---- ---- read page [read only entry cached in TLB] write page hugetlbfault() hugetlbwp() [reuse folio] sethugeptepmaybewritable() sethugeptepwritable() [flush local TLB only]

write page using stale entry hugetlbfault() hugeptepsetaccessflags() [entry already writable, no flush] retry write using stale entry [fault indefinitely. well, that's not ideal!]

The reason is that when a write fault makes a non-contiguous hugetlb entry writable, it only invalidates the local TLB. However, another CPU can keep the old read-only entry, so its write will fault even though the page table already permits it. hugetlbfault() then finds nothing to change and leaves the stale entry in place, so the same write keeps going round in circles.

This is particularly bad because, if the kernel is copying to user memory, the retry stays inside the kernel and the task can't act on the pending signal.

It can even remain unkillable while holding locks across the copy, resulting in further failures. For example, a read into a hugetlb buffer can hold the pipe mutex and block other users of the pipe until the loop ends, causing cascading lockups across the machine.

To fix this, when a write fault finds nothing to change in a non-contiguous hugetlb entry, let's invalidate the local entry.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Frequently Asked Questions

1

Which systems and workloads are exposed?

The issue affects arm64 systems using hugetlb where tasks share a private hugetlb page. The fault loop requires one CPU to retain a read-only TLB entry while another CPU makes the corresponding non-contiguous hugetlb mapping writable.

2

How can an affected system present operationally?

A task can become stuck repeatedly faulting on a write to a page table entry that is already writable. The repeated faults can continue indefinitely because the CPU retains a stale read-only TLB entry.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203