CVE-2025-68252 misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup
설명
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
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.1.156 이상 6.1.158 미만
- 6.6.112 이상 6.6.115 미만
- 6.12.53 이상 6.12.56 미만
- 6.17.3 이상 6.17.6 미만
해결 버전
- 6.1.158 이상
- 6.6.115 이상
- 6.12.56 이상
- 6.17.6 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/214e81a63a9aa0be42382ef0365ba5ed32c513ab (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c2fef5ebb73f3dabae6fbc571d181914ed32c483 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e17b13387827adce7acb19ac0f07f9bcafe0ff4c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fff111bf45cbeeb659324316d68554e35d350092 (새 창)