CVE-2025-40036

Source
https://cve.org/CVERecord?id=CVE-2025-40036
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40036.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40036
Downstream
Related
Published
2025-10-28T11:48:17.630Z
Modified
2026-03-20T12:43:09.155107Z
Summary
misc: fastrpc: fix possible map leak in fastrpc_put_args
Details

In the Linux kernel, the following vulnerability has been resolved:

misc: fastrpc: fix possible map leak in fastrpcputargs

copytouser() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40036.json"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected 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"