media: imx-jpeg: Cleanup after an allocation error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's imx-jpeg driver can fail to clean up after an allocation error. Subsequent allocation errors can leave buffers uninitialized and cause NULL pointer dereferences. The input does not specify whether an attacker can trigger this, or any access or user-interaction requirements.
Engineers running Linux kernels with the imx-jpeg driver should check their versions; affected versions are not specified.