Description
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-async: Unregister sub-device if asc_list is empty When my em28xx USB device that uses the i2c tvp5150 driver is disconnected, it crashes. The cause is that the tvp5150 i2c module uses v4l2_async, but the em28xx driver does not since it predates v4l2_async. In that corner case sd->asc_list is empty, so v4l2_async_unregister_subdev() never calls v4l2_device_unregister_subdev(). Modify the code so that, if sd->asc_list is empty, v4l2_device_unregister_subdev() is still called.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
28a1295795d85a25f2e7dd391c43969e95fcb341 to < c7201bd08cad791858337e33ffcd90d8ae4147c2affected28a1295795d85a25f2e7dd391c43969e95fcb341 to < e190320cebe921f99973c984ac53f317061a011faffected28a1295795d85a25f2e7dd391c43969e95fcb341 to < 65e55f34fb2d61cb4f8a5dfcb93848af2aea0f32affected28a1295795d85a25f2e7dd391c43969e95fcb341 to < 9fb74dce5c650cb23b60f6ba0ffcd5024e948a75affected28a1295795d85a25f2e7dd391c43969e95fcb341 to < 4e72f13d58c4245c177a9d5f54579345554f354daffected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c7201bd08cad791858337e33ffcd90d8ae4147c2 ↗
- https://git.kernel.org/stable/c/e190320cebe921f99973c984ac53f317061a011f ↗
- https://git.kernel.org/stable/c/65e55f34fb2d61cb4f8a5dfcb93848af2aea0f32 ↗
- https://git.kernel.org/stable/c/9fb74dce5c650cb23b60f6ba0ffcd5024e948a75 ↗
- https://git.kernel.org/stable/c/4e72f13d58c4245c177a9d5f54579345554f354d ↗