В ядре Linux устранена следующая уязвимость:
media: v4l2-async: исправлена обработка ошибок на шагах после обнаружения совпадения. Как только будет обнаружено, что асинхронное соединение соответствует fwnode,
суб-устройство может быть зарегистрировано (если оно еще не было), его привязка
вызывается операция, создаются вспомогательные ссылки, асинхронное соединение
добавляется в список подключений субустройства и удаляется из списка.
глобальный список ожидающих соединений. Далее возможна собственная
уведомитель ищет возможные дополнительные совпадения.
Устраните следующие конкретные проблемы:
- Если v4l2_async_match_notify() завершился неудачей до обработки дополнительного уведомления,
асинхронное соединение было отключено, и его запись удалена из
список асинхронных подключений суб-устройства. Последняя часть также была сделана в
v4l2_async_match_notify().
- Поле sd асинхронного соединения было установлено только после создания вспомогательного
ссылки в v4l2_async_match_notify(). Однако в
v4l2_async_unbind_subdev_one(), который был вызван по пути ошибки
Ошибка v4l2_async_match_notify().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-async: Fix error handling on steps after finding a match Once an async connection is found to be matching with an fwnode, a sub-device may be registered (in case it wasn't already), its bound operation is called, ancillary links are created, the async connection is added to the sub-device's list of connections and removed from the global waiting connection list. Further on, the sub-device's possible own notifier is searched for possible additional matches. Fix these specific issues: - If v4l2_async_match_notify() failed before the sub-notifier handling, the async connection was unbound and its entry removed from the sub-device's async connection list. The latter part was also done in v4l2_async_match_notify(). - The async connection's sd field was only set after creating ancillary links in v4l2_async_match_notify(). It was however dereferenced in v4l2_async_unbind_subdev_one(), which was called on error path of v4l2_async_match_notify() failure.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.6
|
6.6.128
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.75
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.16
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.6
|