CVE-2024-40919

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

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.29 % · centile 22 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 < cde177fa235cd36f981012504a6376315bac03c9 ; affected 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 < ca6660c956242623b4cfe9be2a1abc67907c44bf ; affected 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 < 8b65eaeae88d4e9f999e806e196dd887b90bfed9 ; affected 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 < a9b9741854a9fe9df948af49ca5514e0ed0429df
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.95 ≤ 6.1.* ; unaffected 6.6.35 ≤ 6.6.* ; unaffected 6.9.6 ≤ 6.9.* ; unaffected 6.10 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD