Ad

CVE-2026-89853

NONE EPSS 0.22%
Обновлено 19 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: scsi: qla2xxx: Fix FCE trace use-after-free Во время дампа прошивки qla2x00_free_fce_trace() освобождается и очищается ha->fce, удерживая при этом только fce_mutex. Потребители сброса прошивки qla27xx_fwdt_entry_t264() и qla25xx_copy_fce() читают проверку ha->fce (NULL, за которой следует копия буфера) под hardware_lock и никогда не берут fce_mutex. Таким образом, отключение отладки FCE может освободить буфер DMA между проверкой NULL дампа и его копией, в результате чего use-after-free.

Unpublish ha->fce под hardware_lock, затем отпустите замок и освободите буфер DMA (dma_free_coherent() может спать). Параллельный дамп либо завершает проверку и копирует буфер, сохраняющий силу, либо наблюдает ha->fce NULL и пропускает его.

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

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix FCE trace use-after-free during firmware dump qla2x00_free_fce_trace() freed and cleared ha->fce while holding only fce_mutex. The firmware-dump consumers qla27xx_fwdt_entry_t264() and qla25xx_copy_fce() read ha->fce (NULL check followed by a copy of the buffer) under hardware_lock and never take fce_mutex. A debugfs FCE disable could therefore free the DMA buffer between a dump's NULL check and its copy, resulting in a use-after-free. Unpublish ha->fce under hardware_lock, then release the lock and free the DMA buffer (dma_free_coherent() may sleep). A concurrent dump either completes its check and copy with the buffer still valid, or observes ha->fce == NULL and skips it.