← CVE Intelligence

CVE-2021-47645

media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com On the case tmp_dcim=1, the index of buffer is miscalculated. This generate a NULL pointer dereference later. So let's fix the calcul and add a check to prevent this to reappear.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 before 8dce4b265a5357731058f69645840dabc718c687; affected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 before bafec1a6ba4b187a7fcdcfce0faebdc623d4ef8e; affected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 before 7e76f3ed7ab2ae026c6ef9cc23096a7554af8c52; affected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 before 20db2ed1e2f9fcd417fa67853e5154f0c2537d6c; affected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 before 20811bbe685ca3eddd34b0c750860427d7030910
Linux / Linuxaffected 5.10; unaffected 0 before 5.10; unaffected 5.2 before 5.10; unaffected 5.10.110 through 5.10.*; unaffected 5.15.33 through 5.15.*; unaffected 5.16.19 through 5.16.*; unaffected 5.17.2 through 5.17.*

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.