VDB

CVE-2025-21770

CVE-2025-21770 PUBLISHED CVSS 5.5 MEDIUM

iommu: Fix potential memory leak in iopf_queue_remove_device()

Reported by linux · Published February 27, 2025

In the Linux kernel, the following vulnerability has been resolved: iommu: Fix potential memory leak in iopf_queue_remove_device() The iopf_queue_remove_device() helper removes a device from the per-iommu iopf queue when PRI is disabled on the device. It responds to all outstanding iopf's with an IOMMU_PAGE_RESP_INVALID code and detaches the device from the queue. However, it fails to release the group structure that represents a group of iopf's awaiting for a response after responding to the hardware. This can cause a memory leak if iopf_queue_remove_device() is called with pending iopf's. Fix it by calling iopf_free_group() after the iopf group is responded.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.13.4, 6.12.16
LinuxLinux9759ae2cee7cd42b95f1c48aa3749bd02b5ddb08, 6.9

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux19911232713573a2ebea84a25bd4d71d024ed86b, 19911232713573a2ebea84a25bd4d71d024ed86b, 19911232713573a2ebea84a25bd4d71d024ed86b
LinuxLinux6.9, 0, 6.12.16
LinuxLinux6.9, 6.12.16, 6.13.4
linuxlinux_kernel6.9, 6.9, 6.9

Timeline

  • Feb 26, 2025 CVE Published
  • Feb 27, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 23, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Dec 22, 2025 Security Advisory (361 in total, the first dated here)
  • Dec 22, 2025 CVE Updated
  • Nov 15, 2026 Distribution Patch (316 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21770
vulnetix vdb fixes CVE-2025-21770

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21770/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›