CVE-2024-40919
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
12/07/2024
Last modified:
03/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()<br />
<br />
In case of token is released due to token->state == BNXT_HWRM_DEFERRED,<br />
released token (set to NULL) is used in log messages. This issue is<br />
expected to be prevented by HWRM_ERR_CODE_PF_UNAVAILABLE error code. But<br />
this error code is returned by recent firmware. So some firmware may not<br />
return it. This may lead to NULL pointer dereference.<br />
Adjust this issue by adding token pointer check.<br />
<br />
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.17 (including) | 6.1.95 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.35 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.9.6 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9
- https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df
- https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf
- https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9
- https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9
- https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df
- https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf
- https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html



