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

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-22 15:03:26 UTC
In the Linux kernel, the following vulnerability has been resolved:

HID: magicmouse: avoid memory leak in magicmouse_report_fixup()

The magicmouse_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.