# CVE-2024-40919: bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-07-12T12:25:01.521Z
- Modified: 2026-06-17T07:46:52.260Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 before cde177fa235cd36f981012504a6376315bac03c9; from 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 before ca6660c956242623b4cfe9be2a1abc67907c44bf; from 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 before 8b65eaeae88d4e9f999e806e196dd887b90bfed9; from 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 before a9b9741854a9fe9df948af49ca5514e0ed0429df; 5.17 (not affected: before 5.17; from 6.1.95 up to 6.1.*; from 6.6.35 up to 6.6.*; from 6.9.6 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 5.17 before 6.1.95; from 6.2 before 6.6.35; from 6.7 before 6.9.6; 6.10

## References

- <https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9> (patch)
- <https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf> (patch)
- <https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9> (patch)
- <https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-40919](https://www.cve.org/CVERecord?id=CVE-2024-40919), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-40919](https://nvd.nist.gov/vuln/detail/CVE-2024-40919), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40919 · Whole record: https://cve.day/CVE-2024-40919.json · Rebuilt by cve.day 2026-11-25T22:58:42.839Z
