In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Track decrypted status in vmbus_gpadl 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. In order to make sure callers of vmbus_establish_gpadl() and vmbus_teardown_gpadl() don't return decrypted/shared pages to allocators, add a field in struct vmbus_gpadl to keep track of the decryption status of the buffers. This will allow the callers to know if they should free or leak the pages.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-30T15:29:10.454Z

Updated: 2024-11-05T09:27:57.264Z

Reserved: 2024-05-30T15:25:07.067Z

Link: CVE-2024-36912

cve-icon Vulnrichment

Updated: 2024-08-02T03:43:50.056Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-30T16:15:14.607

Modified: 2024-07-03T02:03:49.030

Link: CVE-2024-36912

cve-icon Redhat

Severity : Low

Publid Date: 2024-05-30T00:00:00Z

Links: CVE-2024-36912 - Bugzilla