CVE-2025-21770

MEDIUM

Linux kernel - Memory Leak

Title source: llm

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.

Scores

CVSS v3 5.5
EPSS 0.0003
EPSS Percentile 8.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (5)

linux/linux_kernel < 6.12.16
linux/linux_kernel
linux/linux_kernel
linux/Kernel < 6.12.16linux
linux/Kernel < 6.13.4linux

Timeline

Published Feb 27, 2025
Tracked Since Feb 18, 2026