{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-47305","published":"2024-05-21T15:15:18.177000Z","last_modified":"2026-06-17T04:17:09.110000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-617"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.9","version_end_excluding":"4.14.241"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.199"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.135"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.53"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.13.5"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.14"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00306,"percentile":0.15947,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2021-47305/","html_en":"/en/cve/CVE-2021-47305/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-47305","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-47305"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf/sync_file: Don't leak fences on merge failure\n\nEach add_fence() call does a dma_fence_get() on the relevant fence.  In\nthe error path, we weren't calling dma_fence_put() so all those fences\ngot leaked.  Also, in the krealloc_array failure case, we weren't\nfreeing the fences array.  Instead, ensure that i and fences are always\nzero-initialized and dma_fence_put() all the fences and kfree(fences) on\nevery error path.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0d514185ae792d3a1903c8e1a83899aa996705ce","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/19edcd97727aae9362444a859a24d99a8730cb27","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/19f51c2529339280d2c8c6427cd3e21ddf1ac3f8","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/41f45e91c92c8480242ea448d54e28c753b13902","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e0355a0ad31a1d677b2a4514206de4902bd550e8","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ffe000217c5068c5da07ccb1c0f8cce7ad767435","tags":["Patch"]}]}}