VDB

CVE-2026-31524

CVE-2026-31524 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.25-52.107.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.80-105.147.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.25-52.107.amzn2023
bpftool6.12Amazon Linux1:6.12.80-105.147.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.25-52.107.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.25-52.107.amzn2023
linux_kernellinux6.19.11, 6.18.21, 6.12.80, 6.6.131, 6.1.168, 5.15.203, 5.10.253
LinuxLinuxf20f17cffbe34fb330267e0f8084f5565f807444, ede95cfcab8064d9a08813fbd7ed42cea8843dcf, a41cc7c1668e44ff2c2d36f9a6353253ffc43e3c, 84724ac4821a160d47b84289adf139023027bdbb, 7a6d6e4d8af044f94fa97e97af5ff2771e1fbebd, 726765b43deb2b4723869d673cc5fc6f7a3b2059, 2e4fe6b15c2f390c023b20d728b1a3fe7ea4f973, 2bad24c17742fc88973d6aea526ce1353f5334a3

Risk scores

EPSS Score
0.12%
2.0th percentile

Affected products

VendorProductVersions
LinuxLinux5703e52cc711bc01e72cf12b86a126909c79d213, 5703e52cc711bc01e72cf12b86a126909c79d213, 5703e52cc711bc01e72cf12b86a126909c79d213
LinuxLinux4.14, 0, 5.10.253
amazon:2023kernel6.180
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.120
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel4.14, 4.14, 4.14
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-livepatch-6.12.80-105.1470
amazon:2023kernel-livepatch-6.18.25-52.1070
amazon:2023perf6.120
amazon:2023kernel6.12-libbpf-static0
amazon:2023perf6.180
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-devel0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›