Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-40919
HistoryJul 12, 2024 - 12:25 p.m.

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

2024-07-1212:25:01
Linux
github.com
1
linux kernel
vulnerability resolved
firmware messages
token released
hwrm_err_code_pf_unavailable
firmware
null pointer dereference

AI Score

6.9

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

AI Score

6.9

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial