media: ti: vpe: unwind v4l2 device registration on probe error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4d59c7d455853edca990848b1cb7c482b4628f32 · < e0f1c9a90ef665f2587c274a8fed59f2dfc575a6| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: ti: vpe: unwind v4l2 device registration on probe error
If the vpe_top resource is missing, vpe_probe() returns -ENODEV after v4l2_device_register() has succeeded. Probe failures do not call the driver's remove callback, so the v4l2 device remains registered on that error path.
Route that failure through the existing v4l2_device_unregister() unwind label, matching the other errors after v4l2_device_register().
From the CVE record · Linux
The Linux kernel TI VPE driver can leave a V4L2 device registered if the vpe_top resource is missing during probe. The input does not describe an attacker action, access requirements, or user interaction.
Engineers running Linux kernels with the TI VPE driver should check their kernel; affected versions are not specified.