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
medium
medium
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: 2025-10-28 18:54 UTC (History)
0 users

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.


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