CVE Explore

NULL pointer dereference in Linux

CVE-2024-40919

CVSS v3
5.5 Medium
Public exploits
None known
EPSS
0.003 · 21.6th percentile
Published
2024-07-12

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
None I:N
Availability
High A:H

EPSS exploit prediction

EPSS 0.003, 21.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0, 5.17, 0
  • Linux Kernel — versions 6.10

Weakness classification (CWE)

References