CVE-2023-54143
not scored yetIn 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.
- Published
- 24 Dec 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Deferred
- Sources
- NVDJSON
References
- https://git.kernel.org/stable/c/451dc187cadd47771e5d9434fe220fad7be84057
- https://git.kernel.org/stable/c/858322c409e0aba8f70810d23f35c482744f007c
- https://git.kernel.org/stable/c/b7dbc27301f560c3b915235c53383155b3512083
- https://git.kernel.org/stable/c/cf10b0bb503c974ba049d6f888b21178be20a962
History
- 25 Nov 2026 21:00 UTC ยท NVD: first stored (published 24 Dec 2025)