CVE-2025-38225 media: imx-jpeg: Cleanup after an allocation error
A missing cleanup in the imx-jpeg driver can lead to NULL pointer dereferences, causing a denial of service in the Linux kernel.
- 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-38225?
CVE-2025-38225 is a medium-severity vulnerability in Debian Debian Linux, published on 4 Jul 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: imx-jpeg: Cleanup after an allocation error
When allocation failures are not cleaned up by the driver, further allocation errors will be false-positives, which will cause buffers to remain uninitialized and cause NULL pointer dereferences. Ensure proper cleanup of failed allocations to prevent these issues.
Weakness: CWE-908
Which versions are affected by CVE-2025-38225?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38225?
Apply the vendor's patch.
Is CVE-2025-38225 being exploited?
There is no known exploitation of CVE-2025-38225 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-64683, BELL-CVE-2025-38225, DEBIAN-CVE-2025-38225, GHSA-3fjh-2rcv-9cfc, ROOT-OS-DEBIAN-12-CVE-2025-38225, ROOT-OS-UBUNTU-2204-CVE-2025-38225 and 2 more.