Stack-Out-of-Bounds Read Vulnerability in Linux Kernel HID Thrustmaster Driver

linux Updated 02 Oct 2025

Summary

27/02/2025
N/A
Yes i
High
7.1

CVE-2025-21794: In the Linux kernel, the following vulnerability has been resolved: HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints() Syzbot[1] has detected a stack-out-of-bounds read of the ep_addr array... Affects linux versions < 6.1.129-1. Fixed in 6.1.129-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. The HID (Human Interface Device) subsystem allows the operating system to communicate with input devices like keyboards and game controllers. The Thrustmaster driver is specifically designed for Thrustmaster gaming peripherals. This driver, while facilitating user interaction with gaming devices, has been found to have a vulnerability that can lead to system crashes.

Vulnerability Detail

In the Linux kernel, a stack-out-of-bounds read vulnerability was identified in the hid-thrustmaster driver. This issue arises from the ep_addr array being passed to the usb_check_int_endpoints function, which iterates over the elements of the array. When the function does not encounter a null element at the end of the array, it attempts to read beyond the allocated memory, leading to a kernel crash. This vulnerability was detected by Syzbot, a tool for finding bugs in the Linux kernel.

How To Fix

Minimum fixed version

6.1.129-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the kernel as described in the 'how_to_fix' section.

Conclusion

The stack-out-of-bounds read vulnerability in the Linux kernel's HID Thrustmaster driver poses a risk of kernel crashes. Users are advised to update their kernel packages to the latest version to mitigate this issue. Monitoring tools like Vulert can assist in identifying vulnerabilities in open-source software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A stack-out-of-bounds read vulnerability occurs when a program reads data outside the bounds of allocated memory, potentially leading to crashes or unintended behavior.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities. By simply using a manifest file like package-lock.json, you can check if your application is affected without requiring code access.

The primary consequence of this vulnerability is a kernel crash, which can lead to system instability and loss of unsaved data.

Yes, the vulnerability affects the Linux kernel versions prior to the patch being applied. Users should ensure they are running the latest version to avoid this issue.

Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.129-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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