CVE Catalog

CVE-2026-89853

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel scsi: qla2xxx driver, 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.

Risk Assessment

A use-after-free can lead to kernel memory corruption or a system crash. The risk occurs when a firmware dump and a debugfs FCE disable happen concurrently.

Recommendation

Update the Linux kernel to a version containing the fix that unpublishes ha->fce under hardware_lock and then frees the DMA buffer after releasing the lock. Until the fix is deployed, avoid disabling FCE via debugfs during a firmware dump.

Other vulnerabilities in Linux kernel (qla2xxx)

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS