VDB

CVE-2025-37895

CVE-2025-37895 PUBLISHED

bnxt_en: Fix error handling path in bnxt_init_chip()

Reported by linux · Published May 20, 2025

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix error handling path in bnxt_init_chip() WARN_ON() is triggered in __flush_work() if bnxt_init_chip() fails because we call cancel_work_sync() on dim work that has not been initialized. WARNING: CPU: 37 PID: 5223 at kernel/workqueue.c:4201 __flush_work.isra.0+0x212/0x230 The driver relies on the BNXT_STATE_NAPI_DISABLED bit to check if dim work has already been cancelled. But in the bnxt_open() path, BNXT_STATE_NAPI_DISABLED is not set and this causes the error path to think that it needs to cancel the uninitalized dim work. Fix it by setting BNXT_STATE_NAPI_DISABLED during initialization. The bit will be cleared when we enable NAPI and initialize dim work.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.14.6, 6.12.28

Affected products

VendorProductVersions
LinuxLinuxf697217f980ffc796c72c34dbf7d59a6b1996888, 40452969a50652e3cbf89dac83d54eebf2206d27, 40452969a50652e3cbf89dac83d54eebf2206d27
LinuxLinux6.13, 0, 6.12.28
linuxlinux_kernel6.12.10, 6.13, 6.13
LinuxLinux*, 40452969a50652e3cbf89dac83d54eebf2206d27, 40452969a50652e3cbf89dac83d54eebf2206d27

Timeline

  • May 20, 2025 CVE Published
  • May 21, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 24, 2025 PoC Published (3 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (196 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Sep 19, 2026 Distribution Patch (188 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-37895
vulnetix vdb fixes CVE-2025-37895

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37895/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›