gpu: nova-core: fix bounds check in PmuLookupTableEntry::new
data is sliced from 2..6, but the bounds check data.len() < 5 does not satisfy those bounds. Fixes: 47c4846e ("gpu: nova-core: vbios: Add support for FWSEC ucode extraction") Reviewed-by:Alexandre Courbot <acourbot@nvidia.com> Reviewed-by:
Joel Fernandes <joelagnelf@nvidia.com> Signed-off-by:
Rhys Lloyd <krakow20@gmail.com> Link: https://lore.kernel.org/r/20250713025108.9364-2-krakow20@gmail.com Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com>
Loading
Please register or sign in to comment