media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
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: Prevent decoding NV12M jpegs into single-planar buffers
If the application queues an NV12M jpeg as output buffer, but then queues a single planar capture buffer, the kernel will crash with "Unable to handle kernel NULL pointer dereference" in mxc_jpeg_addrs, prevent this by finishing the job with error.
From the CVE record · Linux
The Linux kernel's imx-jpeg driver can dereference a NULL pointer when an application queues an NV12M JPEG output buffer followed by a single-planar capture buffer. This can crash the kernel; the described trigger requires an application to queue those buffers locally, and the input does not specify authentication requirements.
Engineers running Linux kernels with the imx-jpeg media driver should check their systems; affected versions are not specified.