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.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.3%top 82.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12linux5.14.12-1DEBIAN-CVE-2021-47404
Debian:13linux5.14.12-1DEBIAN-CVE-2021-47404
Debian:14linux5.14.12-1DEBIAN-CVE-2021-47404
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-47404
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-47404
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-47404

Affected products (as reported)

VendorProductVersions
Linux Linux 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before a4faa7153b87fbcfe4be15f4278676f79ca6e01952cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before 6fc4476dda58f6c00097c7ddec3b772513f5752552cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before 1c83c38dec83d57bc18d0c01d82c413d3b34ccb952cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before bb8b72374db69afa25a5b65cf1c092860c6fe91452cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before fe9bb925e7096509711660d39c0493a1546e955052cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before dedfc35a2de2bae9fa3da8210a05bfd515f83fee52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before 708107b80aa616976d1c5fa60ac0c1390749db5e52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 – before 1e4ce418b1cb1a810256b5fb3fd33d22d1325993
Linux Linux 4.0

References