Buffer Allocation Vulnerability in Linux Kernel - CVE-2025-38495

linux Updated 02 Oct 2025

Summary

28/07/2025
N/A
No i
Unrated
Not published

CVE-2025-38495: In the Linux kernel, the following vulnerability has been resolved: HID: core: ensure the allocated report buffer can contain the reserved report ID When the report ID is not used, the low level transport drivers expect... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It supports a wide range of hardware architectures and is known for its stability, performance, and security features. However, vulnerabilities can arise, such as the one identified in CVE-2025-38495, which affects the HID (Human Interface Device) subsystem, potentially compromising system integrity.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the HID core where the allocated report buffer does not account for the reserved report ID. When the report ID is not used, low-level transport drivers expect the first byte of the buffer to be 0. The current implementation only guarantees 7 bytes instead of the required 8 bytes, which can lead to unexpected behavior and potential exploitation by malicious actors.

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

As a temporary workaround, users can ensure that the first byte of the report buffer is manually set to 0 in their implementation, although this is not a permanent fix and should not replace updating the kernel.

Conclusion

CVE-2025-38495 represents a significant vulnerability in the Linux kernel's HID subsystem, necessitating prompt attention from users to ensure system security. By updating to the latest kernel version, users can protect their systems from potential exploitation.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38495 is a vulnerability in the Linux kernel's HID subsystem that affects the allocation of report buffers, potentially leading to system exploitation.

If exploited, this vulnerability could allow unauthorized access or manipulation of system resources, compromising the security and stability of the operating system.

Yes, a patch is available. Users should update their Linux kernel to the latest version to mitigate the risk associated with this vulnerability.

You can use tools like Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file, you can check for vulnerabilities like CVE-2025-38495.

If an immediate update is not possible, consider implementing the workaround of ensuring the first byte of the report buffer is set to 0, but plan to update as soon as feasible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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