media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer (Linux Linux)

CVE-2023-54066
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer In gl861_i2c_master_xfer, msg is controlled by user. When msg[i].buf is null and msg[i].len is zero, former checks on msg[i].buf would be passed. Malicious data finally reach gl861_i2c_master_xfer. If accessing msg[i].buf[0] without sanity check, null ptr deref would happen. We add check on msg[i].len to prevent crash. Similar commit: commit 0ed554fd769a ("media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()")

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 1ea76d16569b7fc242b860c7e19549be028b13d1 < 578b67614ae0e4fba3945b66a4c8f9ae77115bcb ; affected 1ea76d16569b7fc242b860c7e19549be028b13d1 < 2a33fc57133d6f39d62285df6706aeb1714967f1 ; affected 1ea76d16569b7fc242b860c7e19549be028b13d1 < dfcd3c010209927b9f45b860f046635dc32e32e1 ; affected 1ea76d16569b7fc242b860c7e19549be028b13d1 < 72af676551efe820e309a6c7681c2c4372f37376 ; affected 1ea76d16569b7fc242b860c7e19549be028b13d1 < b97719a66970601cd3151a3e2020f4454a1c4ff6
Linux · Linuxaffected 5.5 ; unaffected 0 < 5.5 ; unaffected 5.10.197 ≤ 5.10.* ; unaffected 5.15.133 ≤ 5.15.* ; unaffected 6.1.55 ≤ 6.1.* ; unaffected 6.5.5 ≤ 6.5.*

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