VDB

CVE-2024-40919

CVE-2024-40919 PUBLISHED

bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()

Reported by linux · Published July 12, 2024

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send() In case of token is released due to token->state == BNXT_HWRM_DEFERRED, released token (set to NULL) is used in log messages. This issue is expected to be prevented by HWRM_ERR_CODE_PF_UNAVAILABLE error code. But this error code is returned by recent firmware. So some firmware may not return it. This may lead to NULL pointer dereference. Adjust this issue by adding token pointer check. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixed versions

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

PackageEcosystemFixed in
LinuxLinuxcde177fa235cd36f981012504a6376315bac03c9, ca6660c956242623b4cfe9be2a1abc67907c44bf, a9b9741854a9fe9df948af49ca5514e0ed0429df, 8b65eaeae88d4e9f999e806e196dd887b90bfed9

Affected products

VendorProductVersions
LinuxLinux8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0, 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0, 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0
LinuxLinux5.17, 0, 6.1.95
LinuxLinux6.10, 6.1.95, 6.6.35
linuxlinux_kernel5.17, 5.17, 5.17

Timeline

  • Jul 12, 2024 CVE Published
  • Jul 13, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 6, 2025 CVE Updated
  • Jan 7, 2026 Security Advisory (271 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (174 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-40919
vulnetix vdb fixes CVE-2024-40919

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-2024-40919/fixes/registry"

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

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