CVE-2026-31524
Received Received - Intake
Memory Leak and Out-of-Bounds Read in Linux ASUS HID Driver

Publication date: 2026-04-22

Last updated on: 2026-04-28

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: HID: asus: avoid memory leak in asus_report_fixup() The asus_report_fixup() function was returning a newly allocated kmemdup()-allocated buffer, but never freeing it. Switch to devm_kzalloc() to ensure the memory is managed and freed automatically when the device is removed. The caller of report_fixup() does not take ownership of the returned pointer, but it is permitted to return a pointer whose lifetime is at least that of the input buffer. Also fix a harmless out-of-bounds read by copying only the original descriptor size.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-22
Last Modified
2026-04-28
Generated
2026-05-07
AI Q&A
2026-04-22
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 9 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 5.11 (inc) to 5.15.203 (exc)
linux linux_kernel From 5.16 (inc) to 6.1.168 (exc)
linux linux_kernel From 6.13 (inc) to 6.18.21 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.11 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.131 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.80 (exc)
linux linux_kernel From 4.14 (inc) to 5.10.253 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's handling of ASUS HID devices, specifically in the asus_report_fixup() function.

The function was returning a newly allocated memory buffer using kmemdup(), but it never freed this memory, causing a memory leak.

The fix involved switching to devm_kzalloc(), which manages memory automatically and frees it when the device is removed.

Additionally, a harmless out-of-bounds read was fixed by ensuring only the original descriptor size is copied.


How can this vulnerability impact me? :

The primary impact of this vulnerability is a memory leak in the Linux kernel when handling ASUS HID devices.

Memory leaks can lead to increased memory usage over time, potentially degrading system performance or causing instability if the leak is significant.

However, there is no indication of direct security compromise such as privilege escalation or data corruption from this vulnerability.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability in the Linux kernel related to the asus_report_fixup() function has been resolved by switching to devm_kzalloc() to manage memory automatically. To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart