Ad

CVE-2026-97532

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

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path When qla2x00_mem_alloc() fails, qla2x00_probe_one() jumps to probe_hw_failed and calls qla2x00_mem_free(). Несколько ярлыков ошибок в qla2x00_mem_alloc() освободили членов адаптера (elsrej.c, purex_dma_pool, flt, sfp_data, loop_id_map, async_pd, sf_init_cb, ex_init_cb, npiv_info), но оставили указатели висеть. qla2x00_mem_free() затем освободил их во второй раз. Хуже того, для членов dma_pool он выпустил dma_pool_free(ha->s_dma_pool, ...) после того, как s_dma_pool уже был уничтожен и установлен на NULL на fail_s_dma_pool, сняв ссылку с пула NULL.

Очистите каждый свободный указатель (и его ручку DMA) в метках ошибок, чтобы последующий qla2x00_mem_free () пропускал их.

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

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path When qla2x00_mem_alloc() fails, qla2x00_probe_one() jumps to probe_hw_failed and calls qla2x00_mem_free(). Several error labels in qla2x00_mem_alloc() freed adapter members (elsrej.c, purex_dma_pool, flt, sfp_data, loop_id_map, async_pd, sf_init_cb, ex_init_cb, npiv_info) but left the pointers dangling. qla2x00_mem_free() then freed them a second time. Worse, for the dma_pool members it issued dma_pool_free(ha->s_dma_pool, ...) after s_dma_pool had already been destroyed and set to NULL at fail_s_dma_pool, dereferencing a NULL pool. Clear each freed pointer (and its DMA handle) in the error labels so the subsequent qla2x00_mem_free() skips them.