User-After-Free Vulnerability in Linux Kernel for Debian Packages
Summary
CVE-2025-39824: In the Linux kernel, the following vulnerability has been resolved: HID: asus: fix UAF via HID_CLAIMED_INPUT validation After hid_hw_start() is called hidinput_connect() will eventually be called to set up the device wit... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of the Debian operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of hardware architectures and is known for its stability and performance. However, it is also susceptible to vulnerabilities that can compromise system security. This particular vulnerability affects multiple Debian versions (11, 12, 13, and 14) of the Linux package, highlighting the importance of maintaining an updated and secure kernel.
Vulnerability Detail
In the Linux kernel, a user-after-free (UAF) vulnerability has been identified, specifically in the handling of HID devices. The issue arises when the HID device's capability bitmaps are not properly set, leading to a failure in the hidinput_has_been_populated() check. This can allow a malicious HID device, such as an ASUS ROG N-Key keyboard, to exploit the vulnerability through a specially crafted descriptor. The result is a potential UAF condition, where freed memory is accessed, leading to undefined behavior and possible system compromise.
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 disconnect or avoid using potentially malicious HID devices until the system is updated with the patched version. Additionally, users can monitor their systems for unusual behavior that may indicate exploitation attempts.
Conclusion
The user-after-free vulnerability in the Linux kernel poses a significant risk to Debian users. It is crucial to update to the patched version to mitigate potential exploitation. Users should remain vigilant and consider using tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for linux →
FAQ
A user-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed, potentially leading to arbitrary code execution or system crashes.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected without any signup.
Exploitation of this vulnerability can lead to unauthorized access, data corruption, or system crashes, posing significant security risks to affected systems.
Yes, updating to version 6.16.5-1 or later will patch this vulnerability and enhance the security of your system.
If immediate updates are not possible, consider disconnecting vulnerable HID devices and monitoring your system for any suspicious activity.
Related vulnerabilities
Recent vulnerabilities recorded for linux.