vfio/pci: Release the VGA arbiter client on register_device() failure (Linux Linux)

CVE-2026-64475
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Release the VGA arbiter client on register_device() failure The re-order in the Fixes commit below displaced vfio_pci_vga_init() as the last failure point of what is now vfio_pci_core_register_device() without introducing an unwind for the VGA arbiter registration. In current kernels this is mostly benign because vfio_pci_set_decode() only uses pci_dev state, but the original failure path could leave a callback with a freed vdev cookie. The stale registration also becomes unsafe again once the callback follows drvdata to the vfio device. Add the required VGA unwind callout.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 87856f9af04eaacf9848710625a4ffee1d020fa9 < 0f2a35a0c7ea7da347b814750eaa78adf3582381 ; affected 4aeec3984ddc853f7c65903bde472ffdef738bae < 8d65decde9afd2bd78bcfffdc0df73b82a0b5509 ; affected 4aeec3984ddc853f7c65903bde472ffdef738bae < ef4c38d30b3744e89eb5048218904bb629ea8d47 ; affected 4aeec3984ddc853f7c65903bde472ffdef738bae < 9e0a3f642e607848669235f5069f35640abbfc88 ; affected 4aeec3984ddc853f7c65903bde472ffdef738bae < 42d758a09d2c46c42357ecde9a5492f015bde2e5 ; affected 4aeec3984ddc853f7c65903bde472ffdef738bae < 52adb2dff7ce3d8430e2bdc5988b618a430def85
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

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