---
id: CVE-2025-40330
title: |-
  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
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) th…
severity: none
published: '2025-12-09'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:10:00.210'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-40330'
references:
  - url: 'https://git.kernel.org/stable/c/1a8a15c3f71d1199d510ccba4bc201cbd2204048'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bc7208ca805ae6062f353a4753467d913d963bc6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00217
epssPercentile: 0.11304
ingestedAt: '2026-10-14T23:00:02.030Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
