bnxt_en: Fix null pointer dereference in bnxt_bs_trace_check_wrap()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bnxt_en: Fix null pointer dereference in bnxt_bs_trace_check_wrap()
With older FW, we may get the ASYNC_EVENT_CMPL_EVENT_ID_DBG_BUF_PRODUCER for FW trace data type that has not been initialized. This will result in a crash in bnxt_bs_trace_type_wrap(). Add a guard to check for a valid magic_byte pointer before proceeding.
From the CVE record · Linux
The Linux kernel's bnxt_en driver can dereference a null pointer when older firmware reports a trace data type that has not been initialized, causing a crash. The input does not establish an attacker path, authentication requirement, or need for user interaction.
Engineers running Linux kernels with the bnxt_en driver and older firmware should check their systems; affected versions were not specified.