Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-40919

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 to < cde177fa235cd36f981012504a6376315bac03c9affected
  • 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 to < ca6660c956242623b4cfe9be2a1abc67907c44bfaffected
  • 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 to < 8b65eaeae88d4e9f999e806e196dd887b90bfed9affected
  • 8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0 to < a9b9741854a9fe9df948af49ca5514e0ed0429dfaffected

Linux Linux

Default version status: affected

  • 5.17affected
  • 0 to < 5.17unaffected
  • 6.1.95 to ≤ 6.1.*unaffected
  • 6.6.35 to ≤ 6.6.*unaffected
  • 6.9.6 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References