# CVE-2024-36913: Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails

- Severity: Critical 9.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-05-30T15:29:11.016Z
- Modified: 2026-08-05T11:32:00.757Z
- Weaknesses: CWE-1258
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f2f136c05fb6093818a3b3fefcba46231ac66a62 before 7f2afcbfe4f6b6047b5f68db5067b7321e5be125; from f2f136c05fb6093818a3b3fefcba46231ac66a62 before 6123a4e8e25bd40cf44db14694abac00e6b664e6; from f2f136c05fb6093818a3b3fefcba46231ac66a62 before e813a0fc2e597146e9cebea61ced9c796d4e308f; from f2f136c05fb6093818a3b3fefcba46231ac66a62 before 03f5a999adba062456c8c818a683beb1b498983a; 5.16 (not affected: before 5.16; from 6.1.143 up to 6.1.*; from 6.6.31 up to 6.6.*; from 6.8.10 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 1da177e4c3f4 before 6123a4e8e25b; from 1da177e4c3f4 before e813a0fc2e59; from 1da177e4c3f4 before 03f5a999adba; from 5.16 before 6.1.143; from 6.2 before 6.6.31; from 6.7 before 6.8.10; 6.9
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-36913](https://www.cve.org/CVERecord?id=CVE-2024-36913), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-36913](https://nvd.nist.gov/vuln/detail/CVE-2024-36913), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-36913 · Whole record: https://cve.day/CVE-2024-36913.json · Rebuilt by cve.day 2026-11-25T22:58:41.276Z
