CVE-2024-36913

high

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.

References

https://git.kernel.org/stable/c/e813a0fc2e597146e9cebea61ced9c796d4e308f

https://git.kernel.org/stable/c/6123a4e8e25bd40cf44db14694abac00e6b664e6

https://git.kernel.org/stable/c/03f5a999adba062456c8c818a683beb1b498983a

Details

Source: Mitre, NVD

Published: 2024-05-30

Updated: 2024-07-03

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: High