{"id":"CVE-2025-68252","state":"PUBLISHED","title":"misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup\n\nIn fastrpc_map_lookup, dma_buf_get is called to obtain a reference to\nthe dma_buf for comparison purposes. However, this reference is never\nreleased when the function returns, leading to a dma_buf memory leak.\n\nFix this by adding dma_buf_put before returning from the function,\nensuring that the temporarily acquired reference is properly released\nregardless of whether a matching map is found.\n\nRule: add","publishedAt":"2025-12-16T14:32:18.819Z","updatedAt":"2026-05-11T21:49:46.501Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ec5cb80503bbfee67573699fe52fcf456fd57678","status":"affected","lessThan":"c2fef5ebb73f3dabae6fbc571d181914ed32c483","versionType":"git"},{"version":"6e0d6cc39f410a4d9ea774fbb254c68fe02ff4bb","status":"affected","lessThan":"9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3","versionType":"git"},{"version":"6e0928a8988e873da9946e17f8065ad77c720186","status":"affected","lessThan":"e17b13387827adce7acb19ac0f07f9bcafe0ff4c","versionType":"git"},{"version":"1986bba9597b3d97d3e80530dc457a1cd1994e22","status":"affected","lessThan":"214e81a63a9aa0be42382ef0365ba5ed32c513ab","versionType":"git"},{"version":"9031626ade38b092b72638dfe0c6ffce8d8acd43","status":"affected","lessThan":"fff111bf45cbeeb659324316d68554e35d350092","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/fastrpc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.1.156","status":"affected","lessThan":"6.1.158","versionType":"semver"},{"version":"6.6.112","status":"affected","lessThan":"6.6.115","versionType":"semver"},{"version":"6.12.53","status":"affected","lessThan":"6.12.56","versionType":"semver"},{"version":"6.17.3","status":"affected","lessThan":"6.17.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/fastrpc.c"]}],"references":["https://git.kernel.org/stable/c/c2fef5ebb73f3dabae6fbc571d181914ed32c483","https://git.kernel.org/stable/c/9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3","https://git.kernel.org/stable/c/e17b13387827adce7acb19ac0f07f9bcafe0ff4c","https://git.kernel.org/stable/c/214e81a63a9aa0be42382ef0365ba5ed32c513ab","https://git.kernel.org/stable/c/fff111bf45cbeeb659324316d68554e35d350092"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68252.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68252","state":"PUBLISHED","datePublished":"2025-12-16T14:32:18.819Z","dateUpdated":"2026-05-11T21:49:46.501Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-16T13:41:40.266Z"},"containers":{"cna":{"title":"misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup\n\nIn fastrpc_map_lookup, dma_buf_get is called to obtain a reference to\nthe dma_buf for comparison purposes. However, this reference is never\nreleased when the function returns, leading to a dma_buf memory leak.\n\nFix this by adding dma_buf_put before returning from the function,\nensuring that the temporarily acquired reference is properly released\nregardless of whether a matching map is found.\n\nRule: add"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ec5cb80503bbfee67573699fe52fcf456fd57678","status":"affected","lessThan":"c2fef5ebb73f3dabae6fbc571d181914ed32c483","versionType":"git"},{"version":"6e0d6cc39f410a4d9ea774fbb254c68fe02ff4bb","status":"affected","lessThan":"9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3","versionType":"git"},{"version":"6e0928a8988e873da9946e17f8065ad77c720186","status":"affected","lessThan":"e17b13387827adce7acb19ac0f07f9bcafe0ff4c","versionType":"git"},{"version":"1986bba9597b3d97d3e80530dc457a1cd1994e22","status":"affected","lessThan":"214e81a63a9aa0be42382ef0365ba5ed32c513ab","versionType":"git"},{"version":"9031626ade38b092b72638dfe0c6ffce8d8acd43","status":"affected","lessThan":"fff111bf45cbeeb659324316d68554e35d350092","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/fastrpc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.1.156","status":"affected","lessThan":"6.1.158","versionType":"semver"},{"version":"6.6.112","status":"affected","lessThan":"6.6.115","versionType":"semver"},{"version":"6.12.53","status":"affected","lessThan":"6.12.56","versionType":"semver"},{"version":"6.17.3","status":"affected","lessThan":"6.17.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/fastrpc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c2fef5ebb73f3dabae6fbc571d181914ed32c483"},{"url":"https://git.kernel.org/stable/c/9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3"},{"url":"https://git.kernel.org/stable/c/e17b13387827adce7acb19ac0f07f9bcafe0ff4c"},{"url":"https://git.kernel.org/stable/c/214e81a63a9aa0be42382ef0365ba5ed32c513ab"},{"url":"https://git.kernel.org/stable/c/fff111bf45cbeeb659324316d68554e35d350092"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:49:46.501Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.156","versionEndExcluding":"6.1.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.112","versionEndExcluding":"6.6.115"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.53","versionEndExcluding":"6.12.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17.3","versionEndExcluding":"6.17.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}