Bug 1225717 (CVE-2024-36910) - VUL-0: CVE-2024-36910: kernel: uio_hv_generic: Don't free decrypted memory
Summary: VUL-0: CVE-2024-36910: kernel: uio_hv_generic: Don't free decrypted memory
Status: REOPENED
Alias: CVE-2024-36910
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/408198/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-36910:6.0:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-31 09:57 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 09:57:29 UTC
In the Linux kernel, the following vulnerability has been resolved:

uio_hv_generic: 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 VMBus device UIO 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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-36910
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-36910.mbox
https://git.kernel.org/stable/c/dabf12bf994318d939f70d47cfda30e47abb2c54
https://git.kernel.org/stable/c/6466a0f6d235c8a18c602cb587160d7e49876db9
https://git.kernel.org/stable/c/fe2c58602354fbd60680dc42ac3a0b772cda7d23
https://git.kernel.org/stable/c/3d788b2fbe6a1a1a9e3db09742b90809d51638b7
https://www.cve.org/CVERecord?id=CVE-2024-36910
Comment 2 Olaf Hering 2024-07-10 16:34:32 UTC
fixes submitted to for-next.
Comment 3 Olaf Hering 2024-07-10 19:59:14 UTC
security-team@suse.de