Public vulnerability disclosure

CVE-2026-31520

HID: apple: avoid memory leak in apple_report_fixup()

published

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.

Technical severityUnscoredNo score in collected sources
Published2026-04-22Source updated 2026-11-05
Collected2026-11-052 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
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)
Other versions: unaffected
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)
Other versions: affected
CNA: Linux

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

No CVSS assessment reported. An unscored record is not a low-severity determination.

Exploit evidence

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

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide