CVE-2023-54143
media: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 858322c409e0aba8f70810d23f35c482744f007c; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < b7dbc27301f560c3b915235c53383155b3512083; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 451dc187cadd47771e5d9434fe220fad7be84057; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < cf10b0bb503c974ba049d6f888b21178be20a962
- Anyone running Linux 5.18
Vulnerability facts
- Affected
- Linux >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 858322c409e0aba8f70810d23f35c482744f007c; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < b7dbc27301f560c3b915235c53383155b3512083; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 451dc187cadd47771e5d9434fe220fad7be84057; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < cf10b0bb503c974ba049d6f888b21178be20a962; Linux 5.18
- Fixed in
- Linux 858322c409e0aba8f70810d23f35c482744f007c, Linux 451dc187cadd47771e5d9434fe220fad7be84057
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 858322c409e0aba8f70810d23f35c482744f007c; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < b7dbc27301f560c3b915235c53383155b3512083; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 451dc187cadd47771e5d9434fe220fad7be84057; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < cf10b0bb503c974ba049d6f888b21178be20a962 | — | cvelist |
| Linux | 5.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54143. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54143.md Affected: Linux >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 858322c409e0aba8f70810d23f35c482744f007c; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < b7dbc27301f560c3b915235c53383155b3512083; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 451dc187cadd47771e5d9434fe220fad7be84057; >= b199fe46f35c57a415acd4d… Fixed in: Linux 858322c409e0aba8f70810d23f35c482744f007c, Linux 451dc187cadd47771e5d9434fe220fad7be84057 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-54143 being exploited?
There is no confirmed exploitation: CVE-2023-54143 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54143?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54143?
Linux >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 858322c409e0aba8f70810d23f35c482744f007c; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < b7dbc27301f560c3b915235c53383155b3512083; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < 451dc187cadd47771e5d9434fe220fad7be84057; >= b199fe46f35c57a415acd4d5295b0f4e35048c11, < cf10b0bb503c974ba049d6f888b21178be20a962; Linux 5.18.
Is there a fix for CVE-2023-54143?
Yes. Fixed in Linux 858322c409e0aba8f70810d23f35c482744f007c, Linux 451dc187cadd47771e5d9434fe220fad7be84057. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-54143?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.