Home

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.

PUBLISHED Reserved 2025-12-24 | Published 2025-12-24 | Updated 2025-12-24 | Assigner Linux

Product status

Default status
unaffected

b199fe46f35c57a415acd4d5295b0f4e35048c11 (git) before 858322c409e0aba8f70810d23f35c482744f007c
affected

b199fe46f35c57a415acd4d5295b0f4e35048c11 (git) before b7dbc27301f560c3b915235c53383155b3512083
affected

b199fe46f35c57a415acd4d5295b0f4e35048c11 (git) before 451dc187cadd47771e5d9434fe220fad7be84057
affected

b199fe46f35c57a415acd4d5295b0f4e35048c11 (git) before cf10b0bb503c974ba049d6f888b21178be20a962
affected

Default status
affected

5.18
affected

Any version before 5.18
unaffected

6.1.53 (semver)
unaffected

6.4.16 (semver)
unaffected

6.5.3 (semver)
unaffected

6.6 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/858322c409e0aba8f70810d23f35c482744f007c

git.kernel.org/...c/b7dbc27301f560c3b915235c53383155b3512083

git.kernel.org/...c/451dc187cadd47771e5d9434fe220fad7be84057

git.kernel.org/...c/cf10b0bb503c974ba049d6f888b21178be20a962

cve.org (CVE-2023-54143)

nvd.nist.gov (CVE-2023-54143)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.