CVE-2023-52857 drm/mediatek: Fix coverity issue with unintentional integer overflow
An integer overflow in the Mediatek DRM driver could lead to unexpected behavior, requiring a kernel patch to correct variable type handling.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52857?
CVE-2023-52857 is a medium-severity vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-190
Which versions are affected by CVE-2023-52857?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52857?
Apply the vendor's patch.
Is CVE-2023-52857 being exploited?
There is no known exploitation of CVE-2023-52857 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-56360, BELL-CVE-2023-52857, DEBIAN-CVE-2023-52857, GHSA-mwgq-3h9h-3q6g, ROOT-OS-UBUNTU-2204-CVE-2023-52857, UBUNTU-CVE-2023-52857.