CVE-2025-40330

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux24d694aec139e9e0a31c60993db79bd8ad575afe < 1a8a15c3f71d1199d510ccba4bc201cbd2204048affected
LinuxLinux24d694aec139e9e0a31c60993db79bd8ad575afe < bc7208ca805ae6062f353a4753467d913d963bc6affected
LinuxLinux6.13affected
LinuxLinux0 < 6.13unaffected
LinuxLinux6.17.8 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References