# CVE-2026-53207: mm/memory-failure: fix hugetlb\_lock AA deadlock in get\_huge\_page\_for\_hwpoison

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2026-06-25T08:39:13.592Z
- **Modified:** 2026-11-06T17:18:13.840Z

## Who should check

- Anyone running Linux \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< fc3ff42cb0cbf947e4600ae9761c3783760050e2; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< 77b73b54801ae7137479c141fd0473a491c1dc48; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< a33bfed648c10f5a1519981dbfad80841191edc8; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< dd77a83915b07e2b0205adb284f08b39ae31dc4b; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< bf7ba8f96c258c30393814491930ae4ecdc5fe5e; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< 3c2d42b8ee345b17a4ba56b0f6492d1ff4c1178e; 62d1655b922958826b7ec22682c3141746f75064; \>= 5.15.54, \< 5.16
- Anyone running Linux 5.18

## Description

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

mm/memory-failure: fix hugetlb\_lock AA deadlock in get\_huge\_page\_for\_hwpoison

Two concurrent madvise(MADV\_HWPOISON) calls on the same hugetlb page can
trigger a recursive spinlock self-deadlock (AA deadlock) on hugetlb\_lock
when racing with a concurrent unmap:

  thread\#0                              thread\#1
  --------                              --------
  madvise(folio, MADV\_HWPOISON)
    -\> poisons the folio successfully
  madvise(folio, MADV\_HWPOISON)         unmap(folio)
    try\_memory\_failure\_hugetlb
      get\_huge\_page\_for\_hwpoison
        spin\_lock\_irq(&hugetlb\_lock)    \<- held
        \_\_get\_huge\_page\_for\_hwpoison
          hugetlb\_update\_hwpoison()
            -\> MF\_HUGETLB\_FOLIO\_PRE\_POISONED
          goto out:
            folio\_put()
              refcount: 1 -\> 0
              free\_huge\_folio()
                spin\_lock\_irqsave(&hugetlb\_lock)
                  -\> AA DEADLOCK!

The out: path in \_\_get\_huge\_page\_for\_hwpoison() calls folio\_put() to drop
the GUP reference while the hugetlb\_lock is still held by the hugetlb.c
wrapper get\_huge\_page\_for\_hwpoison().  If concurrent unmap has released
the page table mapping reference, folio\_put() drops the folio refcount to
zero, triggering free\_huge\_folio() which attempts to re-acquire the
non-recursive hugetlb\_lock.

Fix this by moving hugetlb\_lock acquisition from the hugetlb.c wrapper
into get\_huge\_page\_for\_hwpoison().  Place spin\_unlock\_irq() before the
folio\_put() at the out: label so the folio is always released outside the
lock.

\[akpm@linux-foundation.org: fix race, rename label per Miaohe\]

## Affected and fixed versions

- Linux: \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< fc3ff42cb0cbf947e4600ae9761c3783760050e2; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< 77b73b54801ae7137479c141fd0473a491c1dc48; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< a33bfed648c10f5a1519981dbfad80841191edc8; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< dd77a83915b07e2b0205adb284f08b39ae31dc4b; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< bf7ba8f96c258c30393814491930ae4ecdc5fe5e; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< 3c2d42b8ee345b17a4ba56b0f6492d1ff4c1178e; 62d1655b922958826b7ec22682c3141746f75064; \>= 5.15.54, \< 5.16 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 5.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53207. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53207.md
Affected: Linux >= 405ce051236cc65b30bbfe490b28ce60ae6aed85, < fc3ff42cb0cbf947e4600ae9761c3783760050e2; >= 405ce051236cc65b30bbfe490b28ce60ae6aed85, < 77b73b54801ae7137479c141fd0473a491c1dc48; >= 405ce051236cc65b30bbfe490b28ce60ae6aed85, < a33bfed648c10f5a1519981dbfad80841191edc8; >= 405ce051236cc65b30bbfe4…
Fixed in: Linux 77b73b54801ae7137479c141fd0473a491c1dc48, Linux 3c2d42b8ee345b17a4ba56b0f6492d1ff4c1178e, Linux 5.16

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53207 being exploited?

There is no confirmed exploitation: CVE-2026-53207 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53207?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53207?

Linux \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< fc3ff42cb0cbf947e4600ae9761c3783760050e2; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< 77b73b54801ae7137479c141fd0473a491c1dc48; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< a33bfed648c10f5a1519981dbfad80841191edc8; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< dd77a83915b07e2b0205adb284f08b39ae31dc4b; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< bf7ba8f96c258c30393814491930ae4ecdc5fe5e; \>= 405ce051236cc65b30bbfe490b28ce60ae6aed85, \< 3c2d42b8ee345b17a4ba56b0f6492d1ff4c1178e; 62d1655b922958826b7ec22682c3141746f75064; \>= 5.15.54, \< 5.16; Linux 5.18.

### Is there a fix for CVE-2026-53207?

Yes. Fixed in Linux 77b73b54801ae7137479c141fd0473a491c1dc48, Linux 3c2d42b8ee345b17a4ba56b0f6492d1ff4c1178e, Linux 5.16. Upgrade Linux to 5.16 or later.

### How do I check if I'm affected by CVE-2026-53207?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/fc3ff42cb0cbf947e4600ae9761c3783760050e2>
- patch: <https://git.kernel.org/stable/c/77b73b54801ae7137479c141fd0473a491c1dc48>
- patch: <https://git.kernel.org/stable/c/a33bfed648c10f5a1519981dbfad80841191edc8>
- patch: <https://git.kernel.org/stable/c/dd77a83915b07e2b0205adb284f08b39ae31dc4b>
- patch: <https://git.kernel.org/stable/c/bf7ba8f96c258c30393814491930ae4ecdc5fe5e>
- patch: <https://git.kernel.org/stable/c/3c2d42b8ee345b17a4ba56b0f6492d1ff4c1178e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53207>

HTML: <https://flawdb.com/CVE-2026-53207> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53207>
