В ядре Linux устранена следующая уязвимость:
Ice: исправлен двойной путь ошибки в Ice_sf_eth_activate(). При ошибке вспомогательного_device_add() метод Ice_sf_eth_activate() переходит к
aux_dev_uninit и вызывает вспомогательный_device_uninit(&sf_dev->adev). Обратный вызов освобождения устройства Ice_sf_dev_release() освобождает sf_dev, но
текущий путь ошибки попадает в sf_dev_free и вызывает
kfree(sf_dev) снова, вызывая двойное освобождение.
Оставьте kfree(sf_dev) для пути сбоя вспомогательного_устройства_init(), но
избегайте перехода к sf_dev_free после вспомогательного_device_uninit().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ice: fix double free in ice_sf_eth_activate() error path When auxiliary_device_add() fails, ice_sf_eth_activate() jumps to aux_dev_uninit and calls auxiliary_device_uninit(&sf_dev->adev). The device release callback ice_sf_dev_release() frees sf_dev, but the current error path falls through to sf_dev_free and calls kfree(sf_dev) again, causing a double free. Keep kfree(sf_dev) for the auxiliary_device_init() failure path, but avoid falling through to sf_dev_free after auxiliary_device_uninit().
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12
|
6.12.88
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.30
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.0.7
|