Bug 2173403 (CVE-2023-1073) - CVE-2023-1073 kernel: HID: check empty report_list in hid_validate_values()
Summary: CVE-2023-1073 kernel: HID: check empty report_list in hid_validate_values()
Keywords:
Status: NEW
Alias: CVE-2023-1073
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2173404
Blocks: Embargoed2172923
TreeView+ depends on / blocked
 
Reported: 2023-02-26 12:50 UTC by Alex
Modified: 2023-04-07 12:10 UTC (History)
37 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A memory corruption flaw was found in the Linux kernel’s human interface device (HID) subsystem in how a user inserts a malicious USB device. This flaw allows a local user to crash or potentially escalate their privileges on the system.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Alex 2023-02-26 12:50:52 UTC
A flaw found in the Linux Kernel. The missing check causes a type confusion when issuing a list_entry()
on an empty report_list. 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.

References:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b12fece4c64857e5fab4290bf01b2e0317a88456
https://www.openwall.com/lists/oss-security/2023/01/17/3

Comment 1 Alex 2023-02-26 12:51:19 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2173404]

Comment 4 Justin M. Forbes 2023-03-01 19:52:01 UTC
This was fixed for Fedora with the 6.1.9 stable kernel updates.


Note You need to log in before you can comment on or make changes to this bug.