CVE-2025-38225

media: imx-jpeg: Cleanup after an allocation error

State
Published
Severity
Not scored
Published
Jul 4, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2db16c6ed72ce644d5639b3ed15e5817442db4ba to before b89ff9cf37ff59399f850d5f7781ef78fc37679fAffected
  • 2db16c6ed72ce644d5639b3ed15e5817442db4ba to before ec26be7d6355a05552a0d0c1e73031f83aa4dc7fAffected
  • 2db16c6ed72ce644d5639b3ed15e5817442db4ba to before 0ee9469f818a0b4de3c0e7aecd733c103820d181Affected
  • 2db16c6ed72ce644d5639b3ed15e5817442db4ba to before 6d0efe7d35c75394f32ff9d0650a007642d23857Affected
  • 2db16c6ed72ce644d5639b3ed15e5817442db4ba to before 7500bb9cf164edbb2c8117d57620227b1a4a8369Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 6.1.143 through 6.1.*Not affected
  • 6.6.95 through 6.6.*Not affected
  • 6.12.35 through 6.12.*Not affected
  • 6.15.4 through 6.15.*Not affected
  • 6.16 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.