CVE-2024-56578Published Dec 27, 2024 · Dec 27Updated Oct 28
media: imx-jpeg: Set video drvdata before register video device
Linux
Medium5.5Fix available
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: Set video drvdata before register video device
The video drvdata should be set before the video device is registered, otherwise video_drvdata() may return NULL in the open() file ops, and led to oops.
From the CVE record · Linux
The Linux kernel's imx-jpeg driver can register a video device before setting its driver data. If the device is opened during that window, the open operation may encounter NULL driver data and cause a kernel oops. The input does not specify authentication requirements.
Engineers running Linux kernels with the imx-jpeg driver should check their deployments; affected versions are not specified.