HomeFreeBSD

hid: Correctly handle signed/unsigned quantities in kernel HID parser.

Description

hid: Correctly handle signed/unsigned quantities in kernel HID parser.

Wrong signedness of usage value results in inverted range check in hmt(4)
driver that allows out of bound array access leading to panic.

Reported by: many
Sponsored by: Future Crew, LLC
Obtained from: NetBSD
NetBSD PR: kern/53605
PR: 274014, 282592

Details

Provenance
wulfAuthored on Sun, Dec 22, 3:16 AM
Parents
rG7d1d9cc440f8: sysctl: Do not serialize requests when running as root
Branches
Unknown
Tags
Unknown