# CVE-2024-50115: KVM: nSVM: Ignore nCR3\[4:0\] when loading PDPTEs from memory

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-11-05T17:10:46.677Z
- **Modified:** 2026-08-05T11:41:45.626Z

## Who should check

- Anyone running Linux \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 76ce386feb14ec9a460784fcd495d8432acce7a5; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 58cb697d80e669c56197f703e188867c8c54c494; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 6876793907cbe19d42e9edc8c3315a21e06c32ae; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 2c4adc9b192a0815fe58a62bc0709449416cc884; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 426682afec71ea3f889b972d038238807b9443e4; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< f559b2e9c5c5308850544ab59396b7d53cfc67bd
- Anyone running Linux 3.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: nSVM: Ignore nCR3\[4:0\] when loading PDPTEs from memory

Ignore nCR3\[4:0\] when loading PDPTEs from memory for nested SVM, as bits
4:0 of CR3 are ignored when PAE paging is used, and thus VMRUN doesn't
enforce 32-byte alignment of nCR3.

In the absolute worst case scenario, failure to ignore bits 4:0 can result
in an out-of-bounds read, e.g. if the target page is at the end of a
memslot, and the VMM isn't using guard pages.

Per the APM:

  The CR3 register points to the base address of the page-directory-pointer
  table. The page-directory-pointer table is aligned on a 32-byte boundary,
  with the low 5 address bits 4:0 assumed to be 0.

And the SDM's much more explicit:

  4:0    Ignored

Note, KVM gets this right when loading PDPTRs, it's only the nSVM flow
that is broken.

## Affected and fixed versions

- Linux: \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 76ce386feb14ec9a460784fcd495d8432acce7a5; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 58cb697d80e669c56197f703e188867c8c54c494; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 6876793907cbe19d42e9edc8c3315a21e06c32ae; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 2c4adc9b192a0815fe58a62bc0709449416cc884; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 426682afec71ea3f889b972d038238807b9443e4; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< f559b2e9c5c5308850544ab59396b7d53cfc67bd (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50115. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50115.md
Affected: Linux >= e4e517b4be019787ada4cbbce2f04570c21b0cbd, < 76ce386feb14ec9a460784fcd495d8432acce7a5; >= e4e517b4be019787ada4cbbce2f04570c21b0cbd, < 58cb697d80e669c56197f703e188867c8c54c494; >= e4e517b4be019787ada4cbbce2f04570c21b0cbd, < 6876793907cbe19d42e9edc8c3315a21e06c32ae; >= e4e517b4be019787ada4cbb…
Fixed in: Linux 76ce386feb14ec9a460784fcd495d8432acce7a5, Linux 58cb697d80e669c56197f703e188867c8c54c494, Linux 6876793907cbe19d42e9edc8c3315a21e06c32ae, Linux 2c4adc9b192a0815fe58a62bc0709449416cc884, Linux 426682afec71ea3f889b972d038238807b9443e4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50115 being exploited?

There is no confirmed exploitation: CVE-2024-50115 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50115?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50115?

Linux \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 76ce386feb14ec9a460784fcd495d8432acce7a5; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 58cb697d80e669c56197f703e188867c8c54c494; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 6876793907cbe19d42e9edc8c3315a21e06c32ae; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 2c4adc9b192a0815fe58a62bc0709449416cc884; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< 426682afec71ea3f889b972d038238807b9443e4; \>= e4e517b4be019787ada4cbbce2f04570c21b0cbd, \< f559b2e9c5c5308850544ab59396b7d53cfc67bd; Linux 3.2.

### Is there a fix for CVE-2024-50115?

Yes. Fixed in Linux 76ce386feb14ec9a460784fcd495d8432acce7a5, Linux 58cb697d80e669c56197f703e188867c8c54c494, Linux 6876793907cbe19d42e9edc8c3315a21e06c32ae, Linux 2c4adc9b192a0815fe58a62bc0709449416cc884, Linux 426682afec71ea3f889b972d038238807b9443e4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50115?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/76ce386feb14ec9a460784fcd495d8432acce7a5>
- patch: <https://git.kernel.org/stable/c/58cb697d80e669c56197f703e188867c8c54c494>
- patch: <https://git.kernel.org/stable/c/6876793907cbe19d42e9edc8c3315a21e06c32ae>
- patch: <https://git.kernel.org/stable/c/2c4adc9b192a0815fe58a62bc0709449416cc884>
- patch: <https://git.kernel.org/stable/c/426682afec71ea3f889b972d038238807b9443e4>
- patch: <https://git.kernel.org/stable/c/f559b2e9c5c5308850544ab59396b7d53cfc67bd>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50115>

HTML: <https://flawdb.com/CVE-2024-50115> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50115>
