diff options
author | Rhys Lloyd <krakow20@gmail.com> | 2025-07-12 19:51:08 -0700 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2025-07-17 14:10:58 +0900 |
commit | 14ae91a81ec8fa0bc23170d4aa16dd2a20d54105 (patch) | |
tree | 687057a2f131d1870bb3237a66fdeee9cf8a4c90 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 215a3f91713383a3c0d2da82d223a608a3c17ac1 (diff) |
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: 47c4846e4319 ("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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions