diff options
| author | Eliot Courtney <ecourtney@nvidia.com> | 2026-05-25 22:57:25 +0900 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-05-25 16:30:34 +0200 |
| commit | 051ae1b21ff7a3cc27522b0b3b56e277b62c1207 (patch) | |
| tree | 750846d591677fb690be75a57cd7adf5dd4c5a1f /include/linux/debugobjects.h | |
| parent | 25ad950b4ee37f7b42e006f508a793b7c38fcc12 (diff) | |
gpu: nova-core: vbios: use checked accesses in `setup_falcon_data`
Use checked arithmetic for `ucode_offset` in `setup_falcon_data`. This
prevents a malformed firmware from causing a panic.
Fixes: dc70c6ae2441 ("gpu: nova-core: vbios: Add support to look up PMU table in FWSEC")
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260525-fix-vbios-v5-7-e5e455251537@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
