Bug 4457 - Add a check for empty report_list in hid_validate_values().
Summary: Add a check for empty report_list in hid_validate_values().
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-09 14:16 UTC by ningmingxiao
Modified: 2023-08-17 17:49 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ningmingxiao 2023-03-09 14:16:24 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
The problem is caused by the assumption that the device must
have valid report_list. While this will be true for all normal HID
devices, a suitably malicious device can violate the assumption.
Actual results:


Expected results:


Additional info:
fix :https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b12fece4c64857e5fab4290bf01b2e0317a88456
Comment 1 GuixinLiu alibaba_cloud_group 2023-08-17 17:49:57 UTC
already fixed.
已经合入devel-5.10,commit为:35c24bac9862ea5627459e11033fc355d3fc62a2