# CVE-2023-53220: media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:21:49.075Z
- Modified: 2026-06-17T06:44:32.613Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()

In az6007_i2c_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 az6007_i2c_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 caa1a700ed2a06a831e6a7db5d9f213fc63caee3 before c6763fefa267f6e62595a6ac1f57815d99fc90b7; from caa1a700ed2a06a831e6a7db5d9f213fc63caee3 before adcb73f8ce9aec48b1f85223f401c1574015d8d2; from caa1a700ed2a06a831e6a7db5d9f213fc63caee3 before 991c77fe18c6f374bbf83376f8c42550aa565662; from caa1a700ed2a06a831e6a7db5d9f213fc63caee3 before a9def3e9718a4dc756f48db147d42ec41a966240; from caa1a700ed2a06a831e6a7db5d9f213fc63caee3 before 5b1ea100ad3695025969dc4693f307877fb688d6; from caa1a700ed2a06a831e6a7db5d9f213fc63caee3 before 6ab7ea4e17d6a605d05308adf8f3408924770cba; from caa1a700ed2a06a831e6a7db5d9f213fc63caee3 before a1110f19d4940e4185251d072cbb0ff51486a1e7; from caa1a700ed2a06a831e6a7db5d9f213fc63caee3 before 1047f9343011f2cedc73c64829686206a7e9fc3f; 3.4 (not affected: before 3.4; from 4.14.326 up to 4.14.*; from 4.19.295 up to 4.19.*; from 5.4.257 up to 5.4.*; 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 *)
- linux linux_kernel: before 4.14.326; from 4.15 before 4.19.295; from 4.20 before 5.4.257; from 5.5 before 5.10.197; from 5.11 before 5.15.133; from 5.16 before 6.1.55; from 6.2 before 6.5.5

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c6763fefa267f6e62595a6ac1f57815d99fc90b7> (patch)
- <https://git.kernel.org/stable/c/adcb73f8ce9aec48b1f85223f401c1574015d8d2> (patch)
- <https://git.kernel.org/stable/c/991c77fe18c6f374bbf83376f8c42550aa565662> (patch)
- <https://git.kernel.org/stable/c/a9def3e9718a4dc756f48db147d42ec41a966240> (patch)
- <https://git.kernel.org/stable/c/5b1ea100ad3695025969dc4693f307877fb688d6> (patch)
- <https://git.kernel.org/stable/c/6ab7ea4e17d6a605d05308adf8f3408924770cba> (patch)
- <https://git.kernel.org/stable/c/a1110f19d4940e4185251d072cbb0ff51486a1e7> (patch)
- <https://git.kernel.org/stable/c/1047f9343011f2cedc73c64829686206a7e9fc3f> (patch)

## Sources

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

---

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