CVE-2026-31524
HID: asus: avoid memory leak in asus_report_fixup()
Reported by linux · Published April 22, 2026
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.
EPSS 0.12% · 2.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18 | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| linux_kernel | linux | 6.19.11, 6.18.21, 6.12.80, 6.6.131, 6.1.168, 5.15.203, 5.10.253 |
| Linux | Linux | f20f17cffbe34fb330267e0f8084f5565f807444, ede95cfcab8064d9a08813fbd7ed42cea8843dcf, a41cc7c1668e44ff2c2d36f9a6353253ffc43e3c, 84724ac4821a160d47b84289adf139023027bdbb, 7a6d6e4d8af044f94fa97e97af5ff2771e1fbebd, 726765b43deb2b4723869d673cc5fc6f7a3b2059, 2e4fe6b15c2f390c023b20d728b1a3fe7ea4f973, 2bad24c17742fc88973d6aea526ce1353f5334a3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5703e52cc711bc01e72cf12b86a126909c79d213, 5703e52cc711bc01e72cf12b86a126909c79d213, 5703e52cc711bc01e72cf12b86a126909c79d213 |
| Linux | Linux | 4.14, 0, 5.10.253 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 4.14, 4.14, 4.14 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.80-105.147 | 0 |
| amazon:2023 | kernel-livepatch-6.18.25-52.107 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
…and 23 more
Timeline
- Apr 22, 2026 CVE Published
- Apr 23, 2026 Security Advisory (97 in total, the first dated here)
- Apr 28, 2026 CVE Updated
- May 18, 2026 EPSS Score (23 in total, the first dated here)
- Jul 16, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (92 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-31524
vulnetix vdb fixes CVE-2026-31524
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31524/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart