Bug 1225744 (CVE-2024-36909) - VUL-0: CVE-2024-36909: kernel: Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted
Summary: VUL-0: CVE-2024-36909: kernel: Drivers: hv: vmbus: Don't free ring buffers th...
Status: REOPENED
Alias: CVE-2024-36909
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/408162/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-36909:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-31 12:12 UTC by SMASH SMASH
Modified: 2024-07-10 19:59 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-31 12:12:37 UTC
In the Linux kernel, the following vulnerability has been resolved:

Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted

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 VMBus ring buffer code could free decrypted/shared pages if
set_memory_decrypted() fails. Check the decrypted field in the struct
vmbus_gpadl for the ring buffers to decide whether to free the memory.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-36909
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-36909.mbox
https://git.kernel.org/stable/c/2f622008bf784a9f5dd17baa19223cc2ac30a039
https://git.kernel.org/stable/c/82f9e213b124a7d2bb5b16ea35d570260ef467e0
https://git.kernel.org/stable/c/a9212a4e2963a7fbe3864ba33dc551d4ad8d0abb
https://git.kernel.org/stable/c/30d18df6567be09c1433e81993e35e3da573ac48
https://www.cve.org/CVERecord?id=CVE-2024-36909
Comment 4 Olaf Hering 2024-07-10 16:34:31 UTC
fixes submitted to for-next.
Comment 5 Olaf Hering 2024-07-10 19:59:13 UTC
security-team@suse.de