CVE-2025-23160 media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
A resource leak in the Mediatek video codec driver can lead to memory exhaustion and denial of service on affected Linux systems.
- 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-2025-23160?
CVE-2025-23160 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 1 May 2025. 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:
media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
On Mediatek devices with a system companion processor (SCP) the mtk_scp structure has to be removed explicitly to avoid a resource leak. Free the structure in case the allocation of the firmware structure fails during the firmware initialization.
Weakness: CWE-401
Which versions are affected by CVE-2025-23160?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-23160?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-23160 being exploited?
There is no known exploitation of CVE-2025-23160 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2025-23160, DEBIAN-CVE-2025-23160, GHSA-c6pq-53v5-wcc7, ROOT-OS-DEBIAN-12-CVE-2025-23160, ROOT-OS-UBUNTU-2204-CVE-2025-23160, ROOT-OS-UBUNTU-2404-CVE-2025-23160 and 1 more.