{"id":"CVE-2023-52857","summary":"drm/mediatek: Fix coverity issue with unintentional integer overflow","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: Fix coverity issue with unintentional integer overflow\n\n1. Instead of multiplying 2 variable of different types. Change to\nassign a value of one variable and then multiply the other variable.\n\n2. Add a int variable for multiplier calculation instead of calculating\ndifferent types multiplier with dma_addr_t variable directly.","modified":"2026-04-02T09:43:25.325625Z","published":"2024-05-21T15:31:51.232Z","related":["SUSE-SU-2024:2571-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52857.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0d8a1df39d3fc34560e2cc663b5c340d06a25396"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96312a251d4dcee5d36e32edba3002bfde0ddd9c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a12bd675100531f9fb4508fd4430dd1632325a0e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0b0d811eac6b4c52cb9ad632fa6384cf48869e7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52857.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52857"},{"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":"1a64a7aff8da352c9419de3d5c34343682916411"},{"fixed":"a12bd675100531f9fb4508fd4430dd1632325a0e"},{"fixed":"0d8a1df39d3fc34560e2cc663b5c340d06a25396"},{"fixed":"96312a251d4dcee5d36e32edba3002bfde0ddd9c"},{"fixed":"b0b0d811eac6b4c52cb9ad632fa6384cf48869e7"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"73e81f7219aa582d8e55a7b6552f607a8e5a9724"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52857.json"}}],"schema_version":"1.7.5"}