linux/drivers/gpu/nova-core
Rhys Lloyd 14ae91a81e 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: 47c4846e43 ("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>
History 2025-07-17 14:10:58 +09:00
..
falcon gpu: nova-core: replace Duration with Delta 2025-06-25 20:13:32 +02:00
fb gpu: nova-core: consider clippy::cast_lossless 2025-06-25 01:17:22 +02:00
firmware gpu: nova-core: consider clippy::cast_lossless 2025-06-25 01:17:22 +02:00
regs gpu: nova-core: update and annotate TODO list 2025-06-23 22:05:41 +02:00
dma.rs gpu: nova-core: update and annotate TODO list 2025-06-23 22:05:41 +02:00
driver.rs gpu: nova-core: update and annotate TODO list 2025-06-23 22:05:41 +02:00
falcon.rs gpu: nova-core: Clarify falcon code 2025-07-09 00:17:29 +02:00
fb.rs gpu: nova-core: Clarify sysmembar operations 2025-07-09 00:15:52 +02:00
firmware.rs gpu: nova-core: extract FWSEC from BIOS and patch it to run FWSEC-FRTS 2025-06-23 22:03:09 +02:00
gfw.rs gpu: nova-core: Add code comments related to devinit 2025-07-09 00:07:34 +02:00
gpu.rs gpu: nova-core: Clarify sysmembar operations 2025-07-09 00:15:52 +02:00
Kconfig gpu: nova-core: select AUXILIARY_BUS instead of depending on it 2025-05-15 20:59:32 +02:00
Makefile gpu: nova-core: add initial driver stub 2025-03-09 19:24:27 +01:00
nova_core.rs gpu: nova-core: vbios: Add base support for VBIOS construction and iteration 2025-06-23 20:30:50 +02:00
regs.rs gpu: nova-core: convert /* comments to // 2025-07-09 00:18:30 +02:00
util.rs gpu: nova-core: replace Duration with Delta 2025-06-25 20:13:32 +02:00
vbios.rs gpu: nova-core: fix bounds check in PmuLookupTableEntry::new 2025-07-17 14:10:58 +09:00