Skip to main content

Linux Kernel CVE-2026-53108

| EUVDEUVD-2026-38976 MEDIUM
Race Condition (CWE-362)
2026-06-24 Linux GHSA-2377-3vvp-rhhq
4.7
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
4.7 MEDIUM

Local race on ppc64le only; PR:L since move_pages() is callable by non-root process owners; AC:H for narrow timing window; no C/I impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
5.5 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Analysis Generated
Jul 23, 2026 - 21:45 vuln.today
CVSS changed
Jul 23, 2026 - 21:38 NVD
4.7 (MEDIUM)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:30 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

AnalysisAI

PowerPC 64-bit (ppc64le/Book3S64) Linux kernel systems from version 5.8 onward can be crashed via a local race condition between concurrent move_pages() and munmap() operations on Transparent Huge Page (THP) PMD-backed memory. During the PMD migration sequence, a narrow window exists where the PMD entry holds a migration swap entry with pmd_present=0; a concurrent munmap() acquiring the same page table lock during this window triggers a VM_BUG_ON() assertion in pmdp_huge_get_and_clear_full(), causing a kernel panic. No public exploit is identified and EPSS stands at 0.15% (5th percentile), but the DoS impact is confirmed by upstream kernel developers with real hardware traces on IBM POWER10 and is patched in stable releases 7.0.10 and 7.1.

Technical ContextAI

The vulnerability is specific to the powerpc/64s Book3S64 memory management layer of the Linux kernel, within the PMD (Page Middle Directory) handling for Transparent Huge Pages. During page migration via the move_pages() syscall, set_pmd_migration_entry() transitions the PMD through an intermediate state: pmdp_invalidate() marks it as _PAGE_INVALID, then set_pmd_at() sets it to a migration swap entry where pmd_present() returns false but pmd_none() is also false. The race was further widened by upstream commit a30b48bf1b24 ('mm/migrate_device: implement THP migration of zone device pages'), which added device-private PMD entry migration support. CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization) is the root cause: the ptl (page table lock) released after set_pmd_migration_entry() and re-acquired by zap_huge_pmd() during munmap() is insufficient to prevent the interleaved state from reaching pmdp_huge_get_and_clear_full(), which asserts VM_BUG_ON(!pmd_present(*pmdp)) at arch/powerpc/mm/book3s64/pgtable.c:187. CPE cpe:2.3:a:linux:linux:* confirms the upstream Linux kernel as the affected product.

RemediationAI

The primary fix is to upgrade to Linux kernel stable version 7.0.10 or 7.1, which incorporate the upstream patches at https://git.kernel.org/stable/c/829367e55012c053738ebe7db20c4a90d6609ece and https://git.kernel.org/stable/c/bbcbf045d6c778e82b47a35fc8728387708e9a3d. Ubuntu ppc64le administrators should apply kernel updates per USN-8568-1 and USN-8566-1 (https://ubuntu.com/security/notices/USN-8568-1). Debian ppc64le users should track their stable/security kernel updates referencing the same fix commits. Where immediate patching is not possible, compensating controls include: restricting access to the move_pages() syscall via seccomp filtering on sensitive workloads (trade-off: breaks legitimate NUMA memory migration in HPC and database applications); disabling Transparent Huge Pages at the OS level ('echo never > /sys/kernel/mm/transparent_hugepage/enabled') to eliminate the PMD migration path entirely (trade-off: may degrade memory performance on large-footprint workloads); or limiting local untrusted user access on ppc64le kernel hosts. None of these workarounds are necessary on x86 or ARM systems.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Share

CVE-2026-53108 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy