All reports
Medium

kernel: bnxt_en: Shutdown FW DMA in bnxt_shutdown()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40330

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-22

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.

A flaw was found in the Linux kernel's Broadcom NetXtreme-C/E (bnxt_en) network driver. During system shutdown via bnxt_shutdown(), only packet DMA is stopped through netif_close(), but firmware DMA operations for trace logging continue. If the system performs a kexec to boot a new kernel, the ongoing firmware DMA writes corrupt memory in the new kernel, potentially leading to system crashes, data corruption, or security vulnerabilities in the newly booted kernel.