[PATCH] 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.
Danilo Krummrich
dakr at kernel.org
Fri Jul 11 18:03:43 UTC 2025
Hi Rhys,
On Fri Jul 11, 2025 at 11:30 AM CEST, Quaternions wrote:
> Signed-off-by: Rhys Lloyd <krakow20 at gmail.com>
Thanks for your contribution.
When sending patches, please make sure to follow the kernel's patch submission
guidelines [1].
In particular, please stick to short and meaningful commit subject, followed by
a commit description, even if the patch is simple and obvious.
Also make sure to run ./scripts/checkpatch.pl and ./scripts/get_maintainer.pl to
get your patches checked and find the correct list of people to send them to.
Finally, please also consider the Rust submit checklist [2].
Thanks,
Danilo
[1] https://docs.kernel.org/process/submitting-patches.html
[2] https://rust-for-linux.com/contributing#submit-checklist-addendum
More information about the Nouveau
mailing list