[Bug 274014] hmt.ko kernel panic - Asus Expertbook B5602

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 14 Sep 2024 09:42:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274014

--- Comment #4 from Vladimir Kondratyev <wulf@freebsd.org> ---
Created attachment 253554
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253554&action=edit
hid-parser.diff

Recently I was able to reproduce the panic on ASUS TUF laptop.

It appeared that using of signed integers for usage values brokes some range
checks resulting in OOB access.

I hope attached patch fixes the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.