CVEvulnerability
CVE-2021-47404
7.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-787
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 configurations
• linux linux kernel (< 4.4.286)
• linux linux kernel (>= 4.5 < 4.9.285)
• linux linux kernel (>= 4.10 < 4.14.249)
• linux linux kernel (>= 4.15 < 4.19.209)
• linux linux kernel (>= 4.20 < 5.4.151)
• linux linux kernel (>= 5.5 < 5.10.71)
• linux linux kernel (>= 5.11 < 5.14.10)
• linux linux kernel 5.15
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://git.kernel.org/stable/c/1c83c38dec83d57bc18d0c01d82c413d3b34ccb9 Patch
- https://git.kernel.org/stable/c/1e4ce418b1cb1a810256b5fb3fd33d22d1325993 Patch
- https://git.kernel.org/stable/c/6fc4476dda58f6c00097c7ddec3b772513f57525 Patch
- https://git.kernel.org/stable/c/708107b80aa616976d1c5fa60ac0c1390749db5e Patch
- https://git.kernel.org/stable/c/a4faa7153b87fbcfe4be15f4278676f79ca6e019 Patch
- https://git.kernel.org/stable/c/bb8b72374db69afa25a5b65cf1c092860c6fe914 Patch
- https://git.kernel.org/stable/c/dedfc35a2de2bae9fa3da8210a05bfd515f83fee Patch
- https://git.kernel.org/stable/c/fe9bb925e7096509711660d39c0493a1546e9550 Patch
- https://git.kernel.org/stable/c/1c83c38dec83d57bc18d0c01d82c413d3b34ccb9 Patch
- https://git.kernel.org/stable/c/1e4ce418b1cb1a810256b5fb3fd33d22d1325993 Patch
- https://git.kernel.org/stable/c/6fc4476dda58f6c00097c7ddec3b772513f57525 Patch
- https://git.kernel.org/stable/c/708107b80aa616976d1c5fa60ac0c1390749db5e Patch
- https://git.kernel.org/stable/c/a4faa7153b87fbcfe4be15f4278676f79ca6e019 Patch
- https://git.kernel.org/stable/c/bb8b72374db69afa25a5b65cf1c092860c6fe914 Patch
- https://git.kernel.org/stable/c/dedfc35a2de2bae9fa3da8210a05bfd515f83fee Patch
- https://git.kernel.org/stable/c/fe9bb925e7096509711660d39c0493a1546e9550 Patch