# CVE-2026-31520: HID: apple: avoid memory leak in apple_report_fixup()

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

In the Linux kernel, the following vulnerability has been resolved:

HID: apple: avoid memory leak in apple_report_fixup()

The apple_report_fixup() function was returning a
newly kmemdup()-allocated buffer, but never freeing it.

The caller of report_fixup() does not take ownership of the returned
pointer, but it *is* permitted to return a sub-portion of the input
rdesc, whose lifetime is managed by the caller.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 6e143293e17a73c9313f91c5ca3aaacbaef030cf; < e2f090aeb7b9930a964e151910f4d45b04c8a7e5 (affected, git); ≥ 6e143293e17a73c9313f91c5ca3aaacbaef030cf; < 2635d0c715f3fb177e0f80ecd5fa48feb6bf3884 (affected, git); ≥ 6e143293e17a73c9313f91c5ca3aaacbaef030cf; < 31860c3f7ac66ab897a8c90dc4e74fa17ca0b624 (affected, git); ≥ 6e143293e17a73c9313f91c5ca3aaacbaef030cf; < be1a341c161430282acdfe2ac99b413271575cf1 (affected, git); ≥ 6e143293e17a73c9313f91c5ca3aaacbaef030cf; < e652ebd29928181c3e6820e303da25873e9917d4 (affected, git); ≥ 6e143293e17a73c9313f91c5ca3aaacbaef030cf; < 239c15116d80f67d32f00acc34575f1a6b699613 (affected, git). Source: CNA: Linux
- Linux / Linux: 5.17 (affected); ≥ 0; < 5.17 (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/e2f090aeb7b9930a964e151910f4d45b04c8a7e5 (CNA: Linux)

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

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

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

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

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

## Provenance

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

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

Revision: 7f0eadd0f43c32aa6d9cf8d029012ae6f2167363affe319f975ae12fe5733e3d

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

## 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.