Vulnerability in Linux
CVE-2025-21770
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 12.1th percentile
- Published
- 2025-02-27
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 12.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 19911232713573a2ebea84a25bd4d71d024ed86b, 6.9, 0
- Linux Kernel — versions 6.14