{"id":"CVE-2023-54066","summary":"media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer\n\nIn gl861_i2c_master_xfer, msg is controlled by user. When msg[i].buf\nis null and msg[i].len is zero, former checks on msg[i].buf would be\npassed. Malicious data finally reach gl861_i2c_master_xfer. If accessing\nmsg[i].buf[0] without sanity check, null ptr deref would happen.\nWe add check on msg[i].len to prevent crash.\n\nSimilar commit:\ncommit 0ed554fd769a\n(\"media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()\")","modified":"2026-04-02T09:45:33.038431Z","published":"2025-12-24T12:23:11.431Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54066.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2a33fc57133d6f39d62285df6706aeb1714967f1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/578b67614ae0e4fba3945b66a4c8f9ae77115bcb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72af676551efe820e309a6c7681c2c4372f37376"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b97719a66970601cd3151a3e2020f4454a1c4ff6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dfcd3c010209927b9f45b860f046635dc32e32e1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54066.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54066"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1ea76d16569b7fc242b860c7e19549be028b13d1"},{"fixed":"578b67614ae0e4fba3945b66a4c8f9ae77115bcb"},{"fixed":"2a33fc57133d6f39d62285df6706aeb1714967f1"},{"fixed":"dfcd3c010209927b9f45b860f046635dc32e32e1"},{"fixed":"72af676551efe820e309a6c7681c2c4372f37376"},{"fixed":"b97719a66970601cd3151a3e2020f4454a1c4ff6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54066.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.197"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.133"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.5.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54066.json"}}],"schema_version":"1.7.5"}