# CVE-2023-52857: drm/mediatek: Fix coverity issue with unintentional integer overflow

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:51.232Z
- Modified: 2026-06-17T06:43:44.990Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/mediatek: Fix coverity issue with unintentional integer overflow

1. Instead of multiplying 2 variable of different types. Change to
assign a value of one variable and then multiply the other variable.

2. Add a int variable for multiplier calculation instead of calculating
different types multiplier with dma_addr_t variable directly.

(As written by CVE List.)

## Affected

- Linux Linux: from 1a64a7aff8da352c9419de3d5c34343682916411 before a12bd675100531f9fb4508fd4430dd1632325a0e; from 1a64a7aff8da352c9419de3d5c34343682916411 before 0d8a1df39d3fc34560e2cc663b5c340d06a25396; from 1a64a7aff8da352c9419de3d5c34343682916411 before 96312a251d4dcee5d36e32edba3002bfde0ddd9c; from 1a64a7aff8da352c9419de3d5c34343682916411 before b0b0d811eac6b4c52cb9ad632fa6384cf48869e7; 73e81f7219aa582d8e55a7b6552f607a8e5a9724; from 5.13.12 before 5.14; 5.14 (not affected: before 5.14; from 6.1.132 up to 6.1.*; from 6.5.12 up to 6.5.*; from 6.6.2 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 5.13.12 before 6.5.12; from 6.6 before 6.6.2

## References

- <https://git.kernel.org/stable/c/a12bd675100531f9fb4508fd4430dd1632325a0e>
- <https://git.kernel.org/stable/c/0d8a1df39d3fc34560e2cc663b5c340d06a25396> (patch)
- <https://git.kernel.org/stable/c/96312a251d4dcee5d36e32edba3002bfde0ddd9c> (patch)
- <https://git.kernel.org/stable/c/b0b0d811eac6b4c52cb9ad632fa6384cf48869e7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

- CVE List: [CVE-2023-52857](https://www.cve.org/CVERecord?id=CVE-2023-52857), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2023-52857](https://nvd.nist.gov/vuln/detail/CVE-2023-52857), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52857 · Whole record: https://cve.day/CVE-2023-52857.json · Rebuilt by cve.day 2026-11-25T22:58:34.058Z
