CVE-2025-21770 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's IOMMU (Input-Output Memory Management Unit) handling. The issue arises in the 'iopf_queue_remove_device()' function, which is responsible for removing a device from the IOMMU queue when the Process Interrupts (PRI) are disabled. While the function correctly responds to outstanding IOPFs (IOMMU Page Faults) by invalidating the response and detaching the device from the queue, it fails to release the associated group structure that tracks pending IOPFs awaiting a response. This oversight can lead to a memory leak if 'iopf_queue_remove_device()' is called while there are outstanding IOPFs. The vulnerability has been addressed by modifying the function to call 'iopf_free_group()' after responding to the hardware, ensuring that the group structure is properly released.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/90d5429cd2921ca2714684ed525898d431bb9283 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9759ae2cee7cd42b95f1c48aa3749bd02b5ddb08 | kernel.org | Patch |
| https://git.kernel.org/stable/c/db60d2d896a17decd58d143eef92cf22eb0a0176 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.9, < 6.12.16 >= 6.13, < 6.13.4 6.14 rc1 6.14 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 5, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | New CVE Received | kernel.org |