CVE-2025-68252
JSON

Not scored

misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup

Severity
Not scored
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup In fastrpc_map_lookup, dma_buf_get is called to obtain a reference to the dma_buf for comparison purposes. However, this reference is never released when the function returns, leading to a dma_buf memory leak. Fix this by adding dma_buf_put before returning from the function, ensuring that the temporarily acquired reference is properly released regardless of whether a matching map is found. Rule: add

Affected

Product or packageVersionsReported by
Linux Linuxfrom ec5cb80503bbfee67573699fe52fcf456fd57678 before c2fef5ebb73f3dabae6fbc571d181914ed32c483, from 6e0d6cc39f410a4d9ea774fbb254c68fe02ff4bb before 9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3, from 6e0928a8988e873da9946e17f8065ad77c720186 before e17b13387827adce7acb19ac0f07f9bcafe0ff4c, from 1986bba9597b3d97d3e80530dc457a1cd1994e22 before 214e81a63a9aa0be42382ef0365ba5ed32c513ab, from 9031626ade38b092b72638dfe0c6ffce8d8acd43 before fff111bf45cbeeb659324316d68554e35d350092, from 6.1.156 before 6.1.158, from 6.6.112 before 6.6.115, from 6.12.53 before 6.12.56 and 1 moreCVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup In fastrpc_map_lookup, dma_buf_get is called to obtain a reference to the dma_buf for comparison purposes. However, this reference is never released when the function returns, leading to a dma_buf memory leak. Fix this by adding dma_buf_put before returning from the function, ensuring that the temporarily acquired reference is properly released regardless of whether a matching map is found. Rule: add

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: misc: fastrpc: Corrección de fuga de objeto dma_buf en fastrpc_map_lookup En fastrpc_map_lookup, se llama a dma_buf_get para obtener una referencia al dma_buf con fines de comparación. Sin embargo, esta referencia nunca se libera cuando la función retorna, lo que provoca una fuga de memoria de dma_buf. Esto se corrige añadiendo dma_buf_put antes de retornar de la función, asegurando que la referencia adquirida temporalmente se libere correctamente independientemente de si se encuentra un mapa coincidente.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68252 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-68252 changed 2026-10-14Public domain