CVE-2024-36911
mediumIn 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…
Vendor / product: Linux — linux kernel
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://git.kernel.org/stable/c/4aaed9dbe8acd2b6114458f0498a617283d6275b 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/a56fe611326332bf6b7126e5559590c57dcebad4 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/bbf9ac34677b57506a13682b31a2a718934c0e31 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/fb671512ffb26570c05ba3fbe20752e645809192 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/4aaed9dbe8acd2b6114458f0498a617283d6275b af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/a56fe611326332bf6b7126e5559590c57dcebad4 af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/bbf9ac34677b57506a13682b31a2a718934c0e31 af854a3a-2127-422b-91ae-364da2661108
