Paper/Archive/CVE-2021-22566

CVE-2021-22566

Google LLC Fuchsia — Incorrect mapping of Executable bits in Fuchsia Kernel

Description · from the CVE record

An incorrect setting of UXN bits within mmu_flags_to_s1_pte_attr lead to privileged executable pages being mapped as executable from an unprivileged context. This can be leveraged by an attacker to bypass executability restrictions of kernel-mode pages from user-mode. An incorrect setting of PXN bits within mmu_flags_to_s1_pte_attr lead to unprivileged executable pages being mapped as executable from a privileged context. This can be leveraged by an attacker to bypass executability restrictions of user-mode pages from kernel-mode. Typically this allows a potential attacker to circumvent a mitigation, making exploitation of potential kernel-mode vulnerabilities easier. We recommend updating kernel beyond commit 7d731b4e9599088ac3073956933559da7bca6a00 and rebuilding.

Affected

ProductAffectedFixed inSource
Fuchsia< 7d731b4e9599088ac3073956933559da7bca6a007d731b4e9599088ac3073956933559da7bca6a00CNA
fuchsiaall versions–CISA-ADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Google (CNA)5.1CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial

References

reffuchsia.googlesource.com/fuchsia/+/7d731b4e9599088ac3073956933559da7bca6a00