NULL pointer dereference in Linux
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.
EPSS: 0.003 (21.3th percentile) — read the EPSS interpretation.
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.
Affected products
- Linux — versions 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0, 5.17, 0
- Linux Linux_kernel — versions 6.10
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-40919?
- CVE-2024-40919 is a medium-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2024-07-12.
- How severe is CVE-2024-40919?
- Medium severity. CVSS v3 base score is 5.5 out of 10.