Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In confidential-computing (CoCo) VMs, an untrusted host can cause memory encryption or decryption operations to fail. VMBus could then return decrypted, shared pages to the page allocator, potentially causing functional or security issues. This requires control of the VM host; no user interaction is described.
Operators running the Linux kernel in CoCo VMs should check their VMBus exposure; affected versions are not specified.