CVE-2026-31524
HID: asus: avoid memory leak in asus_report_fixup()
Check your servers for CVE-2026-31524
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31524 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.62% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5703e52cc711bc01e72cf12b86a126909c79d213, before 726765b43deb2b4723869d673cc5fc6f7a3b2059 affected from 5703e52cc711bc01e72cf12b86a126909c79d213, before ede95cfcab8064d9a08813fbd7ed42cea8843dcf affected from 5703e52cc711bc01e72cf12b86a126909c79d213, before 2e4fe6b15c2f390c023b20d728b1a3fe7ea4f973 affected from 5703e52cc711bc01e72cf12b86a126909c79d213, before f20f17cffbe34fb330267e0f8084f5565f807444 affected from 5703e52cc711bc01e72cf12b86a126909c79d213, before 7a6d6e4d8af044f94fa97e97af5ff2771e1fbebd affected from 5703e52cc711bc01e72cf12b86a126909c79d213, before a41cc7c1668e44ff2c2d36f9a6353253ffc43e3c affected from 5703e52cc711bc01e72cf12b86a126909c79d213, before 84724ac4821a160d47b84289adf139023027bdbb affected from 5703e52cc711bc01e72cf12b86a126909c79d213, before 2bad24c17742fc88973d6aea526ce1353f5334a3
Other versions: unaffected
|
| Linux |
affected 4.14 unaffected before 4.14 unaffected from 5.10.253 up to and including 5.10.* unaffected from 5.15.203 up to and including 5.15.* unaffected from 6.1.168 up to and including 6.1.* unaffected from 6.6.131 up to and including 6.6.* unaffected from 6.12.80 up to and including 6.12.* unaffected from 6.18.21 up to and including 6.18.* unaffected from 6.19.11 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31524 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31524
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-31524
trivy image --scanners vuln IMAGE | grep CVE-2026-31524
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/726765b43deb2b4723869d673cc5fc6f7a3b2059 git.kernel.org
- https://git.kernel.org/stable/c/ede95cfcab8064d9a08813fbd7ed42cea8843dcf git.kernel.org
- https://git.kernel.org/stable/c/2e4fe6b15c2f390c023b20d728b1a3fe7ea4f973 git.kernel.org
- https://git.kernel.org/stable/c/f20f17cffbe34fb330267e0f8084f5565f807444 git.kernel.org
- https://git.kernel.org/stable/c/7a6d6e4d8af044f94fa97e97af5ff2771e1fbebd git.kernel.org
- https://git.kernel.org/stable/c/a41cc7c1668e44ff2c2d36f9a6353253ffc43e3c git.kernel.org
- https://git.kernel.org/stable/c/84724ac4821a160d47b84289adf139023027bdbb git.kernel.org
- https://git.kernel.org/stable/c/2bad24c17742fc88973d6aea526ce1353f5334a3 git.kernel.org
Source: the record CVE-2026-31524 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse