# CVE-2022-50230: arm64: set UXN on swapper page tables

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-06-18T11:04:06.716Z
- Modified: 2026-11-05T20:17:28.463Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 18107f8a2df6bf1c6cac8d0713f757f866d5af51 before 9283e708a9b8529e7aafac9ab5c5c79a9fab8846; from 18107f8a2df6bf1c6cac8d0713f757f866d5af51 before c3cee924bd855184d15bc4aa6088dcf8e2c1394c; 5.13 (not affected: before 5.13; from 5.19.1 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.13 before 5.19.1

## References

- <https://git.kernel.org/stable/c/9283e708a9b8529e7aafac9ab5c5c79a9fab8846> (patch)
- <https://git.kernel.org/stable/c/c3cee924bd855184d15bc4aa6088dcf8e2c1394c> (patch)

## Sources

- CVE List: [CVE-2022-50230](https://www.cve.org/CVERecord?id=CVE-2022-50230), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50230](https://nvd.nist.gov/vuln/detail/CVE-2022-50230), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50230 · Whole record: https://cve.day/CVE-2022-50230.json · Rebuilt by cve.day 2026-11-25T22:58:21.116Z
