Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: bnxt_en: set backing store type from query type bnxt_hwrm_func_backing_store_qcaps_v2() stores resp->type from the firmware response in ctxm->type and later uses that value to index fixed backing-store metadata arrays such as ctx_arr[] and bnxt_bstore_to_trace[]. ctxm->type is fixed by the current backing-store query type and matches the array index of ctx->ctx_arr. Set ctxm->type from the current loop variable instead of depending on resp->type. Also update the loop to advance type from next_valid_type in the for statement, which keeps the control flow simpler for non-valid and unchanged entries.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6a4d0774f02d61f8c75ffe2e38a8553410fe52e9 before c66a27ca534580de1d28cf568f59fe5f50d43e15; affected 6a4d0774f02d61f8c75ffe2e38a8553410fe52e9 before c8d53b70166d1dc463ef42adb7293e1a770822c7; affected 6a4d0774f02d61f8c75ffe2e38a8553410fe52e9 before 29732b68a6816a815d58e9ab229844c23617e1e0; affected 6a4d0774f02d61f8c75ffe2e38a8553410fe52e9 before 4ee937107d52f9e5c350e4b5e629760e328b3d9f |
| Linux / Linux | affected 6.8; unaffected 0 before 6.8; unaffected 6.12.114 through 6.12.*; unaffected 6.18.22 through 6.18.*; unaffected 6.19.12 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.