AZL-115519: CVE-2026-99685 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
iommu/virtio: Reset device before deleting virtqueues on probe failure
viommuprobe() marks the device DRIVEROK before populating the event virtqueue and registering the IOMMU device in sysfs. viommufillevtq() hands the device a set of device-writable buffers through virtqueueaddinbuf(), 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 devmkmallocarray() 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 viommuremove() already does.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
On the virtio IOMMU probe-failure path, reset the device before deleting the virtqueues.