In the Linux kernel, the following vulnerability has been resolved:
drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl
In the "pmcmdioctl" function, three memory objects allocated by kmalloc are initialized by "hcallgetcpustate", which are then copied to user space. The initializer is indeed implemented in "acrn_hypercall2" (arch/x86/include/asm/acrn.h). There is a risk of information leakage due to uninitialized bytes.
[
{
"id": "CVE-2025-21950-0ae5b540",
"target": {
"file": "drivers/virt/acrn/hsm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"162875991263684991559190072117939412731",
"30202435793010626778479798965356789173",
"83297757365569521598750691193479378024",
"283718568136597875523871470294784487970",
"59349668454446400373115756440693414065",
"274297230629459851827081886310769389173",
"131601202661786717762236141080512957460",
"336099105058855938755703001725074002444",
"202591438485317541702555256046876857326",
"139250839678218197404939880809480350667",
"213997025965426399875854156571337102274",
"29686490235408825656387493945789787880"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4c21b878f0e237f45209a324c903ea7fb05247d",
"signature_version": "v1"
},
{
"id": "CVE-2025-21950-98496342",
"target": {
"file": "drivers/virt/acrn/hsm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"162875991263684991559190072117939412731",
"30202435793010626778479798965356789173",
"83297757365569521598750691193479378024",
"283718568136597875523871470294784487970",
"59349668454446400373115756440693414065",
"274297230629459851827081886310769389173",
"131601202661786717762236141080512957460",
"336099105058855938755703001725074002444",
"202591438485317541702555256046876857326",
"139250839678218197404939880809480350667",
"213997025965426399875854156571337102274",
"29686490235408825656387493945789787880"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@524f29d78c9bdeb49f31f5b0376a07d2fc5cf563",
"signature_version": "v1"
},
{
"id": "CVE-2025-21950-a1258821",
"target": {
"file": "drivers/virt/acrn/hsm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"162875991263684991559190072117939412731",
"30202435793010626778479798965356789173",
"83297757365569521598750691193479378024",
"283718568136597875523871470294784487970",
"59349668454446400373115756440693414065",
"274297230629459851827081886310769389173",
"131601202661786717762236141080512957460",
"336099105058855938755703001725074002444",
"202591438485317541702555256046876857326",
"139250839678218197404939880809480350667",
"213997025965426399875854156571337102274",
"29686490235408825656387493945789787880"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120",
"signature_version": "v1"
},
{
"id": "CVE-2025-21950-dfd7a9a1",
"target": {
"file": "drivers/virt/acrn/hsm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"162875991263684991559190072117939412731",
"30202435793010626778479798965356789173",
"83297757365569521598750691193479378024",
"283718568136597875523871470294784487970",
"59349668454446400373115756440693414065",
"274297230629459851827081886310769389173",
"131601202661786717762236141080512957460",
"336099105058855938755703001725074002444",
"202591438485317541702555256046876857326",
"139250839678218197404939880809480350667",
"213997025965426399875854156571337102274",
"29686490235408825656387493945789787880"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb",
"signature_version": "v1"
},
{
"id": "CVE-2025-21950-f4669a00",
"target": {
"file": "drivers/virt/acrn/hsm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"162875991263684991559190072117939412731",
"30202435793010626778479798965356789173",
"83297757365569521598750691193479378024",
"283718568136597875523871470294784487970",
"59349668454446400373115756440693414065",
"274297230629459851827081886310769389173",
"131601202661786717762236141080512957460",
"336099105058855938755703001725074002444",
"202591438485317541702555256046876857326",
"139250839678218197404939880809480350667",
"213997025965426399875854156571337102274",
"29686490235408825656387493945789787880"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083",
"signature_version": "v1"
},
{
"id": "CVE-2025-21950-fc2d1782",
"target": {
"file": "drivers/virt/acrn/hsm.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"162875991263684991559190072117939412731",
"30202435793010626778479798965356789173",
"83297757365569521598750691193479378024",
"283718568136597875523871470294784487970",
"59349668454446400373115756440693414065",
"274297230629459851827081886310769389173",
"131601202661786717762236141080512957460",
"336099105058855938755703001725074002444",
"202591438485317541702555256046876857326",
"139250839678218197404939880809480350667",
"213997025965426399875854156571337102274",
"29686490235408825656387493945789787880"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7e5031fe3f161c8eb5e84db1540bc4373ed861b",
"signature_version": "v1"
}
]