# CVE-2022-50224: KVM: x86/mmu: Treat NX as a valid SPTE bit for NPT

CVE-2022-50224 is fixed in 47 products on 1 platform, first by RHSA-2023:2458, released May 9, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-50224
- Priority: Routine
- CVSS: 5.5 (Moderate)
- EPSS: 0.0020
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 9, 2023
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-50224

## Description

In the Linux kernel, the following vulnerability has been resolved:  KVM: x86/mmu: Treat NX as a valid SPTE bit for NPT  Treat the NX bit as valid when using NPT, as KVM will set the NX bit when the NX huge page mitigation is enabled (mindblowing) and trigger the WARN that fires on reserved SPTE bits being set.  KVM has required NX support for SVM since commit b26a71a1a5b9 ("KVM: SVM: Refuse to load kvm_amd if NX support is not available") for exactly this reason, but apparently it never occurred to anyone to actually test NPT with the mitigation enabled.    ------------[ cut here ]------------   spte = 0x800000018a600ee7, level = 2, rsvd bits = 0x800f0000001fe000   WARNING: CPU: 152 PID: 15966 at arch/x86/kvm/mmu/spte.c:215 make_spte+0x327/0x340 [kvm]   Hardware name: Google, Inc. Arcadia_IT_80/Arcadia_IT_80, BIOS 10.48.0 01/27/2022   RIP: 0010:make_spte+0x327/0x340 [kvm]   Call Trace:    <TASK>    tdp_mmu_map_handle_target_level+0xc3/0x230 [kvm]    kvm_tdp_mmu_map+0x343/0x3b0 [kvm]    direct_page_fault+0x1ae/0x2a0 [kvm]    kvm_tdp_page_fault+0x7d/0x90 [kvm]    kvm_mmu_page_fault+0xfb/0x2e0 [kvm]    npf_interception+0x55/0x90 [kvm_amd]    svm_invoke_exit_handler+0x31/0xf0 [kvm_amd]    svm_handle_exit+0xf6/0x1d0 [kvm_amd]    vcpu_enter_guest+0xb6d/0xee0 [kvm]    ? kvm_pmu_trigger_event+0x6d/0x230 [kvm]    vcpu_run+0x65/0x2c0 [kvm]    kvm_arch_vcpu_ioctl_run+0x355/0x610 [kvm]    kvm_vcpu_ioctl+0x551/0x610 [kvm]    __se_sys_ioctl+0x77/0xc0    __x64_sys_ioctl+0x1d/0x20    do_syscall_64+0x44/0xa0    entry_SYSCALL_64_after_hwframe+0x46/0xb0    </TASK>   ---[ end trace 0000000000000000 ]---

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool RHEL 9 | 0:7.0.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-abi-stablelists RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-uki-virt RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-doc RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools-libs RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools-libs-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-uki-virt RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | linux Debian 12.15 (bookworm) | 5.19.6-1 | [DEBIAN-CVE-2022-50224](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50224.md) | Jun 18, 2025 |
| Linux | linux Debian 13.5 (trixie) | 5.19.6-1 | [DEBIAN-CVE-2022-50224](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50224.md) | Jun 18, 2025 |
| Linux | linux Debian 14 | 5.19.6-1 | [DEBIAN-CVE-2022-50224](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50224.md) | Jun 18, 2025 |
| Linux | perf RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | python3-perf RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | rtla RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
