bnxt_en: Shutdown FW DMA in bnxt_shutdown()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.17.8
- CVEs
- CVE-2025-40330
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:07 UTC · Revision 1
Source evidence
bnxt_en: Shutdown FW DMA in bnxt_shutdown()
core-osv · Original sourcePublished 9 Dec 2025, 04:09 UTC
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.
osv:CVE-2025-40330
Kernel
Fixed versions: 6.17.8
Complete source record
{
"id": "6ff6c5bb503044f5022f980c2594875151bd51b79082e7c45ce3e8e712c32d5a",
"url": "https://osv.dev/vulnerability/CVE-2025-40330",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "bnxt_en: Shutdown FW DMA in bnxt_shutdown()",
"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.",
"evidence": "osv:CVE-2025-40330",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.17.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-40330",
"aliases": [
"CVE-2025-40330"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "24d694aec139e9e0a31c60993db79bd8ad575afe"
},
{
"fixed": "1a8a15c3f71d1199d510ccba4bc201cbd2204048"
},
{
"fixed": "bc7208ca805ae6062f353a4753467d913d963bc6"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40330.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.17.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40330.json"
}
}
],
"modified": "2026-10-28T02:30:40.621602773Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1a8a15c3f71d1199d510ccba4bc201cbd2204048",
"https://git.kernel.org/stable/c/bc7208ca805ae6062f353a4753467d913d963bc6",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40330.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40330",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40330.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40330",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 507841,
"published_at": "2025-12-09T04:09:47.251+00:00"
}