CVE-2024-40919

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

03 Feb 2025, 15:36

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
CWE CWE-476
References () https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9 - () https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9 - Patch
References () https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df - () https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df - Patch
References () https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf - () https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf - Patch
References () https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9 - () https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9 - Patch

Information

Published : 2024-07-12 13:15

Updated : 2025-02-03 15:36


NVD link : CVE-2024-40919

Mitre link : CVE-2024-40919

CVE.ORG link : CVE-2024-40919


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference