CVE-2026-99685

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

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to before e09d65fd554b78c7277f6379517c773ff36d55d1Affected
  • edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to before e60e6db9d07b2ebaff2e055a086fa8e8d14f565cAffected
  • edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to before cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598Affected
  • edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to before 1f8efac19a0870cdfdf8477e447e5a07ddce9623Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.