В ядре Linux устранена следующая уязвимость:
wifi: ath12k: исправлен сбой при отвязке
Если во время какой-либо инициализации, связанной с прошивкой, возникла ошибка,
функция ath12k_dp_cc_cleanup вызывается для освобождения ресурсов. Однако он высвобождается снова, когда устройство отключено (ath12k_pci),
и мы получаем:
ОШИБКА: разыменование нулевого указателя ядра, адрес: 0000000000000020
в RIP: 0010:ath12k_dp_cc_cleanup.part.0+0xb6/0x500 [ath12k]
Отслеживание вызова:
ath12k_dp_cc_cleanup
ath12k_dp_free
ath12k_core_deinit
ath12k_pci_remove
... Эту проблему всегда можно воспроизвести на виртуальной машине, поскольку адресация MSI
инициализация не удалась.
Чтобы решить эту проблему, просто установите NULL для выпущенной структуры в
ath12k_dp_cc_cleanup в конце.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix crash when unbinding If there is an error during some initialization related to firmware, the function ath12k_dp_cc_cleanup is called to release resources. However this is released again when the device is unbinded (ath12k_pci), and we get: BUG: kernel NULL pointer dereference, address: 0000000000000020 at RIP: 0010:ath12k_dp_cc_cleanup.part.0+0xb6/0x500 [ath12k] Call Trace: ath12k_dp_cc_cleanup ath12k_dp_free ath12k_core_deinit ath12k_pci_remove ... The issue is always reproducible from a VM because the MSI addressing initialization is failing. In order to fix the issue, just set to NULL the released structure in ath12k_dp_cc_cleanup at the end.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.3
|
6.6.64
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.11.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12
|
6.12.2
|