# CVE-2023-54066: media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-12-24T12:23:11.431Z
- Modified: 2026-06-17T06:46:44.410Z
- Assigned by: Linux

## 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()")

(As written by CVE List.)

## Affected

- Linux Linux: from 1ea76d16569b7fc242b860c7e19549be028b13d1 before 578b67614ae0e4fba3945b66a4c8f9ae77115bcb; from 1ea76d16569b7fc242b860c7e19549be028b13d1 before 2a33fc57133d6f39d62285df6706aeb1714967f1; from 1ea76d16569b7fc242b860c7e19549be028b13d1 before dfcd3c010209927b9f45b860f046635dc32e32e1; from 1ea76d16569b7fc242b860c7e19549be028b13d1 before 72af676551efe820e309a6c7681c2c4372f37376; from 1ea76d16569b7fc242b860c7e19549be028b13d1 before b97719a66970601cd3151a3e2020f4454a1c4ff6; 5.5 (not affected: before 5.5; from 5.10.197 up to 5.10.*; from 5.15.133 up to 5.15.*; from 6.1.55 up to 6.1.*; from 6.5.5 up to 6.5.*; from 6.6 up to *)

## References

- <https://git.kernel.org/stable/c/578b67614ae0e4fba3945b66a4c8f9ae77115bcb>
- <https://git.kernel.org/stable/c/2a33fc57133d6f39d62285df6706aeb1714967f1>
- <https://git.kernel.org/stable/c/dfcd3c010209927b9f45b860f046635dc32e32e1>
- <https://git.kernel.org/stable/c/72af676551efe820e309a6c7681c2c4372f37376>
- <https://git.kernel.org/stable/c/b97719a66970601cd3151a3e2020f4454a1c4ff6>

## Sources

- CVE List: [CVE-2023-54066](https://www.cve.org/CVERecord?id=CVE-2023-54066), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54066](https://nvd.nist.gov/vuln/detail/CVE-2023-54066), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54066 · Whole record: https://cve.day/CVE-2023-54066.json · Rebuilt by cve.day 2026-11-25T22:58:35.162Z
