drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl (Linux Linux)

CVE-2025-21950
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

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 "pmcmd_ioctl" function, three memory objects allocated by kmalloc are initialized by "hcall_get_cpu_state", 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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 3d679d5aec648f50e645702929890b9611998a0b < 4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120 ; affected 3d679d5aec648f50e645702929890b9611998a0b < 524f29d78c9bdeb49f31f5b0376a07d2fc5cf563 ; affected 3d679d5aec648f50e645702929890b9611998a0b < d7e5031fe3f161c8eb5e84db1540bc4373ed861b ; affected 3d679d5aec648f50e645702929890b9611998a0b < 1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083 ; affected 3d679d5aec648f50e645702929890b9611998a0b < a4c21b878f0e237f45209a324c903ea7fb05247d ; affected 3d679d5aec648f50e645702929890b9611998a0b < 819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.179 ≤ 5.15.* ; unaffected 6.1.131 ≤ 6.1.* ; unaffected 6.6.83 ≤ 6.6.* ; unaffected 6.12.19 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD