CVE-2026-31520

· NIST NVD ↗

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.

MEDIUM
CVSS severity
5.5
CVSS base score
2026-04-22
Published

CWE codes

CWE-401

Affected products

linux:linux_kernel

Sources