media: amphion: Set video drvdata before register video device
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: amphion: 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 amphion media 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. This requires opening the video device; the input does not specify authentication requirements.
Engineers running Linux kernels with the amphion media driver should check their systems; affected versions are not specified.