CVE-2024-40919

MEDIUM EPSS 20.5%
Published Jul 12, 20241y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jul 12, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

Description

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
20.5% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 6

VendorProductVersionRange
linuxlinux_kernel*≥5.17  –  <6.1.95
linuxlinux_kernel*≥6.2  –  <6.6.35
linuxlinux_kernel*≥6.7  –  <6.9.6
linuxlinux_kernel6.10any
linuxlinux_kernel6.10any
linuxlinux_kernel6.10any

References 5

  • git.kernel.org https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/8b65eaeae88d4e9f999e806e196dd887b90bfed9
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a9b9741854a9fe9df948af49ca5514e0ed0429df
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ca6660c956242623b4cfe9be2a1abc67907c44bf
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/cde177fa235cd36f981012504a6376315bac03c9
    Patch