CVE-2026-93239: arm64: mm: Fix the lockless page-table walk in show_pte()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
arm64: mm: Fix the lockless page-table walk in show_pte()
show_pte() walks page tables locklessly and can run with interrupts enabled. A concurrent teardown can free a table page while it is being walked. It can also clear a parent entry after show_pte() checked it; the regular pXd_offset() helpers then reread the cleared entry and can derive a bogus lower-level pointer and fault again.
Use the lockless offset helpers with the saved parent entries, as gup_fast() does, and pass the saved PMD to pte_offset_map().
For task page tables, arm64 selects MMU_GATHER_RCU_TABLE_FREE. Disable local interrupts around the walk to hold off RCU-deferred table frees and block the tlb_remove_table_sync_one() IPI until the walk is finished.
Place the IRQ guard after the header print. This does not make the output a consistent snapshot, but prevents the task page-table walk from dereferencing a released table page or deriving a pointer from a different parent value.
The Linux kernel CVE team has assigned CVE-2026-93239 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.7 with commit 1d18c47c735e8adfe531fc41fae31e98f86b68fe and fixed in 6.6.157 with commit 08d931a0a850ad16a64f2cd23a19f40795cdbdf7 Issue introduced in 3.7 with commit 1d18c47c735e8adfe531fc41fae31e98f86b68fe and fixed in 6.12.110 with commit b28fe65a36b8209b6adcf2722c7ce974cf9ac8d1 Issue introduced in 3.7 with commit 1d18c47c735e8adfe531fc41fae31e98f86b68fe and fixed in 6.18.51 with commit 68cbd70795dd8c06e7ccdc4eb0b74c5b180076c3 Issue introduced in 3.7 with commit 1d18c47c735e8adfe531fc41fae31e98f86b68fe and fixed in 7.2.5 with commit 0f05d95b99164a9ccc4cf4a4920e0ff0228138ad Issue introduced in 3.7 with commit 1d18c47c735e8adfe531fc41fae31e98f86b68fe and fixed in 7.3-rc2 with commit a77644d009dece1104b6fcc6e322b0e4503db0d6
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93239
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/arm64/mm/fault.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/08d931a0a850ad16a64f2cd23a19f40795cdbdf7 https://git.kernel.org/stable/c/b28fe65a36b8209b6adcf2722c7ce974cf9ac8d1 https://git.kernel.org/stable/c/68cbd70795dd8c06e7ccdc4eb0b74c5b180076c3 https://git.kernel.org/stable/c/0f05d95b99164a9ccc4cf4a4920e0ff0228138ad https://git.kernel.org/stable/c/a77644d009dece1104b6fcc6e322b0e4503db0d6