В ядре Linux устранена следующая уязвимость:
i3c: исправлено разблокированное разыменование dev->desc в i3c_device_get_supported_xfer_mode().
i3c_device_get_supported_xfer_mode() использует dev->desc для получения
главный контроллер. Однако dev->desc нельзя разыменовывать, если только
bus->lock удерживается, и эта функция не принимает эту блокировку. Для этой функции требуется доступ только к главному контроллеру, связанному с
шина устройства.
Вместо этого используйте dev->bus, что всегда справедливо для срок службы устройства и не требует разыменования dev->desc.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: i3c: Fix unlocked dereference of dev->desc in i3c_device_get_supported_xfer_mode() i3c_device_get_supported_xfer_mode() uses dev->desc to obtain the master controller. However, dev->desc must not be dereferenced unless bus->lock is held, and this function does not take that lock. The function only needs access to the master controller associated with the device's bus. Use dev->bus instead, which is always valid for the lifetime of the device and does not require dereferencing dev->desc.
Характеристики атаки
Последствия
Строка CVSS v3.1