{"id":"CVE-2025-40036","aliases":["CVE-2025-40036"],"related":[],"kind":"vulnerability","state":"published","title":"misc: fastrpc: fix possible map leak in fastrpc_put_args","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nvarios: fastrpc: corrige posible fuga de mapeo en fastrpc_put_args\n\nUn fallo de copy_to_user() causaría un retorno temprano sin limpiar la fdlist, que ha sido actualizada por el DSP. Esto podría llevar a una fuga de mapeo. Esto se soluciona redirigiendo a una ruta de limpieza en caso de fallo, asegurando que todos los búferes mapeados sean liberados correctamente antes de retornar.","source":"nvd"}],"published":"2025-10-28T11:48:17.630Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c68cfb718c8f97b7f7a50ed66be5feb42d0c8988","fixed":"a085658264d0c8d4f795d4631f77d7289a021de9","status":"affected"},{"type":"git","introduced":"c68cfb718c8f97b7f7a50ed66be5feb42d0c8988","fixed":"3ad42dc66445df6977cf4be0c06f1a655299ce6c","status":"affected"},{"type":"git","introduced":"c68cfb718c8f97b7f7a50ed66be5feb42d0c8988","fixed":"78d33a041555db03903e8037fd053ed74fbd88cb","status":"affected"},{"type":"git","introduced":"c68cfb718c8f97b7f7a50ed66be5feb42d0c8988","fixed":"c000f65f0ac93d9f9cc69a230d372f6ca93e4879","status":"affected"},{"type":"git","introduced":"c68cfb718c8f97b7f7a50ed66be5feb42d0c8988","fixed":"da1ba64176e0138f2bfa96f9e43e8c3640d01e1e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"6.1.156","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.112","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.53","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a085658264d0c8d4f795d4631f77d7289a021de9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ad42dc66445df6977cf4be0c06f1a655299ce6c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78d33a041555db03903e8037fd053ed74fbd88cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c000f65f0ac93d9f9cc69a230d372f6ca93e4879","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da1ba64176e0138f2bfa96f9e43e8c3640d01e1e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40036","url":"https://www.cve.org/CVERecord?id=CVE-2025-40036","licence":"CVE Terms of Use","modified":"2026-05-11T21:41:14.519Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40036","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40036","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:06.927Z","epss":{"score":0.00214,"percentile":0.12444,"date":"2026-12-01T12:00:22.000Z"}}