{"id":"CVE-2021-47645","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com\n\nOn the case tmp_dcim=1, the index of buffer is miscalculated.\nThis generate a N…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com\n\nOn the case tmp_dcim=1, the index of buffer is miscalculated.\nThis generate a N…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-476","CWE-476"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel < 5.10.110","linux_kernel >= 5.11, < 5.15.33","linux_kernel >= 5.16, < 5.16.19","linux_kernel >= 5.17, < 5.17.2"],"patched":["linux_kernel 5.17.2"],"published":"2025-02-26","updated":"2026-08-11","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-47645","references":[{"url":"https://git.kernel.org/stable/c/20811bbe685ca3eddd34b0c750860427d7030910","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/20db2ed1e2f9fcd417fa67853e5154f0c2537d6c","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7e76f3ed7ab2ae026c6ef9cc23096a7554af8c52","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8dce4b265a5357731058f69645840dabc718c687","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bafec1a6ba4b187a7fcdcfce0faebdc623d4ef8e","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd"],"epss":0.00253,"epssPercentile":0.17079,"ingestedAt":"2026-08-11T16:47:03.472Z","slug":"CVE-2021-47645","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nmedia: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com\n\nOn the case tmp_dcim=1, the index of buffer is miscalculated.\nThis generate a NULL pointer dereference later.\n\nSo let's fix the calcul and add a check to prevent this to reappear.\n\n## Affected\n\n- `linux_kernel < 5.10.110`\n- `linux_kernel >= 5.11, < 5.15.33`\n- `linux_kernel >= 5.16, < 5.16.19`\n- `linux_kernel >= 5.17, < 5.17.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 5.17.2`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}