{"id":"CVE-2025-40036","summary":"misc: fastrpc: fix possible map leak in fastrpc_put_args","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: fix possible map leak in fastrpc_put_args\n\ncopy_to_user() failure would cause an early return without cleaning up\nthe fdlist, which has been updated by the DSP. This could lead to map\nleak. Fix this by redirecting to a cleanup path on failure, ensuring\nthat all mapped buffers are properly released before returning.","modified":"2026-03-20T12:43:09.155107Z","published":"2025-10-28T11:48:17.630Z","related":["MGASA-2025-0309","MGASA-2025-0310","SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:21080-1","SUSE-SU-2025:21147-1","SUSE-SU-2025:21180-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4301-1","openSUSE-SU-2025:15702-1","openSUSE-SU-2025:20091-1","openSUSE-SU-2026:10301-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40036.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3ad42dc66445df6977cf4be0c06f1a655299ce6c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78d33a041555db03903e8037fd053ed74fbd88cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a085658264d0c8d4f795d4631f77d7289a021de9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c000f65f0ac93d9f9cc69a230d372f6ca93e4879"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da1ba64176e0138f2bfa96f9e43e8c3640d01e1e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40036.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40036"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c68cfb718c8f97b7f7a50ed66be5feb42d0c8988"},{"fixed":"a085658264d0c8d4f795d4631f77d7289a021de9"},{"fixed":"3ad42dc66445df6977cf4be0c06f1a655299ce6c"},{"fixed":"78d33a041555db03903e8037fd053ed74fbd88cb"},{"fixed":"c000f65f0ac93d9f9cc69a230d372f6ca93e4879"},{"fixed":"da1ba64176e0138f2bfa96f9e43e8c3640d01e1e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40036.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"6.1.156"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40036.json"}}],"schema_version":"1.7.5"}