media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com (Linux Linux)

CVE-2021-47645
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 < 8dce4b265a5357731058f69645840dabc718c687 ; affected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 < bafec1a6ba4b187a7fcdcfce0faebdc623d4ef8e ; affected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 < 7e76f3ed7ab2ae026c6ef9cc23096a7554af8c52 ; affected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 < 20db2ed1e2f9fcd417fa67853e5154f0c2537d6c ; affected 83f89a8bcbc3c520a889b5fc7c4b95669d712f65 < 20811bbe685ca3eddd34b0c750860427d7030910
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.2 < 5.10 ; unaffected 5.10.110 ≤ 5.10.* ; unaffected 5.15.33 ≤ 5.15.* ; unaffected 5.16.19 ≤ 5.16.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD