Re: [PATCH net v3] bnxt_en: validate firmware backing store types

From: Jakub Kicinski

Date: Thu Mar 26 2026 - 15:42:58 EST


On Thu, 26 Mar 2026 22:20:33 +0800 Pengpeng Hou wrote:
> 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[] without a local range check.

please don't post the next version in reply to the old one.
Add a lore.kernel.org link to the previous posting in the change log
instead.