{"id":"CVE-2023-52857","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-05-21T16:15:22.803","lastModified":"2026-06-17T06:43:44.990","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpu/drm/mediatek/mtk_drm_gem.c","drivers/gpu/drm/mediatek/mtk_drm_plane.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"1a64a7aff8da352c9419de3d5c34343682916411","lessThan":"a12bd675100531f9fb4508fd4430dd1632325a0e","versionType":"git","status":"affected"},{"version":"1a64a7aff8da352c9419de3d5c34343682916411","lessThan":"0d8a1df39d3fc34560e2cc663b5c340d06a25396","versionType":"git","status":"affected"},{"version":"1a64a7aff8da352c9419de3d5c34343682916411","lessThan":"96312a251d4dcee5d36e32edba3002bfde0ddd9c","versionType":"git","status":"affected"},{"version":"1a64a7aff8da352c9419de3d5c34343682916411","lessThan":"b0b0d811eac6b4c52cb9ad632fa6384cf48869e7","versionType":"git","status":"affected"},{"version":"73e81f7219aa582d8e55a7b6552f607a8e5a9724","versionType":"git","status":"affected"},{"version":"5.13.12","lessThan":"5.14","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpu/drm/mediatek/mtk_drm_gem.c","drivers/gpu/drm/mediatek/mtk_drm_plane.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","versionType":"semver","status":"unaffected"},{"version":"6.1.132","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.5.12","lessThanOrEqual":"6.5.*","versionType":"semver","status":"unaffected"},{"version":"6.6.2","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.7","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-05-24T19:34:11.546564Z","id":"CVE-2023-52857","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-190"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13.12","versionEndExcluding":"6.5.12","matchCriteriaId":"41B36827-130A-480E-88B3-0B0A34F877ED"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.2","matchCriteriaId":"4CBFF885-A4D3-4F21-B6FD-4D770034C048"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0d8a1df39d3fc34560e2cc663b5c340d06a25396","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/96312a251d4dcee5d36e32edba3002bfde0ddd9c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a12bd675100531f9fb4508fd4430dd1632325a0e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b0b0d811eac6b4c52cb9ad632fa6384cf48869e7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/0d8a1df39d3fc34560e2cc663b5c340d06a25396","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/96312a251d4dcee5d36e32edba3002bfde0ddd9c","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b0b0d811eac6b4c52cb9ad632fa6384cf48869e7","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","source":"af854a3a-2127-422b-91ae-364da2661108"}]}