{"id":"CVE-2025-21950","aliases":["CVE-2025-21950"],"related":[],"kind":"vulnerability","state":"published","title":"drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl\n\nIn the \"pmcmd_ioctl\" function, three memory objects allocated by\nkmalloc are initialized by \"hcall_get_cpu_state\", which are then\ncopied to user space. The initializer is indeed implemented in\n\"acrn_hypercall2\" (arch/x86/include/asm/acrn.h). There is a risk of\ninformation leakage due to uninitialized bytes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl\n\nIn the \"pmcmd_ioctl\" function, three memory objects allocated by\nkmalloc are initialized by \"hcall_get_cpu_state\", which are then\ncopied to user space. The initializer is indeed implemented in\n\"acrn_hypercall2\" (arch/x86/include/asm/acrn.h). There is a risk of\ninformation leakage due to uninitialized bytes.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drivers: virt: acrn: hsm: Usar kzalloc para evitar fugas de información en pmcmd_ioctl. En la función \"pmcmd_ioctl\", tres objetos de memoria asignados por kmalloc se inicializan mediante \"hcall_get_cpu_state\", que posteriormente se copian al espacio de usuario. El inicializador está implementado en \"acrn_hypercall2\" (arch/x86/include/asm/acrn.h). Existe riesgo de fuga de información debido a bytes no inicializados.","source":"nvd"}],"published":"2025-04-01T15:41:10.949Z","modified":"2026-06-17T08:44:41.453Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3d679d5aec648f50e645702929890b9611998a0b","fixed":"4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120","status":"affected"},{"type":"git","introduced":"3d679d5aec648f50e645702929890b9611998a0b","fixed":"524f29d78c9bdeb49f31f5b0376a07d2fc5cf563","status":"affected"},{"type":"git","introduced":"3d679d5aec648f50e645702929890b9611998a0b","fixed":"d7e5031fe3f161c8eb5e84db1540bc4373ed861b","status":"affected"},{"type":"git","introduced":"3d679d5aec648f50e645702929890b9611998a0b","fixed":"1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083","status":"affected"},{"type":"git","introduced":"3d679d5aec648f50e645702929890b9611998a0b","fixed":"a4c21b878f0e237f45209a324c903ea7fb05247d","status":"affected"},{"type":"git","introduced":"3d679d5aec648f50e645702929890b9611998a0b","fixed":"819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.131","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.83","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.19","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.7","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","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.12","fixed":"5.15.179"},{"status":"affected","introduced":"5.16","fixed":"6.1.131"},{"status":"affected","introduced":"6.2","fixed":"6.6.83"},{"status":"affected","introduced":"6.7","fixed":"6.12.19"},{"status":"affected","introduced":"6.13","fixed":"6.13.7"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/524f29d78c9bdeb49f31f5b0376a07d2fc5cf563","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7e5031fe3f161c8eb5e84db1540bc4373ed861b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4c21b878f0e237f45209a324c903ea7fb05247d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21950","url":"https://www.cve.org/CVERecord?id=CVE-2025-21950","licence":"CVE Terms of Use","modified":"2026-05-11T21:09:40.823Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21950","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21950","licence":"Public domain","modified":"2026-06-17T08:44:41.453Z"}],"updatedAt":"2026-11-25T22:58:55.903Z","epss":{"score":0.00236,"percentile":0.1556,"date":"2026-12-01T12:00:22.000Z"}}