CVE-2022-50230
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-18

Last updated on: 2025-11-19

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-18
Last Modified
2025-11-19
Generated
2026-05-06
AI Q&A
2025-06-18
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-NVD-CWE-noinfo
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel affects the arm64 architecture where the UXN (Unprivileged eXecute Never) bit was not set on the swapper page table entries (PTEs). On systems implementing FEAT_EPAN, this omission allows read/write access to the idmap, which should be denied. This causes the kernel to panic when accessing certain memory flags (__idmap_kpti_flag). The issue was fixed by setting the UXN bit on these PTEs to prevent unauthorized access.


How can this vulnerability impact me? :

This vulnerability can cause the Linux kernel to panic (crash) when accessing specific memory mappings related to idmap on affected arm64 systems. This can lead to system instability or denial of service due to unexpected kernel panics.


What immediate steps should I take to mitigate this vulnerability?

Apply the upstream fix that sets UXN on the swapper page tables, specifically the patch identified by commit c3cee924bd85 which covers the entire kernel image in the initial ID map. This fix prevents kernel panics related to idmap_kpti_install_ng_mappings by properly setting UXN on the PTEs. Backport this fix to your stable kernel version if necessary.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart