# CVE-2024-36913: Drivers: hv: vmbus: Leak pages if set\_memory\_encrypted() fails

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

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; 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.94% (percentile 59, 2026-11-28)
- **CWE:** CWE-1258
- **Published:** 2024-05-30T15:29:11.016Z
- **Modified:** 2026-08-05T11:32:00.757Z

## Who should check

- Anyone running Linux \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 7f2afcbfe4f6b6047b5f68db5067b7321e5be125; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 6123a4e8e25bd40cf44db14694abac00e6b664e6; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< e813a0fc2e597146e9cebea61ced9c796d4e308f; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 03f5a999adba062456c8c818a683beb1b498983a
- Anyone running Linux 5.16

## Description

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

Drivers: hv: vmbus: Leak pages if set\_memory\_encrypted() fails

In CoCo VMs it is possible for the untrusted host to cause
set\_memory\_encrypted() or set\_memory\_decrypted() to fail such that an
error is returned and the resulting memory is shared. Callers need to
take care to handle these errors to avoid returning decrypted (shared)
memory to the page allocator, which could lead to functional or security
issues.

VMBus code could free decrypted pages if set\_memory\_encrypted()/decrypted()
fails. Leak the pages if this happens.

## Affected and fixed versions

- Linux: \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 7f2afcbfe4f6b6047b5f68db5067b7321e5be125; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 6123a4e8e25bd40cf44db14694abac00e6b664e6; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< e813a0fc2e597146e9cebea61ced9c796d4e308f; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 03f5a999adba062456c8c818a683beb1b498983a (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 03f5a999adba062456c8c818a683beb1b498983a or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-36913.md
Affected: Linux >= f2f136c05fb6093818a3b3fefcba46231ac66a62, < 7f2afcbfe4f6b6047b5f68db5067b7321e5be125; >= f2f136c05fb6093818a3b3fefcba46231ac66a62, < 6123a4e8e25bd40cf44db14694abac00e6b664e6; >= f2f136c05fb6093818a3b3fefcba46231ac66a62, < e813a0fc2e597146e9cebea61ced9c796d4e308f; >= f2f136c05fb6093818a3b3f…
Fixed in: Linux 7f2afcbfe4f6b6047b5f68db5067b7321e5be125, Linux 6123a4e8e25bd40cf44db14694abac00e6b664e6, Linux 03f5a999adba062456c8c818a683beb1b498983a

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-36913 being exploited?

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

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

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

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

Linux \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 7f2afcbfe4f6b6047b5f68db5067b7321e5be125; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 6123a4e8e25bd40cf44db14694abac00e6b664e6; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< e813a0fc2e597146e9cebea61ced9c796d4e308f; \>= f2f136c05fb6093818a3b3fefcba46231ac66a62, \< 03f5a999adba062456c8c818a683beb1b498983a; Linux 5.16.

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

Yes. Fixed in Linux 7f2afcbfe4f6b6047b5f68db5067b7321e5be125, Linux 6123a4e8e25bd40cf44db14694abac00e6b664e6, Linux 03f5a999adba062456c8c818a683beb1b498983a. Upgrade Linux to 03f5a999adba062456c8c818a683beb1b498983a or later.

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

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/7f2afcbfe4f6b6047b5f68db5067b7321e5be125>
- patch: <https://git.kernel.org/stable/c/6123a4e8e25bd40cf44db14694abac00e6b664e6>
- patch: <https://git.kernel.org/stable/c/e813a0fc2e597146e9cebea61ced9c796d4e308f>
- patch: <https://git.kernel.org/stable/c/03f5a999adba062456c8c818a683beb1b498983a>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.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-36913>

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