CVE-2026-31520

published 22 Apr 2026 · updated 13 Nov 2026

HID: apple: avoid memory leak in apple_report_fixup()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.168, Kernel 6.18.21, Kernel 6.19.11 and 8 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.17 <6.1.168, >=6.13 <6.18.21, >=6.19 <6.19.11, >=6.2 <6.6.131, >=6.7 <6.12.80, =7.0, >=6e143293e17a73c9313f91c5ca3aaacbaef030cf <2635d0c715f3fb177e0f80ecd5fa48feb6bf3884, >=6e143293e17a73c9313f91c5ca3aaacbaef030cf <31860c3f7ac66ab897a8c90dc4e74fa17ca0b624, >=6e143293e17a73c9313f91c5ca3aaacbaef030cf <be1a341c161430282acdfe2ac99b413271575cf1, >=6e143293e17a73c9313f91c5ca3aaacbaef030cf <e2f090aeb7b9930a964e151910f4d45b04c8a7e5, >=6e143293e17a73c9313f91c5ca3aaacbaef030cf <e652ebd29928181c3e6820e303da25873e9917d4, =5.17, >=6e143293e17a73c9313f91c5ca3aaacbaef030cf <239c15116d80f67d32f00acc34575f1a6b6996136.1.168, 6.18.21, 6.19.11, 6.6.131, 6.12.80, 2635d0c715f3fb177e0f80ecd5fa48feb6bf3884, 31860c3f7ac66ab897a8c90dc4e74fa17ca0b624, be1a341c161430282acdfe2ac99b413271575cf1, e2f090aeb7b9930a964e151910f4d45b04c8a7e5, e652ebd29928181c3e6820e303da25873e9917d4, 239c15116d80f67d32f00acc34575f1a6b699613
linux-kernel: Kernel>=5.17.0 <6.1.168, >=6.13.0 <6.18.21, >=6.19.0 <6.19.11, >=6.2.0 <6.6.131, >=6.7.0 <6.12.806.1.168, 6.18.21, 6.19.11, 6.6.131, 6.12.80

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31520 severity on Zeptric[![CVE-2026-31520](https://zeptric.io/badge/cve/CVE-2026-31520.svg)](https://zeptric.io/cve/CVE-2026-31520)