hwrng: virtio - prevent use-after-free after a failed restore (Linux Linux)

CVE-2026-99684
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: hwrng: virtio - prevent use-after-free after a failed restore remove_common() frees the driver data during freeze, but does not clear vdev->priv, which points to freed memory. If probe_common() then fails during restore, a later remove or freeze can dereference the dangling pointer. Clear vdev->priv on the probe_common() error cleanup path and before freeing the driver data in remove_common(). Also reset the device and return early from remove_common() if vdev->priv is already NULL for a safe teardown after a failed restore.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce < 4e16413f7bf306947c81b913330d54ed75646808
affectée : ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce < 2aecdb2c490384618057535d461a4fcd19f64b7c
affectée : ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce < e8a75bd0e3c3270076cdf8d841ffe49c35516096
affectée : ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce < eb07306b576b6545323abb806e2f840d2de67dd4
affectée : ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce < ec81f97c6b13b839e5800cdade1e5b187b9b2738
affectée : ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce < 42f2f4ee9d6e75b8b55b9108f6f5cf254425db64
affectée : ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce < b18bda055c0d3e44fdf419e2739d92ea92a6f1d2
affectée : ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce < 0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74
Autres versions : non affectée
Linux · Linux
affectée : 3.16
non affectée : ≥ 0 < 3.16
non affectée : ≥ 5.10.275 ≤ 5.10.*
non affectée : ≥ 5.15.226 ≤ 5.15.*
non affectée : ≥ 6.1.193 ≤ 6.1.*
non affectée : ≥ 6.6.163 ≤ 6.6.*
non affectée : ≥ 6.12.118 ≤ 6.12.*
non affectée : ≥ 6.18.64 ≤ 6.18.*
non affectée : ≥ 7.3.5 ≤ 7.3.*
non affectée : ≥ 7.4-rc2 ≤ *
Autres versions : affectée

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