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

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001559: HID: betop: fix slab-out-of-bounds Write in betop_probe. Affects Kernel versions < bb8b72374db69afa25a5b65cf1c092860c6fe914. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The HID (Human Interface Device) driver for the betop package in the Linux Kernel is responsible for handling input from betop devices. These devices are typically gamepads or joysticks used for gaming purposes. The driver allows the kernel to communicate with these devices and interpret their input signals. However, a vulnerability has been discovered in the betop_probe function of the driver, which can lead to a slab-out-of-bounds write. This vulnerability can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition.

Vulnerability Detail

The vulnerability arises due to a slab-out-of-bounds write in the betop_probe function of the HID driver for the betop package. This occurs when the driver attempts to write data beyond the allocated memory region, leading to memory corruption. An attacker can potentially exploit this vulnerability by sending specially crafted input signals to a betop device, triggering the out-of-bounds write and gaining control over the affected system. The impact of this vulnerability can range from arbitrary code execution to a system crash, depending on how it is exploited. The vulnerability has been fixed in Linux Kernel version v4.19.209 by commit bb8b72374db69afa25a5b65cf1c092860c6fe914.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The HID driver for the betop package in the Linux Kernel is vulnerable to a slab-out-of-bounds write, which can be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. It is recommended to update the Linux Kernel to version v4.19.209 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The betop package is a HID driver in the Linux Kernel that handles input from betop devices, such as gamepads and joysticks.

A slab-out-of-bounds write refers to a situation where a program attempts to write data beyond the allocated memory region, leading to memory corruption.

An attacker can exploit this vulnerability by sending specially crafted input signals to a betop device, triggering the out-of-bounds write and potentially gaining control over the affected system.

The impact of this vulnerability can range from arbitrary code execution to a system crash, depending on how it is exploited.

Yes, this vulnerability has been fixed in Linux Kernel version v4.19.209 by commit bb8b72374db69afa25a5b65cf1c092860c6fe914.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback