aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-09-24 22:29:11 +0800
committerBenjamin Tissoires <bentiss@kernel.org>2026-10-15 17:59:31 +0200
commit93e5f7f6189af76a2b2e2dfe647838a7b9f99d21 (patch)
treeaccaaee6ae4871ac02c8f335b9fccde0f6f3d827 /scripts/Makefile.thinlto
parentMerge tag 'hid-for-linus-2026100201' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff)
HID: roccat: isku: reject short button reports
The raw event callback runs before HID core validates and zero-pads the report. It passes the buffer to helpers which inspect data[0] and, for a button report, read the complete struct isku_report_button. A truncated report can therefore cause an out-of-bounds read. Require enough data for the button report before calling either helper. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw-event length validation to hid-asus. Fixes: d41c2a7011df ("HID: roccat: Add support for Isku keyboard") Cc: stable@vger.kernel.org Signed-off-by: Jiale Yao <yaojiale02@163.com> Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions