In the Linux kernel, the following vulnerability has been resolved:
Drivers: hv: vmbus: Leak pages if setmemoryencrypted() fails
In CoCo VMs it is possible for the untrusted host to cause setmemoryencrypted() or setmemorydecrypted() 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 setmemoryencrypted()/decrypted() fails. Leak the pages if this happens.
[
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"101079780272796296181473142052687761344",
"36290799746642469955601074168208891745",
"134334477422566870924278398534514629890",
"261967401056082664563263299284859913624",
"152868725446206110441153323762706528958",
"142531846108127906290865625270118075419",
"93367111755455522218587676731949570727",
"191016843707522203085663323555856869725",
"16100247928548440797517063794442535077",
"42840515014336023362466727018319368320",
"201622223996198708018046651530162839576",
"16063940749954994023200562780082207065",
"159647542984172857521244488395843856193",
"251744618319257936359925382728600109500"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@03f5a999adba062456c8c818a683beb1b498983a",
"target": {
"file": "drivers/hv/connection.c"
},
"id": "CVE-2024-36913-0b2ac770"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 3059.0,
"function_hash": "166591308422330266547141803662295335586"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@03f5a999adba062456c8c818a683beb1b498983a",
"target": {
"file": "drivers/hv/connection.c",
"function": "vmbus_connect"
},
"id": "CVE-2024-36913-102b3194"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 910.0,
"function_hash": "159290991552821037895376370071528510488"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f2afcbfe4f6b6047b5f68db5067b7321e5be125",
"target": {
"file": "drivers/hv/connection.c",
"function": "vmbus_disconnect"
},
"id": "CVE-2024-36913-1c76db22"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"101079780272796296181473142052687761344",
"36290799746642469955601074168208891745",
"134334477422566870924278398534514629890",
"261967401056082664563263299284859913624",
"152868725446206110441153323762706528958",
"142531846108127906290865625270118075419",
"93367111755455522218587676731949570727",
"191016843707522203085663323555856869725",
"16100247928548440797517063794442535077",
"42840515014336023362466727018319368320",
"201622223996198708018046651530162839576",
"16063940749954994023200562780082207065",
"159647542984172857521244488395843856193",
"251744618319257936359925382728600109500"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6123a4e8e25bd40cf44db14694abac00e6b664e6",
"target": {
"file": "drivers/hv/connection.c"
},
"id": "CVE-2024-36913-21b690a0"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 910.0,
"function_hash": "159290991552821037895376370071528510488"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e813a0fc2e597146e9cebea61ced9c796d4e308f",
"target": {
"file": "drivers/hv/connection.c",
"function": "vmbus_disconnect"
},
"id": "CVE-2024-36913-30471637"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 910.0,
"function_hash": "159290991552821037895376370071528510488"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6123a4e8e25bd40cf44db14694abac00e6b664e6",
"target": {
"file": "drivers/hv/connection.c",
"function": "vmbus_disconnect"
},
"id": "CVE-2024-36913-39e46b81"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 3059.0,
"function_hash": "166591308422330266547141803662295335586"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f2afcbfe4f6b6047b5f68db5067b7321e5be125",
"target": {
"file": "drivers/hv/connection.c",
"function": "vmbus_connect"
},
"id": "CVE-2024-36913-4fade73d"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 3059.0,
"function_hash": "166591308422330266547141803662295335586"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6123a4e8e25bd40cf44db14694abac00e6b664e6",
"target": {
"file": "drivers/hv/connection.c",
"function": "vmbus_connect"
},
"id": "CVE-2024-36913-5955ec5c"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"101079780272796296181473142052687761344",
"36290799746642469955601074168208891745",
"134334477422566870924278398534514629890",
"261967401056082664563263299284859913624",
"152868725446206110441153323762706528958",
"142531846108127906290865625270118075419",
"93367111755455522218587676731949570727",
"191016843707522203085663323555856869725",
"16100247928548440797517063794442535077",
"42840515014336023362466727018319368320",
"201622223996198708018046651530162839576",
"16063940749954994023200562780082207065",
"159647542984172857521244488395843856193",
"251744618319257936359925382728600109500"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e813a0fc2e597146e9cebea61ced9c796d4e308f",
"target": {
"file": "drivers/hv/connection.c"
},
"id": "CVE-2024-36913-7914c4ff"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"101079780272796296181473142052687761344",
"36290799746642469955601074168208891745",
"134334477422566870924278398534514629890",
"261967401056082664563263299284859913624",
"152868725446206110441153323762706528958",
"142531846108127906290865625270118075419",
"93367111755455522218587676731949570727",
"191016843707522203085663323555856869725",
"16100247928548440797517063794442535077",
"42840515014336023362466727018319368320",
"201622223996198708018046651530162839576",
"16063940749954994023200562780082207065",
"159647542984172857521244488395843856193",
"251744618319257936359925382728600109500"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f2afcbfe4f6b6047b5f68db5067b7321e5be125",
"target": {
"file": "drivers/hv/connection.c"
},
"id": "CVE-2024-36913-87c81fec"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 3059.0,
"function_hash": "166591308422330266547141803662295335586"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e813a0fc2e597146e9cebea61ced9c796d4e308f",
"target": {
"file": "drivers/hv/connection.c",
"function": "vmbus_connect"
},
"id": "CVE-2024-36913-d11c1095"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 910.0,
"function_hash": "159290991552821037895376370071528510488"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@03f5a999adba062456c8c818a683beb1b498983a",
"target": {
"file": "drivers/hv/connection.c",
"function": "vmbus_disconnect"
},
"id": "CVE-2024-36913-d916edab"
}
]