{"id":"CVE-2025-21770","published":"2025-02-27T02:18:18Z","modified":"2026-05-11T21:06:05Z","title":"iommu: Fix potential memory leak in iopf_queue_remove_device()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu: Fix potential memory leak in iopf_queue_remove_device()\n\nThe iopf_queue_remove_device() helper removes a device from the per-iommu\niopf queue when PRI is disabled on the device. It responds to all\noutstanding iopf's with an IOMMU_PAGE_RESP_INVALID code and detaches the\ndevice from the queue.\n\nHowever, it fails to release the group structure that represents a group\nof iopf's awaiting for a response after responding to the hardware. This\ncan cause a memory leak if iopf_queue_remove_device() is called with\npending iopf's.\n\nFix it by calling iopf_free_group() after the iopf group is responded.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00216,"percentile":0.12264,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/db60d2d896a17decd58d143eef92cf22eb0a0176","tags":[]},{"url":"https://git.kernel.org/stable/c/90d5429cd2921ca2714684ed525898d431bb9283","tags":[]},{"url":"https://git.kernel.org/stable/c/9759ae2cee7cd42b95f1c48aa3749bd02b5ddb08","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.45},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 19911232713573a2ebea84a25bd4d71d024ed86b, < db60d2d896a17decd58d143eef92cf22eb0a0176",">= 19911232713573a2ebea84a25bd4d71d024ed86b, < 90d5429cd2921ca2714684ed525898d431bb9283",">= 19911232713573a2ebea84a25bd4d71d024ed86b, < 9759ae2cee7cd42b95f1c48aa3749bd02b5ddb08"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:30:41.180209Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-5165","exploited":false,"provenance":"source"}}