CVE-2024-40919

bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()

published July 12, 2024

CVSS
—
EPSS
0%
Percentile
20.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00291 · 20.5th percentile
Published
2024-07-12T12:25Z
EPSS history
Timeline
  • 12 JUL 12:25Z
    bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()
    cvelistv5