В ядре Linux устранена следующая уязвимость: media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval Getting / Setting интервал кадров с помощью V4L2 subdev pad ops get_frame_interval/set_frame_interval вызывает блокировку, так как состояние subdev заблокировано в [1], но также и в самом драйвере. В [2] описано, что звонящий несет ответственность за приобретение и освобождение замка в этом случае. Поэтому приобретение замка у водителя является неправильным.
Удалить блокировки приобретений/релизов от mt9m114_ifp_get_frame_interval() и mt9m114_ifp_set_frame_interval(). [1] drivers/media/v4l2-core/v4l2-subdev.c - линия 1129 [2] Documentation/driver-api/media/v4l2-subdev.rst
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval Getting / Setting the frame interval using the V4L2 subdev pad ops get_frame_interval/set_frame_interval causes a deadlock, as the subdev state is locked in the [1] but also in the driver itself. In [2] it's described that the caller is responsible to acquire and release the lock in this case. Therefore, acquiring the lock in the driver is wrong. Remove the lock acquisitions/releases from mt9m114_ifp_get_frame_interval() and mt9m114_ifp_set_frame_interval(). [1] drivers/media/v4l2-core/v4l2-subdev.c - line 1129 [2] Documentation/driver-api/media/v4l2-subdev.rst
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 2
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.44
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.16.4
|