В ядре Linux устранена следующая уязвимость:
Bluetooth: MGMT: исправлена утечка памяти в set_ssp_complete. Исправлена утечка памяти в set_ssp_complete(), где структуры mgmt_pending_cmd.
не освобождаются после удаления из списка ожидания. Коммит 302a1f674c00 («Bluetooth: MGMT: исправить возможные UAF») заменен.
mgmt_pending_foreach() вызывает с индивидуальной обработкой команд, но пропущен
добавление вызовов mgmt_pending_free() как в пути ошибок, так и в пути успеха
set_ssp_complete().
Другие функции завершения, такие как set_le_complete().
были правильно исправлены в том же коммите. Это вызывает утечку памяти структуры mgmt_pending_cmd и ее
связанные данные параметров для каждой завершающейся команды SSP. Добавьте недостающие вызовы mgmt_pending_free(cmd) в оба пути кода, чтобы исправить
утечка памяти.
Также исправьте ту же проблему в set_advertising_complete().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Fix memory leak in set_ssp_complete Fix memory leak in set_ssp_complete() where mgmt_pending_cmd structures are not freed after being removed from the pending list. Commit 302a1f674c00 ("Bluetooth: MGMT: Fix possible UAFs") replaced mgmt_pending_foreach() calls with individual command handling but missed adding mgmt_pending_free() calls in both error and success paths of set_ssp_complete(). Other completion functions like set_le_complete() were fixed correctly in the same commit. This causes a memory leak of the mgmt_pending_cmd structure and its associated parameter data for each SSP command that completes. Add the missing mgmt_pending_free(cmd) calls in both code paths to fix the memory leak. Also fix the same issue in set_advertising_complete().
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 11
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12.59
|
6.12.69
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.16.10
|
6.17
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.17.1
|
6.18.9
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.17:-:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:*
|
— | — |