summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Bommarito <michael.bommarito@gmail.com>2026-06-17 23:00:36 -0400
committerJiri Kosina <jkosina@suse.com>2026-06-29 11:16:26 +0200
commit7a5f1acd06e5d195cf0934b68256536e5404ef47 (patch)
treeaa385fb1984ad6f095caf5fc6c7c173eeb9b35ef /tools/perf/scripts/python
parent43fae42628a8c10fa8981773d7ec9f1a367821a7 (diff)
HID: roccat: add KUnit test for kone profile-index bounds
Drive kone_keep_values_up_to_date() with a crafted switch-profile event; an out-of-range value reads past profiles[] (KASAN slab-out-of-bounds on an unpatched tree). A benign control with an in-range value exercises the same path. The test object is sized to end at profiles[] so the over-read lands in the KASAN redzone. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Michael Bommarito <michael.bommarito@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions