CVE-2025-40330
JSON

Not scored

bnxt_en: Shutdown FW DMA in bnxt_shutdown()

Severity
Not scored
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Shutdown FW DMA in bnxt_shutdown() The netif_close() call in bnxt_shutdown() only stops packet DMA. There may be FW DMA for trace logging (recently added) that will continue. If we kexec to a new kernel, the DMA will corrupt memory in the new kernel. Add bnxt_hwrm_func_drv_unrgtr() to unregister the driver from the FW. This will stop the FW DMA. In case the call fails, call pcie_flr() to reset the function and stop the DMA.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 24d694aec139e9e0a31c60993db79bd8ad575afe before 1a8a15c3f71d1199d510ccba4bc201cbd2204048, from 24d694aec139e9e0a31c60993db79bd8ad575afe before bc7208ca805ae6062f353a4753467d913d963bc6, 6.13
Not affected: before 6.13, from 6.17.8 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Shutdown FW DMA in bnxt_shutdown() The netif_close() call in bnxt_shutdown() only stops packet DMA. There may be FW DMA for trace logging (recently added) that will continue. If we kexec to a new kernel, the DMA will corrupt memory in the new kernel. Add bnxt_hwrm_func_drv_unrgtr() to unregister the driver from the FW. This will stop the FW DMA. In case the call fails, call pcie_flr() to reset the function and stop the DMA.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: bnxt_en: Apagar el DMA del FW en bnxt_shutdown() La llamada a netif_close() en bnxt_shutdown() solo detiene el DMA de paquetes. Puede haber DMA del FW para el registro de trazas (añadido recientemente) que continuará. Si hacemos kexec a un nuevo kernel, el DMA corromperá la memoria en el nuevo kernel. Añadir bnxt_hwrm_func_drv_unrgtr() para anular el registro del controlador del FW. Esto detendrá el DMA del FW. En caso de que la llamada falle, llamar a pcie_flr() para reiniciar la función y detener el DMA.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40330 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40330 changed 2026-10-14Public domain