media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access
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: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access
When translating source to sink streams in the crossbar subdev, the driver tries to locate the remote subdev connected to the sink pad. The remote pad may be NULL, if userspace tries to enable a stream that ends at an unconnected crossbar sink. When that occurs, the driver dereferences the NULL pad, leading to a crash.
Prevent the crash by checking if the pad is NULL before using it, and return an error if it is.
From the CVE record · Linux
The Linux kernel’s imx8-isi driver can dereference a NULL pad when translating streams through its crossbar. A local userspace request to enable a stream ending at an unconnected crossbar sink can trigger a crash.
Engineers running Linux kernels with the imx8-isi media driver should check their builds; affected versions are not specified.