Vulnerabilities

CVE-2026-31524

Medium 5.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-04-22
Last modified
2026-11-11
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 2 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel 7.0 Affected
Linux Linux Kernel ≥ 4.14, < 5.10.253 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.203 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.168 Affected
Linux Linux Kernel ≥ 6.13, < 6.18.21 Affected
Linux Linux Kernel ≥ 6.19, < 6.19.11 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.131 Affected
Linux Linux Kernel ≥ 6.7, < 6.12.80 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities