CVE-2021-47404: HID: betop: fix slab-out-of-bounds Write in betop_probe
In the Linux kernel, the following vulnerability has been resolved:
HID: betop: fix slab-out-of-bounds Write in betop_probe
Syzbot reported slab-out-of-bounds Write bug in hid-betopff driver.
The problem is the driver assumes the device must have an input report but
some malicious devices violate this assumption.
So this patch checks hid_device's input is non empty before it's been used.
Security readout for executives and security teams
Plain-English summary
CVE-2021-47404 is a Linux kernel flaw in the Betop HID game-controller driver. A malicious HID device that omits an expected input report can trigger a slab out-of-bounds write during device probing. The sources do not provide CVSS, business impact scoring, or evidence of active exploitation.
Executive priority
Treat this as a targeted local/device-exposure kernel issue, not an internet-wide emergency based on the supplied evidence. Patch through normal kernel maintenance, with higher urgency for labs, kiosks, developer workstations, and other systems exposed to untrusted peripherals.
Technical view
The hid-betopff driver assumed a probed HID device had at least one input report. Syzbot found that a malicious device could violate this assumption, leading to a slab-out-of-bounds write in betop_probe. The referenced kernel stable fixes add a non-empty input check before use.
Likely exposure
Exposure is most plausible on Linux systems where affected kernels load the Betop HID force-feedback driver and accept untrusted or malicious HID devices. The source bundle does not indicate a remote network attack path.
Exploitation context
The CVE record says malicious devices can trigger the bad assumption. CISA KEV status is false in the bundle, and no cited source states active exploitation. Practical exploitation likely depends on device attachment or HID emulation access.
Researcher notes
Evidence is limited to the CVE description and Linux stable references. The root cause is a missing validation check in betop_probe before using HID input data. No CWE, CVSS, exploit maturity, or detailed affected branch mapping is provided in the bundle.
Mitigation direction
Update affected Linux kernels using distribution packages containing the referenced stable fixes.
Prioritize systems that accept untrusted USB, Bluetooth, or other HID peripherals.
Check vendor guidance for driver disablement if Betop HID support is unnecessary.
Avoid accepting untrusted HID devices on sensitive Linux workstations and servers.
Validation and detection
Inventory Linux kernel versions across managed systems.
Confirm distribution advisories or changelogs reference CVE-2021-47404 or the stable commits.
Identify endpoints where untrusted HID devices can be attached.
After patching, regression-test required HID and game-controller workflows.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47404 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.