Ad

CVE-2022-48726

HIGH CVSS 3.1: 7,8 EPSS 0.24%
Обновлено 4 августа 2026
Linux
Параметр Значение
CVSS 7,8 (HIGH)
Уязвимые версии 5.10 — 5.16.8
Устранено в версии 5.10.99
Тип уязвимости CWE-416 (Использование памяти после освобождения)
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: RDMA/ucma: защита mc во время одновременных выходов из многоадресной рассылки Частично отмените фиксацию, упомянутую в строке «Исправления», чтобы убедиться, что выделение и удаление многоадресной структуры заблокированы. ОШИБКА: KASAN: использование после освобождения в драйверах ucma_cleanup_multicast/infiniband/core/ucma.c:491 [inline] ОШИБКА: KASAN: use-after-free в драйверах ucma_destroy_private_ctx+0x914/0xb70/infiniband/core/ucma.c:579. Чтение размера 8 по адресу ffff88801bb74b00 с помощью задачи syz-executor.1/25529.

ЦП: 0 PID: 25529 Связь: syz-executor.1 Не испорчен 5.16.0-rc7-syzkaller #0 Название оборудования: Google Google Compute Engine/Google Compute Engine, BIOS Google 01.01.2011 Отслеживание вызова: __dump_stack lib/dump_stack.c:88 [встроенный] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x8d/0x320 мм/kasan/report.c:247 __kasan_report мм/kasan/report.c:433 [встроенный] kasan_report.cold+0x83/0xdf мм/kasan/report.c:450 ucma_cleanup_multicast драйверы/infiniband/core/ucma.c:491 [встроенный] ucma_destroy_private_ctx+0x914/0xb70 драйверы/infiniband/core/ucma.c:579 ucma_destroy_id+0x1e6/0x280 драйверы/infiniband/core/ucma.c:614 ucma_write+0x25c/0x350 драйверы/infiniband/core/ucma.c:1732 vfs_write+0x28e/0xae0 fs/read_write.c:588 ksys_write+0x1ee/0x250 fs/read_write.c:643 do_syscall_x64 Arch/x86/entry/common.c:50 [встроенный] do_syscall_64+0x35/0xb0 Arch/x86/entry/common.c:80 запись_SYSCALL_64_after_hwframe+0x44/0xae В настоящее время поиск xarray может касаться одновременно освобождающего mc в качестве xa_for_each() не окружен никаким замком. Вместо того, чтобы удерживать замок в течение полное сканирование сохраняет его только для затронутых элементов, которые обычно пусты список.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: RDMA/ucma: Protect mc during concurrent multicast leaves Partially revert the commit mentioned in the Fixes line to make sure that allocation and erasing multicast struct are locked. BUG: KASAN: use-after-free in ucma_cleanup_multicast drivers/infiniband/core/ucma.c:491 [inline] BUG: KASAN: use-after-free in ucma_destroy_private_ctx+0x914/0xb70 drivers/infiniband/core/ucma.c:579 Read of size 8 at addr ffff88801bb74b00 by task syz-executor.1/25529 CPU: 0 PID: 25529 Comm: syz-executor.1 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x8d/0x320 mm/kasan/report.c:247 __kasan_report mm/kasan/report.c:433 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:450 ucma_cleanup_multicast drivers/infiniband/core/ucma.c:491 [inline] ucma_destroy_private_ctx+0x914/0xb70 drivers/infiniband/core/ucma.c:579 ucma_destroy_id+0x1e6/0x280 drivers/infiniband/core/ucma.c:614 ucma_write+0x25c/0x350 drivers/infiniband/core/ucma.c:1732 vfs_write+0x28e/0xae0 fs/read_write.c:588 ksys_write+0x1ee/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae Currently the xarray search can touch a concurrently freeing mc as the xa_for_each() is not surrounded by any lock. Rather than hold the lock for a full scan hold it only for the effected items, which is usually an empty list.

Характеристики атаки

Способ атаки
Локальный
Нужен локальный доступ
Сложность
Низкая
Легко эксплуатировать
Нужны права
Низкие
Нужны базовые права
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Высокое
Полная утечка данных
Целостность
Высокое
Полная модификация данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1

Уязвимые продукты 5

Конфигурация От (включительно) До (исключительно)
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
5.10 5.10.99
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
5.11 5.15.22
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
5.16 5.16.8
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:*
— —