{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-54143","id":"CVE-2023-54143","title":"media: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init()\n\nIf we encounter any error in the vdec_msg_queue_init() then we need\nto set \"msg_queue->wdma_addr.size = 0;\".  Normally, this is done\ninside the vdec_msg_queue_deinit() function.  However, if the\nfirst call to allocate &msg_queue->wdma_addr fails, then the\nvdec_","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init()\n\nIf we encounter any error in the vdec_msg_queue_init() then we need\nto set \"msg_queue->wdma_addr.size = 0;\".  Normally, this is done\ninside the vdec_msg_queue_deinit() function.  However, if the\nfirst call to allocate &msg_queue->wdma_addr fails, then the\nvdec_msg_queue_deinit() function is a no-op.  For that situation, just\nset the size to zero explicitly and return.\n\nThere were two other error paths which did not clean up before returning.\nChange those error paths to goto mem_alloc_err.","published":"2025-12-24T13:06:56.869Z","updated":"2026-10-28T02:30:39.315228515Z","reserved":"2025-12-24T13:02:52.523Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b199fe46f35c57a415acd4d5295b0f4e35048c11","lessThan":"858322c409e0aba8f70810d23f35c482744f007c","status":"affected","versionType":"git"},{"version":"b199fe46f35c57a415acd4d5295b0f4e35048c11","lessThan":"b7dbc27301f560c3b915235c53383155b3512083","status":"affected","versionType":"git"},{"version":"b199fe46f35c57a415acd4d5295b0f4e35048c11","lessThan":"451dc187cadd47771e5d9434fe220fad7be84057","status":"affected","versionType":"git"},{"version":"b199fe46f35c57a415acd4d5295b0f4e35048c11","lessThan":"cf10b0bb503c974ba049d6f888b21178be20a962","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.1.53","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.16","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5.3","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/858322c409e0aba8f70810d23f35c482744f007c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b7dbc27301f560c3b915235c53383155b3512083","tags":["web"]},{"url":"https://git.kernel.org/stable/c/451dc187cadd47771e5d9434fe220fad7be84057","tags":["web"]},{"url":"https://git.kernel.org/stable/c/cf10b0bb503c974ba049d6f888b21178be20a962","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54143.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54143","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00199,"epssPercentile":0.09884,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-54143","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54143","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-54143","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-54143","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}