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: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2166610 2173404 2212164 2212165 2212166 2212167
Blocks: 2172923
TreeView+ depends on / blocked
 
Reported: 2023-02-26 12:50 UTC by Alex
Modified: 2024-04-17 19:05 UTC (History)
38 users (show)

Fixed In Version: kernel 6.1.9
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:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2023:6835 0 None None None 2023-11-09 07:10:46 UTC
Red Hat Product Errata RHBA-2023:7268 0 None None None 2023-11-15 18:25:15 UTC
Red Hat Product Errata RHBA-2023:7328 0 None None None 2023-11-16 11:38:47 UTC
Red Hat Product Errata RHBA-2023:7338 0 None None None 2023-11-16 18:04:06 UTC
Red Hat Product Errata RHBA-2023:7343 0 None None None 2023-11-20 01:58:33 UTC
Red Hat Product Errata RHBA-2023:7346 0 None None None 2023-11-20 09:25:35 UTC
Red Hat Product Errata RHSA-2023:6583 0 None None None 2023-11-07 08:20:09 UTC
Red Hat Product Errata RHSA-2023:6901 0 None None None 2023-11-14 15:14:54 UTC
Red Hat Product Errata RHSA-2023:7077 0 None None None 2023-11-14 15:20:29 UTC
Red Hat Product Errata RHSA-2024:0412 0 None None None 2024-01-24 16:43:21 UTC
Red Hat Product Errata RHSA-2024:0575 0 None None None 2024-01-30 13:21:09 UTC
Red Hat Product Errata RHSA-2024:0881 0 None None None 2024-02-20 12:28:17 UTC
Red Hat Product Errata RHSA-2024:0897 0 None None None 2024-02-20 12:33:08 UTC

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.

Comment 11 errata-xmlrpc 2023-11-07 08:20:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6583 https://access.redhat.com/errata/RHSA-2023:6583

Comment 12 errata-xmlrpc 2023-11-14 15:14:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:6901 https://access.redhat.com/errata/RHSA-2023:6901

Comment 13 errata-xmlrpc 2023-11-14 15:20:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7077 https://access.redhat.com/errata/RHSA-2023:7077

Comment 16 errata-xmlrpc 2024-01-24 16:43:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0412 https://access.redhat.com/errata/RHSA-2024:0412

Comment 17 errata-xmlrpc 2024-01-30 13:21:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:0575 https://access.redhat.com/errata/RHSA-2024:0575

Comment 19 errata-xmlrpc 2024-02-20 12:28:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:0881 https://access.redhat.com/errata/RHSA-2024:0881

Comment 20 errata-xmlrpc 2024-02-20 12:33:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:0897 https://access.redhat.com/errata/RHSA-2024:0897


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