CVE-2023-52857

drm/mediatek: Fix coverity issue with unintentional integer overflow

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 23, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1a64a7aff8da352c9419de3d5c34343682916411 to before a12bd675100531f9fb4508fd4430dd1632325a0eAffected
  • 1a64a7aff8da352c9419de3d5c34343682916411 to before 0d8a1df39d3fc34560e2cc663b5c340d06a25396Affected
  • 1a64a7aff8da352c9419de3d5c34343682916411 to before 96312a251d4dcee5d36e32edba3002bfde0ddd9cAffected
  • 1a64a7aff8da352c9419de3d5c34343682916411 to before b0b0d811eac6b4c52cb9ad632fa6384cf48869e7Affected
  • 73e81f7219aa582d8e55a7b6552f607a8e5a9724Affected
  • 5.13.12 to before 5.14Affected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 6.1.132 through 6.1.*Not affected
  • 6.5.12 through 6.5.*Not affected
  • 6.6.2 through 6.6.*Not affected
  • 6.7 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.