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.
[
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-21825da1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a085658264d0c8d4f795d4631f77d7289a021de9",
"digest": {
"function_hash": "10543625863880994155455633605651878425",
"length": 1030.0
},
"signature_type": "Function",
"target": {
"function": "fastrpc_put_args",
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-265acd73",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ad42dc66445df6977cf4be0c06f1a655299ce6c",
"digest": {
"function_hash": "10543625863880994155455633605651878425",
"length": 1030.0
},
"signature_type": "Function",
"target": {
"function": "fastrpc_put_args",
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-3483e5ee",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c000f65f0ac93d9f9cc69a230d372f6ca93e4879",
"digest": {
"line_hashes": [
"97578732418117217617647659674213702041",
"152882029379592284034378462961967814628",
"59801285478334711623422933329501025555",
"228489364953174818302478573885755747335",
"220786785711161381536402166578038127377",
"249950309554840599858633569260792105766",
"270102740073901690647153239849381379806",
"101083905463365011120388501300214984740",
"16337828726478183335410458799954981145",
"65062203483550403614131874301593130917",
"44359270907542929014735776271154796855",
"86078398705580330475545387840707893856",
"339257075712620625609230493860737206183",
"323308715748581504553852197445266693019",
"249419170917143832705450334101685360406",
"304642086298685570415521573449063912545",
"178358007915034032329775511737077763010",
"29290061988326511903002157256324725739"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-7707d667",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78d33a041555db03903e8037fd053ed74fbd88cb",
"digest": {
"function_hash": "10543625863880994155455633605651878425",
"length": 1030.0
},
"signature_type": "Function",
"target": {
"function": "fastrpc_put_args",
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-98aae8d5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c000f65f0ac93d9f9cc69a230d372f6ca93e4879",
"digest": {
"function_hash": "10543625863880994155455633605651878425",
"length": 1030.0
},
"signature_type": "Function",
"target": {
"function": "fastrpc_put_args",
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-a5c4e2e7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da1ba64176e0138f2bfa96f9e43e8c3640d01e1e",
"digest": {
"line_hashes": [
"97578732418117217617647659674213702041",
"152882029379592284034378462961967814628",
"59801285478334711623422933329501025555",
"228489364953174818302478573885755747335",
"220786785711161381536402166578038127377",
"249950309554840599858633569260792105766",
"270102740073901690647153239849381379806",
"101083905463365011120388501300214984740",
"16337828726478183335410458799954981145",
"65062203483550403614131874301593130917",
"44359270907542929014735776271154796855",
"86078398705580330475545387840707893856",
"339257075712620625609230493860737206183",
"323308715748581504553852197445266693019",
"249419170917143832705450334101685360406",
"304642086298685570415521573449063912545",
"178358007915034032329775511737077763010",
"29290061988326511903002157256324725739"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-c24f836a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a085658264d0c8d4f795d4631f77d7289a021de9",
"digest": {
"line_hashes": [
"97578732418117217617647659674213702041",
"152882029379592284034378462961967814628",
"59801285478334711623422933329501025555",
"228489364953174818302478573885755747335",
"220786785711161381536402166578038127377",
"249950309554840599858633569260792105766",
"270102740073901690647153239849381379806",
"101083905463365011120388501300214984740",
"16337828726478183335410458799954981145",
"65062203483550403614131874301593130917",
"44359270907542929014735776271154796855",
"86078398705580330475545387840707893856",
"339257075712620625609230493860737206183",
"323308715748581504553852197445266693019",
"249419170917143832705450334101685360406",
"304642086298685570415521573449063912545",
"178358007915034032329775511737077763010",
"29290061988326511903002157256324725739"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-c27eda15",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ad42dc66445df6977cf4be0c06f1a655299ce6c",
"digest": {
"line_hashes": [
"97578732418117217617647659674213702041",
"152882029379592284034378462961967814628",
"59801285478334711623422933329501025555",
"228489364953174818302478573885755747335",
"220786785711161381536402166578038127377",
"249950309554840599858633569260792105766",
"270102740073901690647153239849381379806",
"101083905463365011120388501300214984740",
"16337828726478183335410458799954981145",
"65062203483550403614131874301593130917",
"44359270907542929014735776271154796855",
"86078398705580330475545387840707893856",
"339257075712620625609230493860737206183",
"323308715748581504553852197445266693019",
"249419170917143832705450334101685360406",
"304642086298685570415521573449063912545",
"178358007915034032329775511737077763010",
"29290061988326511903002157256324725739"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-e6a6f487",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78d33a041555db03903e8037fd053ed74fbd88cb",
"digest": {
"line_hashes": [
"97578732418117217617647659674213702041",
"152882029379592284034378462961967814628",
"59801285478334711623422933329501025555",
"228489364953174818302478573885755747335",
"220786785711161381536402166578038127377",
"249950309554840599858633569260792105766",
"270102740073901690647153239849381379806",
"101083905463365011120388501300214984740",
"16337828726478183335410458799954981145",
"65062203483550403614131874301593130917",
"44359270907542929014735776271154796855",
"86078398705580330475545387840707893856",
"339257075712620625609230493860737206183",
"323308715748581504553852197445266693019",
"249419170917143832705450334101685360406",
"304642086298685570415521573449063912545",
"178358007915034032329775511737077763010",
"29290061988326511903002157256324725739"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/misc/fastrpc.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-40036-f872104d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da1ba64176e0138f2bfa96f9e43e8c3640d01e1e",
"digest": {
"function_hash": "10543625863880994155455633605651878425",
"length": 1030.0
},
"signature_type": "Function",
"target": {
"function": "fastrpc_put_args",
"file": "drivers/misc/fastrpc.c"
}
}
]