# CVE-2024-36911: hv_netvsc: Don't free decrypted memory

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-05-30T15:29:09.475Z
- Modified: 2026-10-30T13:17:28.083Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

hv_netvsc: Don't free decrypted memory

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.

The netvsc driver could free decrypted/shared pages if
set_memory_decrypted() fails. Check the decrypted field in the gpadl
to decide whether to free the memory.

(As written by CVE List.)

## Affected

- Linux Linux: from d4dccf353db80e209f262e3973c834e6e48ba9a9 before fb671512ffb26570c05ba3fbe20752e645809192; from d4dccf353db80e209f262e3973c834e6e48ba9a9 before a56fe611326332bf6b7126e5559590c57dcebad4; from d4dccf353db80e209f262e3973c834e6e48ba9a9 before 4aaed9dbe8acd2b6114458f0498a617283d6275b; from d4dccf353db80e209f262e3973c834e6e48ba9a9 before bbf9ac34677b57506a13682b31a2a718934c0e31; 5.16 (not affected: before 5.16; from 6.1.191 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: before 6.6.31; from 6.7 before 6.8.10; 6.9

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/fb671512ffb26570c05ba3fbe20752e645809192>
- <https://git.kernel.org/stable/c/a56fe611326332bf6b7126e5559590c57dcebad4> (patch)
- <https://git.kernel.org/stable/c/4aaed9dbe8acd2b6114458f0498a617283d6275b> (patch)
- <https://git.kernel.org/stable/c/bbf9ac34677b57506a13682b31a2a718934c0e31> (patch)

## Sources

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

---

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