CVE-2024-40919

Source
https://cve.org/CVERecord?id=CVE-2024-40919
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40919.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-40919
Downstream
Related
Published
2024-07-12T12:25:01.521Z
Modified
2026-03-14T12:35:02.635125Z
Summary
bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

In case of token is released due to token->state == BNXTHWRMDEFERRED, released token (set to NULL) is used in log messages. This issue is expected to be prevented by HWRMERRCODEPFUNAVAILABLE 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40919.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8fa4219dba8e621aa1e78dfa7eeab10f55acb3c0
Fixed
cde177fa235cd36f981012504a6376315bac03c9
Fixed
ca6660c956242623b4cfe9be2a1abc67907c44bf
Fixed
8b65eaeae88d4e9f999e806e196dd887b90bfed9
Fixed
a9b9741854a9fe9df948af49ca5514e0ed0429df

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40919.json"