# CVE-2026-53108: powerpc/64s: Fix unmap race with PMD migration entries

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.11% (percentile 0, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-06-24T16:30:42.707Z
- **Modified:** 2026-11-06T17:18:06.960Z

## Who should check

- Anyone running Linux \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 3d4999bfbcbc5b801bfcf482c567380dd26ad268; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 6f571bf37da84ab822bf22341d48655312aaee20; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 5c8dd49f4a857aa40c4a8694930509d159feae24; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 09207dc57ab4cb8967e6cad55a37e15ff8523d41; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 829367e55012c053738ebe7db20c4a90d6609ece; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< bbcbf045d6c778e82b47a35fc8728387708e9a3d
- Anyone running Linux 5.8

## Description

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

powerpc/64s: Fix unmap race with PMD migration entries

The following race is possible with migration swap entries or
device-private THP entries. e.g. when move\_pages is called on a PMD THP
page, then there maybe an intermediate state, where PMD entry acts as
a migration swap entry (pmd\_present() is true). Then if an munmap
happens at the same time, then this VM\_BUG\_ON() can happen in
pmdp\_huge\_get\_and\_clear\_full().

This patch fixes that.

Thread A: move\_pages() syscall
  add\_folio\_for\_migration()
    mmap\_read\_lock(mm)
    folio\_isolate\_lru(folio)
    mmap\_read\_unlock(mm)

  do\_move\_pages\_to\_node()
    migrate\_pages()
      try\_to\_migrate\_one()
        spin\_lock(ptl)
        set\_pmd\_migration\_entry()
          pmdp\_invalidate()     \# PMD: \_PAGE\_INVALID \| \_PAGE\_PTE \| pfn
          set\_pmd\_at()          \# PMD: migration swap entry (pmd\_present=0)
        spin\_unlock(ptl)
        \[page copy phase\]       \# \<--- RACE WINDOW --\>

Thread B: munmap()
  mmap\_write\_downgrade(mm)
  unmap\_vmas() -\> zap\_pmd\_range()
    zap\_huge\_pmd()
      \_\_pmd\_trans\_huge\_lock()
        pmd\_is\_huge():          \# !pmd\_present && !pmd\_none -\> TRUE (swap entry)
        pmd\_lock() -\> 		\# spin\_lock(ptl), waits for Thread A to release ptl
      pmdp\_huge\_get\_and\_clear\_full()
        VM\_BUG\_ON(!pmd\_present(\*pmdp))  \# HITS!

\[  287.738700\]\[ T1867\] ------------\[ cut here \]------------
\[  287.743843\]\[ T1867\] kernel BUG at arch/powerpc/mm/book3s64/pgtable.c:187!
cpu 0x0: Vector: 700 (Program Check) at \[c00000044037f4f0\]
    pc: c000000000094ca4: pmdp\_huge\_get\_and\_clear\_full+0x6c/0x23c
    lr: c000000000645dec: zap\_huge\_pmd+0xb0/0x868
    sp: c00000044037f790
   msr: 800000000282b033
  current = 0xc0000004032c1a00
  paca    = 0xc000000004fe0000   irqmask: 0x03   irq\_happened: 0x09
    pid   = 1867, comm = a.out
kernel BUG at :187!
Linux version 6.19.0-12136-g14360d4f917c-dirty (powerpc64le-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) \#27 SMP PREEMPT Sun Feb 22 10:38:56 IST 2026
enter ? for help
\[link register   \] c000000000645dec zap\_huge\_pmd+0xb0/0x868
\[c00000044037f790\] c00000044037f7d0 (unreliable)
\[c00000044037f7d0\] c000000000645dcc zap\_huge\_pmd+0x90/0x868
\[c00000044037f840\] c0000000005724cc unmap\_page\_range+0x176c/0x1f40
\[c00000044037fa00\] c000000000572ea0 unmap\_vmas+0xb0/0x1d8
\[c00000044037fa90\] c0000000005af254 unmap\_region+0xb4/0x128
\[c00000044037fb50\] c0000000005af400 vms\_complete\_munmap\_vmas+0x138/0x310
\[c00000044037fbe0\] c0000000005b0f1c do\_vmi\_align\_munmap+0x1ec/0x238
\[c00000044037fd30\] c0000000005b3688 \_\_vm\_munmap+0x170/0x1f8
\[c00000044037fdf0\] c000000000587f74 sys\_munmap+0x2c/0x40
\[c00000044037fe10\] c000000000032668 system\_call\_exception+0x128/0x350
\[c00000044037fe50\] c00000000000d05c system\_call\_vectored\_common+0x15c/0x2ec
---- Exception: 3000 (System Call Vectored) at 0000000010064a2c
SP (7fff9b1ee9c0) is in userspace
0:mon\> zh

commit a30b48bf1b24 ("mm/migrate\_device: implement THP migration of zone device pages"),
enabled migration for device-private PMD entries. Hence this is one
other path where this warning could get trigger from.

 ------------\[ cut here \]------------
 WARNING: arch/powerpc/mm/book3s64/hash\_pgtable.c:199 at hash\_\_pmd\_hugepage\_update+0x48/0x284, CPU\#3: hmm-tests/1905
 Modules linked in: test\_hmm
 CPU: 3 UID: 0 PID: 1905 Comm: hmm-tests Tainted: G    B   W    L   N  7.0.0-rc1-01438-g7e2f0ee7581c \#21 PREEMPT
 Tainted: \[B\]=BAD\_PAGE, \[W\]=WARN, \[L\]=SOFTLOCKUP, \[N\]=TEST
 Hardware name: IBM pSeries (emulated by qemu) POWER10 (architected) 0x801200 0xf000006 of:SLOF,git-ee03ae pSeries
 NIP \[c000000000096b70\] hash\_\_pmd\_hugepage\_update+0x48/0x284
 LR \[c000000000096e7c\] hash\_\_pmdp\_huge\_get\_and\_clear+0xd0/0xd4
 Call Trace:
 \[c000000604707670\] \[c000000004e102b8\] 0xc000000004e102b8 (unreliable)
 \[c000000604707700\] \[c00000000064ec3c\] set\_pmd\_migration\_entry+0x414/0x498
 \[c000000604707760\] \[c00000000063e5a4\] migrate\_vma\_col
---truncated---

## Affected and fixed versions

- Linux: \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 3d4999bfbcbc5b801bfcf482c567380dd26ad268; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 6f571bf37da84ab822bf22341d48655312aaee20; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 5c8dd49f4a857aa40c4a8694930509d159feae24; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 09207dc57ab4cb8967e6cad55a37e15ff8523d41; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 829367e55012c053738ebe7db20c4a90d6609ece; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< bbcbf045d6c778e82b47a35fc8728387708e9a3d (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-53108.md
Affected: Linux >= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, < 3d4999bfbcbc5b801bfcf482c567380dd26ad268; >= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, < 6f571bf37da84ab822bf22341d48655312aaee20; >= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, < 5c8dd49f4a857aa40c4a8694930509d159feae24; >= 75358ea359e7c0dfceb3c7b…
Fixed in: Linux 3d4999bfbcbc5b801bfcf482c567380dd26ad268, Linux 6f571bf37da84ab822bf22341d48655312aaee20, Linux 5c8dd49f4a857aa40c4a8694930509d159feae24, Linux 09207dc57ab4cb8967e6cad55a37e15ff8523d41, Linux 829367e55012c053738ebe7db20c4a90d6609ece

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-53108 being exploited?

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 3d4999bfbcbc5b801bfcf482c567380dd26ad268; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 6f571bf37da84ab822bf22341d48655312aaee20; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 5c8dd49f4a857aa40c4a8694930509d159feae24; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 09207dc57ab4cb8967e6cad55a37e15ff8523d41; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< 829367e55012c053738ebe7db20c4a90d6609ece; \>= 75358ea359e7c0dfceb3c7b3d854570b4260cb7f, \< bbcbf045d6c778e82b47a35fc8728387708e9a3d; Linux 5.8.

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

Yes. Fixed in Linux 3d4999bfbcbc5b801bfcf482c567380dd26ad268, Linux 6f571bf37da84ab822bf22341d48655312aaee20, Linux 5c8dd49f4a857aa40c4a8694930509d159feae24, Linux 09207dc57ab4cb8967e6cad55a37e15ff8523d41, Linux 829367e55012c053738ebe7db20c4a90d6609ece. No fix listed yet: follow the vendor advisory.

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

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/829367e55012c053738ebe7db20c4a90d6609ece>
- patch: <https://git.kernel.org/stable/c/bbcbf045d6c778e82b47a35fc8728387708e9a3d>
- other: <https://git.kernel.org/stable/c/3d4999bfbcbc5b801bfcf482c567380dd26ad268>
- other: <https://git.kernel.org/stable/c/6f571bf37da84ab822bf22341d48655312aaee20>
- other: <https://git.kernel.org/stable/c/5c8dd49f4a857aa40c4a8694930509d159feae24>
- other: <https://git.kernel.org/stable/c/09207dc57ab4cb8967e6cad55a37e15ff8523d41>

## 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-53108>

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