In the Linux kernel, the following vulnerability has been resolved:
udmabuf: fix memory leak on last export_udmabuf() error path
In export_udmabuf(), if dma_buf_fd() fails because the FD table is full, a dma_buf owning the udmabuf has already been created; but the error handling in udmabuf_create() will tear down the udmabuf without doing anything about the containing dma_buf.
This leaves a dma_buf in memory that contains a dangling pointer; though that doesn't seem to lead to anything bad except a memory leak.
Fix it by moving the dma_buf_fd() call out of export_udmabuf() so that we can give it different error handling.
Note that the shape of this code changed a lot in commit 5e72b2b41a21 ("udmabuf: convert udmabuf driver to use folios"); but the memory leak seems to have existed since the introduction of udmabuf.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | May 15, 2025 | Dec 29, 2024 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Dec 29, 2024 |
| Ubuntu | — | Upgrade linux-image-oracleUpgrade linux-image-realtimeUpgrade linux-image-6.11.0-1012-azure-fdeUpgrade linux-image-oem-24.04Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-awsUpgrade linux-image-6.11.0-1011-gcp-64kUpgrade linux-image-6.11.0-1011-lowlatencyUpgrade linux-image-6.11.0-1011-gcpUpgrade linux-image-6.11.0-1010-raspiUpgrade linux-image-6.11.0-1017-oemUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-6.11.0-1013-oracle-64kUpgrade linux-image-azureUpgrade linux-image-6.11.0-21-generic-64kUpgrade linux-image-raspiUpgrade linux-image-gcp-64kUpgrade linux-image-gcpUpgrade linux-image-6.11.0-1007-realtimeUpgrade linux-image-virtualUpgrade linux-image-azure-fdeUpgrade linux-image-6.11.0-1011-lowlatency-64kUpgrade linux-image-lowlatency-64kUpgrade linux-image-lowlatencyUpgrade linux-image-oem-24.04aUpgrade linux-image-oem-24.04bUpgrade linux-image-6.11.0-1012-azureUpgrade linux-image-6.11.0-1011-awsUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-realtime-hwe-24.04Upgrade linux-image-6.11.0-21-genericUpgrade linux-image-generic-64kUpgrade linux-image-oracle-64kUpgrade linux-image-lowlatency-hwe-24.04Upgrade linux-image-lowlatency-64k-hwe-24.04Upgrade linux-image-genericUpgrade linux-image-6.11.0-1013-oracle | Mar 28, 2025 | Dec 29, 2024 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub