Vulnerability · Published May 21, 2024 · Assigned by Linux
CVE-2021-47404HID: betop: fix slab-out-of-bounds Write in betop_probe
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.14.12-1 | DEBIAN-CVE-2021-47404 |
| Debian:13 | linux | 5.14.12-1 | DEBIAN-CVE-2021-47404 |
| Debian:14 | linux | 5.14.12-1 | DEBIAN-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2021-47404 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2021-47404 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before a4faa7153b87fbcfe4be15f4278676f79ca6e01952cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before 6fc4476dda58f6c00097c7ddec3b772513f5752552cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before 1c83c38dec83d57bc18d0c01d82c413d3b34ccb952cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before bb8b72374db69afa25a5b65cf1c092860c6fe91452cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before fe9bb925e7096509711660d39c0493a1546e955052cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before dedfc35a2de2bae9fa3da8210a05bfd515f83fee52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before 708107b80aa616976d1c5fa60ac0c1390749db5e52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before 1e4ce418b1cb1a810256b5fb3fd33d22d1325993 |
| Linux | Linux | 4.0 |
References
- https://git.kernel.org/stable/c/a4faa7153b87fbcfe4be15f4278676f79ca6e019
- https://git.kernel.org/stable/c/6fc4476dda58f6c00097c7ddec3b772513f57525
- https://git.kernel.org/stable/c/1c83c38dec83d57bc18d0c01d82c413d3b34ccb9
- https://git.kernel.org/stable/c/bb8b72374db69afa25a5b65cf1c092860c6fe914
- https://git.kernel.org/stable/c/fe9bb925e7096509711660d39c0493a1546e9550
- https://git.kernel.org/stable/c/dedfc35a2de2bae9fa3da8210a05bfd515f83fee
- https://git.kernel.org/stable/c/708107b80aa616976d1c5fa60ac0c1390749db5e
- https://git.kernel.org/stable/c/1e4ce418b1cb1a810256b5fb3fd33d22d1325993