CVE-2021-47404

HID: betop: fix slab-out-of-bounds Write in betop_probe

HIGH
7.8
CVSS Score
Published: May 21, 2024 at 03:03 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.4.2864.0 ≤ v < 4.14.2494.0 ≤ v < 4.19.2094.0 ≤ v < 4.4.2864.0 ≤ v < 4.9.2854.0 ≤ v < 5.10.714.0 ≤ v < 5.14.104.0 ≤ v < 5.154.0 ≤ v < 5.4.1514.10 ≤ v < 4.14.2494.15 ≤ v < 4.19.2094.20 ≤ v < 5.4.1514.5 ≤ v < 4.9.2855.11 ≤ v < 5.14.105.5 ≤ v < 5.10.715.15 rc15.15 rc25.15 rc352cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4
Vendor states this is fixed in 1c83c38dec83d57bc18d0c01d82c413d3b34ccb9 (fixed)
Vendor states this is fixed in 1e4ce418b1cb1a810256b5fb3fd33d22d1325993 (fixed)
Vendor states this is fixed in 6fc4476dda58f6c00097c7ddec3b772513f57525 (fixed)
Vendor states this is fixed in 708107b80aa616976d1c5fa60ac0c1390749db5e (fixed)
Vendor states this is fixed in a4faa7153b87fbcfe4be15f4278676f79ca6e019 (fixed)
Vendor states this is fixed in bb8b72374db69afa25a5b65cf1c092860c6fe914 (fixed)
Vendor states this is fixed in dedfc35a2de2bae9fa3da8210a05bfd515f83fee (fixed)
Vendor states this is fixed in fe9bb925e7096509711660d39c0493a1546e9550 (fixed)
Vendor states this is fixed in 4.0 (unaffected)
Vendor states this is fixed in 4.14.249 (unaffected)
Vendor states this is fixed in 4.19.209 (unaffected)
Vendor states this is fixed in 4.4.286 (unaffected)
Vendor states this is fixed in 4.9.285 (unaffected)
Vendor states this is fixed in 5.10.71 (unaffected)
Vendor states this is fixed in 5.14.10 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4.151 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1c83c38dec83d57bc18d0c01d82c413d3b34ccb9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1e4ce418b1cb1a810256b5fb3fd33d22d1325993
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6fc4476dda58f6c00097c7ddec3b772513f57525
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/708107b80aa616976d1c5fa60ac0c1390749db5e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a4faa7153b87fbcfe4be15f4278676f79ca6e019
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bb8b72374db69afa25a5b65cf1c092860c6fe914
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dedfc35a2de2bae9fa3da8210a05bfd515f83fee
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe9bb925e7096509711660d39c0493a1546e9550

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card