{"id":"CVE-2024-36912","aliases":["CVE-2024-36912"],"related":[],"kind":"vulnerability","state":"published","title":"Drivers: hv: vmbus: Track decrypted status in vmbus_gpadl","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nDrivers: hv: vmbus: Track decrypted status in vmbus_gpadl\n\nIn CoCo VMs it is possible for the untrusted host to cause\nset_memory_encrypted() or set_memory_decrypted() to fail such that an\nerror is returned and the resulting memory is shared. Callers need to\ntake care to handle these errors to avoid returning decrypted (shared)\nmemory to the page allocator, which could lead to functional or security\nissues.\n\nIn order to make sure callers of vmbus_establish_gpadl() and\nvmbus_teardown_gpadl() don't return decrypted/shared pages to\nallocators, add a field in struct vmbus_gpadl to keep track of the\ndecryption status of the buffers. This will allow the callers to\nknow if they should free or leak the pages.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nDrivers: hv: vmbus: Track decrypted status in vmbus_gpadl\n\nIn CoCo VMs it is possible for the untrusted host to cause\nset_memory_encrypted() or set_memory_decrypted() to fail such that an\nerror is returned and the resulting memory is shared. Callers need to\ntake care to handle these errors to avoid returning decrypted (shared)\nmemory to the page allocator, which could lead to functional or security\nissues.\n\nIn order to make sure callers of vmbus_establish_gpadl() and\nvmbus_teardown_gpadl() don't return decrypted/shared pages to\nallocators, add a field in struct vmbus_gpadl to keep track of the\ndecryption status of the buffers. This will allow the callers to\nknow if they should free or leak the pages.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Controladores: hv: vmbus: Seguimiento del estado descifrado en vmbus_gpadl En máquinas virtuales CoCo, es posible que el host que no es de confianza provoque que set_memory_encrypted() o set_memory_decrypted() falle de manera que se devuelva un error y la memoria resultante se comparte. Las personas que llaman deben tener cuidado al manejar estos errores para evitar devolver memoria descifrada (compartida) al asignador de páginas, lo que podría provocar problemas funcionales o de seguridad. Para asegurarse de que las personas que llaman a vmbus_establish_gpadl() y vmbus_teardown_gpadl() no devuelvan páginas descifradas/compartidas a los asignadores, agregue un campo en la estructura vmbus_gpadl para realizar un seguimiento del estado de descifrado de los búferes. Esto permitirá a quienes llaman saber si deben liberar o filtrar las páginas.","source":"nvd"}],"published":"2024-05-30T15:29:10.454Z","modified":"2026-08-05T11:31:59.694Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-1258"],"affected":[{"ranges":[{"type":"git","introduced":"d4dccf353db80e209f262e3973c834e6e48ba9a9","fixed":"1999644d95194d4a58d3e80ad04ce19220a01a81","status":"affected"},{"type":"git","introduced":"d4dccf353db80e209f262e3973c834e6e48ba9a9","fixed":"8e62341f5c45b27519b7d193bcc32ada416ad9d8","status":"affected"},{"type":"git","introduced":"d4dccf353db80e209f262e3973c834e6e48ba9a9","fixed":"bfae56be077ba14311509e70706a13458f87ea99","status":"affected"},{"type":"git","introduced":"d4dccf353db80e209f262e3973c834e6e48ba9a9","fixed":"211f514ebf1ef5de37b1cf6df9d28a56cfd242ca","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.91","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.31","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.10","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.16","fixed":"6.1.91"},{"status":"affected","introduced":"6.2","fixed":"6.6.31"},{"status":"affected","introduced":"6.7","fixed":"6.8.10"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1999644d95194d4a58d3e80ad04ce19220a01a81","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e62341f5c45b27519b7d193bcc32ada416ad9d8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfae56be077ba14311509e70706a13458f87ea99","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/211f514ebf1ef5de37b1cf6df9d28a56cfd242ca","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-06-05T14:45:02.277Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-36912","url":"https://www.cve.org/CVERecord?id=CVE-2024-36912","licence":"CVE Terms of Use","modified":"2026-08-05T11:31:59.694Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-36912","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36912","licence":"Public domain","modified":"2026-08-04T11:18:30.030Z"}],"updatedAt":"2026-11-25T22:58:41.276Z","epss":{"score":0.00965,"percentile":0.62694,"date":"2026-12-01T12:00:22.000Z"}}