# CVE-2026-31524: HID: asus: avoid memory leak in asus_report_fixup()

Status: published. Published: 2026-04-22. Updated: 2026-11-05.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 5703e52cc711bc01e72cf12b86a126909c79d213; < 726765b43deb2b4723869d673cc5fc6f7a3b2059 (affected, git); ≥ 5703e52cc711bc01e72cf12b86a126909c79d213; < ede95cfcab8064d9a08813fbd7ed42cea8843dcf (affected, git); ≥ 5703e52cc711bc01e72cf12b86a126909c79d213; < 2e4fe6b15c2f390c023b20d728b1a3fe7ea4f973 (affected, git); ≥ 5703e52cc711bc01e72cf12b86a126909c79d213; < f20f17cffbe34fb330267e0f8084f5565f807444 (affected, git); ≥ 5703e52cc711bc01e72cf12b86a126909c79d213; < 7a6d6e4d8af044f94fa97e97af5ff2771e1fbebd (affected, git); ≥ 5703e52cc711bc01e72cf12b86a126909c79d213; < a41cc7c1668e44ff2c2d36f9a6353253ffc43e3c (affected, git); ≥ 5703e52cc711bc01e72cf12b86a126909c79d213; < 84724ac4821a160d47b84289adf139023027bdbb (affected, git); ≥ 5703e52cc711bc01e72cf12b86a126909c79d213; < 2bad24c17742fc88973d6aea526ce1353f5334a3 (affected, git). Source: CNA: Linux
- Linux / Linux: 4.14 (affected); ≥ 0; < 4.14 (unaffected, semver); ≥ 5.10.253; ≤ 5.10.* (unaffected, semver); ≥ 5.15.203; ≤ 5.15.* (unaffected, semver); ≥ 6.1.168; ≤ 6.1.* (unaffected, semver); ≥ 6.6.131; ≤ 6.6.* (unaffected, semver); ≥ 6.12.80; ≤ 6.12.* (unaffected, semver); ≥ 6.18.21; ≤ 6.18.* (unaffected, semver); ≥ 6.19.11; ≤ 6.19.* (unaffected, semver); ≥ 7.0; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.12% as of 2026-11-05; percentile 2.04%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/726765b43deb2b4723869d673cc5fc6f7a3b2059 (CNA: Linux)

- https://git.kernel.org/stable/c/ede95cfcab8064d9a08813fbd7ed42cea8843dcf (CNA: Linux)

- https://git.kernel.org/stable/c/2e4fe6b15c2f390c023b20d728b1a3fe7ea4f973 (CNA: Linux)

- https://git.kernel.org/stable/c/f20f17cffbe34fb330267e0f8084f5565f807444 (CNA: Linux)

- https://git.kernel.org/stable/c/7a6d6e4d8af044f94fa97e97af5ff2771e1fbebd (CNA: Linux)

- https://git.kernel.org/stable/c/a41cc7c1668e44ff2c2d36f9a6353253ffc43e3c (CNA: Linux)

- https://git.kernel.org/stable/c/84724ac4821a160d47b84289adf139023027bdbb (CNA: Linux)

- https://git.kernel.org/stable/c/2bad24c17742fc88973d6aea526ce1353f5334a3 (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-31524; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-31524; retrieved 2026-11-05; source updated Not reported

Revision: cb37772b2bbf74935d8e1a586a3a7eb76269ccaa2eea5b20bf8a605f5a6c9c72

Canonical: https://y2.dev/cve/CVE-2026-31524

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.