Bug 2373557 (CVE-2022-50232) - CVE-2022-50232 kernel: arm64: set UXN on swapper page tables
Summary: CVE-2022-50232 kernel: arm64: set UXN on swapper page tables
Keywords:
Status: NEW
Alias: CVE-2022-50232
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:08 UTC by OSIDB Bzimport
Modified: 2025-06-19 12:57 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:08:13 UTC
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.

Comment 1 Avinash Hanwate 2025-06-19 12:49:15 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061851-CVE-2022-50232-373d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.