CVE-2023-54143 Details
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.
A resource leak vulnerability has been addressed in the Linux kernel's MediaTek vcodec component. The issue arises in the 'vdec_msg_queue_init()' function, where error handling for memory allocation failures was inadequate. Specifically, if the allocation for the message queue's WDMA address fails, the corresponding size is not reset, leading to a resource leak. This vulnerability affects the Linux kernel stable tree.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/451dc187cadd47771e5d9434fe220fad7be84057 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/858322c409e0aba8f70810d23f35c482744f007c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b7dbc27301f560c3b915235c53383155b3512083 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cf10b0bb503c974ba049d6f888b21178be20a962 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion