
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38225 is a use of uninitialized resource vulnerability (CWE-908) in the Linux kernel's media: imx-jpeg driver. When memory allocation failures are not properly cleaned up, subsequent allocation errors are treated as false-positives, leaving buffers uninitialized and triggering NULL pointer dereferences. The vulnerability affects Linux kernel versions 5.13 through 6.15.3 across multiple stable branches, and was published on July 4, 2025. It carries a CVSS v3.1 base score of 5.5 (Medium), requiring local low-privileged access with no user interaction (Red Hat CVE, Feedly).
The root cause is improper error handling in the imx-jpeg media driver: when a memory allocation fails, the driver does not perform cleanup of previously allocated resources, classified as CWE-908 (Use of Uninitialized Resource). This leaves internal buffers in an uninitialized state; subsequent code paths that assume successful allocation then dereference NULL pointers. Exploitation requires local access with low privileges and targets systems using i.MX SoC hardware with the imx-jpeg driver loaded. Patches addressing the issue are available in the Linux kernel stable tree across multiple branches (Kernel Patches, Feedly).
Successful exploitation can cause a kernel NULL pointer dereference, resulting in a system crash and denial of service. The impact is limited to availability (rated High), with no confidentiality or integrity impact. Affected systems are those running vulnerable Linux kernel versions with the imx-jpeg driver active, typically embedded or SoC-based platforms using NXP i.MX processors (Red Hat CVE, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.018% (0.000180), indicating very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires local low-privileged access, limiting the attack surface to users with shell access on affected hardware (Feedly).
Update to a patched Linux kernel version: 6.1.143, 6.6.95, 6.12.35, or 6.15.4 (and later). Distribution-specific patches have been released for Debian (linux 6.1.147-1), Ubuntu (USN-7833-1, USN-7833-2, USN-7833-3, USN-7833-4, USN-7856-1), and Red Hat. As a workaround where patching is not immediately possible, restrict local user access on systems running the imx-jpeg driver and consider blacklisting the driver (imx-jpeg) if the hardware feature is not required (Red Hat CVE, Ubuntu USN-7833-1, Debian Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."