В ядре Linux устранена следующая уязвимость:
bnge: исправлено разыменование нулевого указателя в выпуске дополнительного устройства. Если выделение auxr_dev не удалось во время настройки вспомогательного устройства, ошибка
path вызывает вспомогательную_device_uninit(), которая в конечном итоге вызывает
bnge_aux_dev_release(). Обратный вызов Release безоговорочно разыменовывает aux_priv->auxr_dev->pdev.
чтобы получить родительский файл bnge_dev.
Поскольку auxr_dev еще не выделен
на этом пути сбоя разыменование приводит к исключению NULL-указателя
Получите родительский элемент bnge_dev из родительского устройства вспомогательного устройства вместо
auxr_dev и освобождать auxr_dev только в том случае, если он был успешно выделен. Это
позволяет обратному вызову Release правильно очистить частично инициализированный
вспомогательные устройства.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: bnge: Fix NULL pointer dereference in aux device release If allocation of auxr_dev fails during auxiliary device setup, the error path calls auxiliary_device_uninit(), which eventually invokes bnge_aux_dev_release(). The release callback unconditionally dereferences aux_priv->auxr_dev->pdev to retrieve the parent bnge_dev. Since auxr_dev has not yet been allocated on this failure path, the dereference results in a NULL pointer exception Retrieve the parent bnge_dev from the auxiliary device's parent instead of auxr_dev, and free auxr_dev only when it was successfully allocated. This allows the release callback to correctly clean up partially initialized auxiliary devices.
Уязвимые продукты 2
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.1.9
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.2
|