iommu/virtio: Reset device before deleting virtqueues on probe failure (Linux Linux)

CVE-2026-99685
HIGH 8.4

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: iommu/virtio: Reset device before deleting virtqueues on probe failure viommu_probe() marks the device DRIVER_OK before populating the event virtqueue and registering the IOMMU device in sysfs. viommu_fill_evtq() hands the device a set of device-writable buffers through virtqueue_add_inbuf(), so from that point on the device may write into them and into the rings. If either step fails, the error path deletes the virtqueues without resetting the device first. The event buffers are allocated with devm_kmalloc_array() and are released as probe unwinds, so the device can go on writing to memory that has been freed. Reset the device before deleting the virtqueues, the way viommu_remove() already does.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/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 affectées
Linux · Linux
affectée : ≥ edcd69ab9a323b7ac7a86e1c44b6c9c46598391f < 5b1669ec2d6bd3d0958e81f212a7149a6fb042d9
affectée : ≥ edcd69ab9a323b7ac7a86e1c44b6c9c46598391f < ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53
affectée : ≥ edcd69ab9a323b7ac7a86e1c44b6c9c46598391f < 0d809d701cd4bd789b6c1313ea08778bc8e5d6de
affectée : ≥ edcd69ab9a323b7ac7a86e1c44b6c9c46598391f < d16eda7b2832d23423d84fe6fa50908bd5d2a15d
affectée : ≥ edcd69ab9a323b7ac7a86e1c44b6c9c46598391f < e09d65fd554b78c7277f6379517c773ff36d55d1
affectée : ≥ edcd69ab9a323b7ac7a86e1c44b6c9c46598391f < e60e6db9d07b2ebaff2e055a086fa8e8d14f565c
affectée : ≥ edcd69ab9a323b7ac7a86e1c44b6c9c46598391f < cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598
affectée : ≥ edcd69ab9a323b7ac7a86e1c44b6c9c46598391f < 1f8efac19a0870cdfdf8477e447e5a07ddce9623
Autres versions : non affectée
Linux · Linux
affectée : 5.3
non affectée : ≥ 0 < 5.3
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