CVE-2023-53181Missing Release of Resource after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 97.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

Description

In the Linux kernel, the following vulnerability has been resolved: dma-buf/dma-resv: Stop leaking on krealloc() failure Currently dma_resv_get_fences() will leak the previously allocated array if the fence iteration got restarted and the krealloc_array() fails. Free the old array by hand, and make sure we still clear the returned *fences so the caller won't end up accessing freed memory. Some (but not all) of the callers of dma_resv_get_fences() seem to still trawl through the array even whe

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel5.166.1.42+2
Debianlinux/linux_kernel< 6.1.52-1+2
CVEListV5linux/linuxd3c80698c9f58a0683badf78793eebaa0c71afbd19e7b9f1f7e1cb92a4cc53b4c064f7fb4b1f1983+3
debiandebian/linux< linux 6.1.52-1 (bookworm)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-pjxh-qq38-qww3: In the Linux kernel, the following vulnerability has been resolved: dma-buf/dma-resv: Stop leaking on krealloc() failure Currently dma_resv_get_fenc2025-09-15
OSV
CVE-2023-53181: In the Linux kernel, the following vulnerability has been resolved: dma-buf/dma-resv: Stop leaking on krealloc() failure Currently dma_resv_get_fences2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: dma-buf/dma-resv: Stop leaking on krealloc() failure2025-09-15
Debian
CVE-2023-53181: linux - In the Linux kernel, the following vulnerability has been resolved: dma-buf/dma...2023
CVE-2023-53181 — Linux vulnerability | cvebase