Bug 2406746 (CVE-2025-40036) - CVE-2025-40036 kernel: misc: fastrpc: fix possible map leak in fastrpc_put_args
Summary: CVE-2025-40036 kernel: misc: fastrpc: fix possible map leak in fastrpc_put_args
Keywords:
Status: NEW
Alias: CVE-2025-40036
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-28 12:03 UTC by OSIDB Bzimport
Modified: 2026-06-29 20:16 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-28 12:03:13 UTC
In the Linux kernel, the following vulnerability has been resolved:

misc: fastrpc: fix possible map leak in fastrpc_put_args

copy_to_user() failure would cause an early return without cleaning up
the fdlist, which has been updated by the DSP. This could lead to map
leak. Fix this by redirecting to a cleanup path on failure, ensuring
that all mapped buffers are properly released before returning.

Comment 1 Jon Moroney 2025-10-28 18:52:39 UTC Comment hidden (spam)

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