Skip to main content
Mallory
← Back to News
embedded-device-vulnerabilityprivilege-escalation-methodwidely-deployed-product-advisory

Linux HID Type Confusion Flaw Lets Malicious USB Devices Corrupt Kernel Memory

Vulnerability Disclosure · 6 sources · Updated 3mo ago · First seen Jan 30, 2024

Linux HID Type Confusion Flaw Lets Malicious USB Devices Corrupt Kernel Memory

Red Hat remediated CVE-2023-1073, a moderate-severity Linux kernel flaw in the Human Interface Device (HID) subsystem. A locally authenticated, low-privilege attacker with physical access could attach a crafted USB HID device whose descriptor creates an empty report list, causing hid_validate_values() to invoke list_entry() on an invalid entry. The resulting type confusion can produce an out-of-bounds write and memory corruption, potentially causing a system crash or local privilege escalation; Red Hat assigned CVSS 6.6.

The underlying HID report-list issues were reported in hid_validate_values() and bigben_probe(), and upstream patches added checks requiring non-empty lists before the entries are used. The fix landed upstream in Linux 6.1.9 and was distributed through Fedora stable updates. Red Hat released corrected kernel packages for RHEL 8 and 9, relevant RHEL 8 Extended Update Support streams, kernel-rt packages, and Red Hat Virtualization 4 on RHEL 8; the RHEL 8.8 EUS kernel update 4.18.0-477.43.1.el8_8 includes the remediation. Administrators should apply the applicable kernel update and reboot systems to activate it; RHEL 6 is not affected and RHEL 7 is outside support scope.

Why it matters

Impact assessment

CVE-2023-1073 affects Linux systems that process attacker-controlled USB HID devices, including RHEL 8 and 9 deployments, supported RHEL 8 EUS streams, kernel-rt, and Red Hat Virtualization 4 on RHEL 8. Exposure is primarily targeted: exploitation requires physical access and a locally authenticated low-privilege account, limiting risk relative to remotely exploitable kernel flaws.

  • Successful exploitation can cause kernel memory corruption, system crash, and potentially local privilege escalation, creating operational disruption and possible compromise of host confidentiality and integrity.
  • No exploitation in the wild is reported in the supplied references.
  • The original upstream disclosure assessed the then-current hid_validate_values() and bigben_probe() layouts as not practically exploitable because confused fields overlapped NULL pointers. Red Hat nevertheless rates CVE-2023-1073 at CVSS 6.6 with High confidentiality, integrity, and availability impacts, and fixes the unsafe condition.
  • RHEL 6 is not affected. RHEL 7 is out of support scope and should be treated as potentially exposed until it is retired, upgraded, or protected by compensating controls.
  • RHSA-2024:0575 also remediates numerous additional kernel vulnerabilities in RHEL 8.8 EUS, increasing the operational value and urgency of deploying its updated kernel.

Structured facts

  • Affected products: RHEL 8, RHEL 9, applicable RHEL 8.6 and 8.8 EUS streams, RHEL 8 kernel-rt, and Red Hat Virtualization 4 on RHEL 8.
  • RHEL 8.8 EUS remediation: kernel 4.18.0-477.43.1.el8_8, delivered in RHSA-2024:0575.
  • Architectures covered by RHSA-2024:0575: x86_64, aarch64, ppc64le, and s390x.
  • Exposure prerequisite: an attacker must connect a crafted physical USB HID device; systems with unrestricted USB access, shared physical workspaces, kiosks, labs, and data-center console access face the greatest exposure.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Feb 26, 2023 – Jan 30, 2024
  1. Jan 30, 20243y ago

    Red Hat released RHEL 8.8 EUS kernel update fixing CVE-2023-1073

    Red Hat published RHSA-2024:0575, an Important RHEL 8.8 Extended Update Support kernel update containing the fix for CVE-2023-1073. The update provided kernel version 4.18.0-477.43.1.el8_8 and required a reboot for the fix to take effect.

    RHSA-2024:0575 - Security Advisory - Red Hat Customer Portal
  2. Reported Nov 14, 20233y ago

    Red Hat issued RHEL fixes for CVE-2023-1073

    Red Hat addressed CVE-2023-1073 in RHEL 9 through RHSA-2023:6583 and in RHEL 8 through RHSA-2023:6901 and RHSA-2023:7077.

    CVE-2023-1073 - Red Hat Customer Portal
  3. Reported Nov 9, 20233y ago

    Linux kernel 6.1.9 fixed CVE-2023-1073

    The upstream fix for CVE-2023-1073 was included in Linux kernel version 6.1.9 and subsequently delivered to Fedora through stable kernel updates.

    2173403 - (CVE-2023-1073) CVE-2023-1073 kernel: HID: check empty report_list in hid_validate_values()
  4. Feb 26, 20234y ago

    CVE-2023-1073 reported to Red Hat

    Alex reported the HID hid_validate_values() empty-report-list validation issue, which Red Hat tracked as Bug 2173403 and later assigned CVE-2023-1073.

    2173403 - (CVE-2023-1073) CVE-2023-1073 kernel: HID: check empty report_list in hid_validate_values()
  5. Reported Jan 14, 20234y ago

    HID report-list type-confusion flaws disclosed

    Pietro Borrello disclosed unchecked list_entry() uses in the Linux HID driver, including hid_validate_values(), which malicious HID descriptors with empty report lists could trigger. Patches were submitted to require non-empty report lists before use.

    oss-security - Linux Kernel: hid: type confusions on hid report_list entry
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Red Hat Enterprise LinuxLinux Kernel
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.