What’s Vulnerable › Vulnerabilities
CVE-2022-50232: arm64: set UXN on swapper page tables
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: arm64: set UXN on swapper page tables [ This issue was fixed upstream by accident in c3cee924bd85 ("arm64: head: cover entire kernel image in initial ID map") as part of a large refactoring of the arm64 boot flow. This simple fix is therefore preferred for -stable backporting ] On a system that implements FEAT_EPAN, read/write access to the idmap is denied because UXN is not set on the swapper PTEs. As a result, idmap_kpti_install_ng_mappings panics the kernel when accessing __idmap_kpti_flag. Fix it by setting UXN on these PTEs.
Affected products
- Linux kernel: from 5.13 before 5.15.60; from 5.16 before 6.0 — fixed in 5.15.60, 6.0
How to fix
Upgrade to a fixed version: Linux kernel 5.15.60, 6.0. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/775871d4be0d75e219cca937af843a4a1b60489a
- https://git.kernel.org/stable/c/c3cee924bd855184d15bc4aa6088dcf8e2c1394c
Get alerted when CVE-2022-50232 or the next vulnerability affects your stack