CVE-2023-54143

Linux Kernel 5.18-6.1.52, 6.2-6.4.15, 6.5-6.5.2 - Resource Leak in vdec_msg_queue_init()

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init() If we encounter any error in the vdec_msg_queue_init() then we need to set "msg_queue->wdma_addr.size = 0;". Normally, this is done inside the vdec_msg_queue_deinit() function. However, if the first call to allocate &msg_queue->wdma_addr fails, then the vdec_msg_queue_deinit() function is a no-op. For that situation, just set the size to zero explicitly and return. There were two other error paths which did not clean up before returning. Change those error paths to goto mem_alloc_err.

Scores

EPSS 0.0017
EPSS Percentile 7.2%

Details

Status published
Products (13)
linux/Kernel 5.18.0 - 6.1.53linux
linux/Kernel 6.2.0 - 6.4.16linux
linux/Kernel 6.5.0 - 6.5.3linux
Linux/Linux < 5.18
Linux/Linux 5.18
Linux/Linux 6.1.53 - 6.1.*
Linux/Linux 6.4.16 - 6.4.*
Linux/Linux 6.5.3 - 6.5.*
Linux/Linux 6.6
Linux/Linux b199fe46f35c57a415acd4d5295b0f4e35048c11 - 451dc187cadd47771e5d9434fe220fad7be84057
... and 3 more
Published Dec 24, 2025
Tracked Since Feb 18, 2026