В ядре Linux устранена следующая уязвимость:
wifi: ath12k: исправлена ошибка выборки неверных записей в ath12k_dp_mon_srng_process. В настоящее время ath12k_dp_mon_srng_process использует ath12k_hal_srng_src_get_next_entry
для получения следующей записи из кольца назначения. Это неверно, потому что
ath12k_hal_srng_src_get_next_entry предназначен для исходных колец, а не назначения.
кольца.
Это приводит к выборке недействительных записей, что может привести к повреждению данных или
происходит сбой из-за доступа к неверным ячейкам памяти. Это происходит потому, что
Кольцо источника и кольцо назначения имеют разные механизмы обработки и использования
неправильная функция приводит к неправильной арифметике указателя и управлению кольцом. Чтобы устранить эту проблему, замените вызов ath12k_hal_srng_src_get_next_entry на
ath12k_hal_srng_dst_get_next_entry в ath12k_dp_mon_srng_process.
Это гарантирует
что для получения записей из места назначения используется правильная функция
кольцо, предотвращающее неправильный доступ к памяти. Протестировано: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1. Протестировано: WCN7850 hw2.0 WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process Currently, ath12k_dp_mon_srng_process uses ath12k_hal_srng_src_get_next_entry to fetch the next entry from the destination ring. This is incorrect because ath12k_hal_srng_src_get_next_entry is intended for source rings, not destination rings. This leads to invalid entry fetches, causing potential data corruption or crashes due to accessing incorrect memory locations. This happens because the source ring and destination ring have different handling mechanisms and using the wrong function results in incorrect pointer arithmetic and ring management. To fix this issue, replace the call to ath12k_hal_srng_src_get_next_entry with ath12k_hal_srng_dst_get_next_entry in ath12k_dp_mon_srng_process. This ensures that the correct function is used for fetching entries from the destination ring, preventing invalid memory accesses. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.3
|
6.6.88
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.25
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.13.12
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.14
|
6.14.4
|