Bug 2460675 (CVE-2026-31520) - CVE-2026-31520 kernel: HID: apple: avoid memory leak in apple_report_fixup()
Summary: CVE-2026-31520 kernel: HID: apple: avoid memory leak in apple_report_fixup()
Keywords:
Status: NEW
Alias: CVE-2026-31520
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-22 15:04 UTC by OSIDB Bzimport
Modified: 2026-04-22 20:15 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-22 15:04:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.