CVE-2025-38225
JSON

5.5medium

media: imx-jpeg: Cleanup after an allocation error

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2db16c6ed72ce644d5639b3ed15e5817442db4ba before b89ff9cf37ff59399f850d5f7781ef78fc37679f, from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before ec26be7d6355a05552a0d0c1e73031f83aa4dc7f, from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before 0ee9469f818a0b4de3c0e7aecd733c103820d181, from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before 6d0efe7d35c75394f32ff9d0650a007642d23857, from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before 7500bb9cf164edbb2c8117d57620227b1a4a8369, 5.13
Not affected: before 5.13, from 6.1.143 up to 6.1.*, from 6.6.95 up to 6.6.*, from 6.12.35 up to 6.12.*, from 6.15.4 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 5.13 before 6.1.143, from 6.2 before 6.6.95, from 6.7 before 6.12.35, from 6.13 before 6.15.4NVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: imx-jpeg: Limpieza tras un error de asignación. Si el controlador no corrige los fallos de asignación, los errores de asignación posteriores serán falsos positivos, lo que provocará que los búferes permanezcan sin inicializar y desreferencias de punteros nulos. Asegúrese de que las asignaciones fallidas se limpien correctamente para evitar estos problemas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38225 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38225 changed 2026-06-17Public domain