CVEvulnerability
CVE-2024-40919
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-12
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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.
Affected configurations
• linux linux kernel (>= 5.17 < 6.1.95)
• linux linux kernel (>= 6.2 < 6.6.35)
• linux linux kernel (>= 6.7 < 6.9.6)
• linux linux kernel 6.10
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9 Patch
- https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df Patch
- https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf Patch
- https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9 Patch
- https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9 Patch
- https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df Patch
- https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf Patch
- https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9 Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org