CVEvulnerability
CVE-2024-36911
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-05-30
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (< 6.6.31)
• linux linux kernel (>= 6.7 < 6.8.10)
• linux linux kernel 6.9
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/4aaed9dbe8acd2b6114458f0498a617283d6275b Patch
- https://git.kernel.org/stable/c/a56fe611326332bf6b7126e5559590c57dcebad4 Patch
- https://git.kernel.org/stable/c/bbf9ac34677b57506a13682b31a2a718934c0e31 Patch
- https://git.kernel.org/stable/c/4aaed9dbe8acd2b6114458f0498a617283d6275b Patch
- https://git.kernel.org/stable/c/a56fe611326332bf6b7126e5559590c57dcebad4 Patch
- https://git.kernel.org/stable/c/bbf9ac34677b57506a13682b31a2a718934c0e31 Patch