{"id":"CVE-2023-53748","summary":"media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup\n\nvariable *nplanes is provided by user via system call argument. The\npossible value of q_data-\u003efmt-\u003enum_planes is 1-3, while the value\nof *nplanes can be 1-8. The array access by index i can cause array\nout-of-bounds.\n\nFix this bug by checking *nplanes against the array size.","modified":"2026-04-02T09:45:03.772820Z","published":"2025-12-08T01:19:07.318Z","related":["SUSE-SU-2026:0316-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53748.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/48e4e06e2c5fe1fda283d499f91492eda2248bb9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fbcf730cb89c3647f3365226fe7014118fa93c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8e19bf3b4aebd855be01b64674187dcf6d1db51"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53748.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53748"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"590577a4e5257ac3ed72999a94666ad6ba8f24bc"},{"fixed":"48e4e06e2c5fe1fda283d499f91492eda2248bb9"},{"fixed":"b8e19bf3b4aebd855be01b64674187dcf6d1db51"},{"fixed":"8fbcf730cb89c3647f3365226fe7014118fa93c7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53748.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"6.1.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53748.json"}}],"schema_version":"1.7.5"}