# HID: apple: avoid memory leak in apple_report_fixup()

CVE record · `CVE-2026-31520`

- **Identifiers:** `CVE-2026-31520`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 22 Apr 2026
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 22 Apr 2026, 13:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `6e143293e17a73c9313f91c5ca3aaacbaef030cf to before e2f090aeb7b9930a964e151910f4d45b04c8a7e5` (git)
  - affected: `6e143293e17a73c9313f91c5ca3aaacbaef030cf to before 2635d0c715f3fb177e0f80ecd5fa48feb6bf3884` (git)
  - affected: `6e143293e17a73c9313f91c5ca3aaacbaef030cf to before 31860c3f7ac66ab897a8c90dc4e74fa17ca0b624` (git)
  - affected: `6e143293e17a73c9313f91c5ca3aaacbaef030cf to before be1a341c161430282acdfe2ac99b413271575cf1` (git)
  - affected: `6e143293e17a73c9313f91c5ca3aaacbaef030cf to before e652ebd29928181c3e6820e303da25873e9917d4` (git)
  - affected: `6e143293e17a73c9313f91c5ca3aaacbaef030cf to before 239c15116d80f67d32f00acc34575f1a6b699613` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.17`
  - unaffected: `before 5.17` (semver)
  - unaffected: `6.1.168 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.131 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.80 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.21 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.11 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel HID Apple driver leaks memory in apple_report_fixup(), which allocates a buffer and never frees it. The source gives few details on how an attacker would trigger this or what impact it has. Upgrade to Linux kernel 6.1.168, 6.6.131, 6.12.80, 6.18.21 or a later release in the same branch. Versions from 5.17 up to those fixes are affected.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0012, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 22 Apr 2026, 13:54 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-31520)
- 22 Apr 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31520)

## Sources

- [CVE List: CVE-2026-31520](https://www.cve.org/CVERecord?id=CVE-2026-31520)
- [NVD: CVE-2026-31520](https://nvd.nist.gov/vuln/detail/CVE-2026-31520)

### References from the CNA

- <https://git.kernel.org/stable/c/e2f090aeb7b9930a964e151910f4d45b04c8a7e5>
- <https://git.kernel.org/stable/c/2635d0c715f3fb177e0f80ecd5fa48feb6bf3884>
- <https://git.kernel.org/stable/c/31860c3f7ac66ab897a8c90dc4e74fa17ca0b624>
- <https://git.kernel.org/stable/c/be1a341c161430282acdfe2ac99b413271575cf1>
- <https://git.kernel.org/stable/c/e652ebd29928181c3e6820e303da25873e9917d4>
- <https://git.kernel.org/stable/c/239c15116d80f67d32f00acc34575f1a6b699613>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31520>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31520/>. Everything for agents: <https://agentprime.io/llms.txt>.
