{"id":"CVE-2023-52857","aliases":["CVE-2023-52857"],"related":[],"kind":"vulnerability","state":"published","title":"drm/mediatek: Fix coverity issue with unintentional integer overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/mediatek: soluciona el problema de cobertura con desbordamiento de enteros involuntario 1. En lugar de multiplicar 2 variables de diferentes tipos. Cambie para asignar un valor a una variable y luego multiplique la otra variable. 2. Agregue una variable int para el cálculo del multiplicador en lugar de calcular diferentes tipos de multiplicadores con la variable dma_addr_t directamente.","source":"nvd"}],"published":"2024-05-21T15:31:51.232Z","modified":"2026-06-17T06:43:44.990Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"1a64a7aff8da352c9419de3d5c34343682916411","fixed":"a12bd675100531f9fb4508fd4430dd1632325a0e","status":"affected"},{"type":"git","introduced":"1a64a7aff8da352c9419de3d5c34343682916411","fixed":"0d8a1df39d3fc34560e2cc663b5c340d06a25396","status":"affected"},{"type":"git","introduced":"1a64a7aff8da352c9419de3d5c34343682916411","fixed":"96312a251d4dcee5d36e32edba3002bfde0ddd9c","status":"affected"},{"type":"git","introduced":"1a64a7aff8da352c9419de3d5c34343682916411","fixed":"b0b0d811eac6b4c52cb9ad632fa6384cf48869e7","status":"affected"},{"type":"git","version":"73e81f7219aa582d8e55a7b6552f607a8e5a9724","status":"affected"},{"type":"semver","introduced":"5.13.12","fixed":"5.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"6.1.132","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.5.12","lastAffected":"6.5.*","status":"unaffected"},{"type":"semver","introduced":"6.6.2","lastAffected":"6.6.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.7","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13.12","fixed":"6.5.12"},{"status":"affected","introduced":"6.6","fixed":"6.6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a12bd675100531f9fb4508fd4430dd1632325a0e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d8a1df39d3fc34560e2cc663b5c340d06a25396","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/96312a251d4dcee5d36e32edba3002bfde0ddd9c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0b0d811eac6b4c52cb9ad632fa6384cf48869e7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-24T19:34:11.546Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52857","url":"https://www.cve.org/CVERecord?id=CVE-2023-52857","licence":"CVE Terms of Use","modified":"2026-05-23T15:27:24.499Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52857","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52857","licence":"Public domain","modified":"2026-06-17T06:43:44.990Z"}],"updatedAt":"2026-11-25T22:58:34.058Z","epss":{"score":0.00239,"percentile":0.16028,"date":"2026-12-01T12:00:22.000Z"}}