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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2025-09-15T14:21:49.075Z
- **Modified:** 2026-06-17T06:44:32.613Z

## Who should check

- Anyone running Linux \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< c6763fefa267f6e62595a6ac1f57815d99fc90b7; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< adcb73f8ce9aec48b1f85223f401c1574015d8d2; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 991c77fe18c6f374bbf83376f8c42550aa565662; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< a9def3e9718a4dc756f48db147d42ec41a966240; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 5b1ea100ad3695025969dc4693f307877fb688d6; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 6ab7ea4e17d6a605d05308adf8f3408924770cba; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< a1110f19d4940e4185251d072cbb0ff51486a1e7; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 1047f9343011f2cedc73c64829686206a7e9fc3f
- Anyone running 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()")

## Affected and fixed versions

- Linux: \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< c6763fefa267f6e62595a6ac1f57815d99fc90b7; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< adcb73f8ce9aec48b1f85223f401c1574015d8d2; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 991c77fe18c6f374bbf83376f8c42550aa565662; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< a9def3e9718a4dc756f48db147d42ec41a966240; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 5b1ea100ad3695025969dc4693f307877fb688d6; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 6ab7ea4e17d6a605d05308adf8f3408924770cba; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< a1110f19d4940e4185251d072cbb0ff51486a1e7; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 1047f9343011f2cedc73c64829686206a7e9fc3f (cvelist)
- Linux: 3.4 (cvelist)

## Mitigation

- Upgrade Linux to 1047f9343011f2cedc73c64829686206a7e9fc3f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53220. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53220.md
Affected: Linux >= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, < c6763fefa267f6e62595a6ac1f57815d99fc90b7; >= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, < adcb73f8ce9aec48b1f85223f401c1574015d8d2; >= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, < 991c77fe18c6f374bbf83376f8c42550aa565662; >= caa1a700ed2a06a831e6a7d…
Fixed in: Linux 991c77fe18c6f374bbf83376f8c42550aa565662, Linux 5b1ea100ad3695025969dc4693f307877fb688d6, Linux 6ab7ea4e17d6a605d05308adf8f3408924770cba, Linux 1047f9343011f2cedc73c64829686206a7e9fc3f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53220 being exploited?

There is no confirmed exploitation: CVE-2023-53220 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-53220?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53220?

Linux \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< c6763fefa267f6e62595a6ac1f57815d99fc90b7; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< adcb73f8ce9aec48b1f85223f401c1574015d8d2; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 991c77fe18c6f374bbf83376f8c42550aa565662; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< a9def3e9718a4dc756f48db147d42ec41a966240; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 5b1ea100ad3695025969dc4693f307877fb688d6; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 6ab7ea4e17d6a605d05308adf8f3408924770cba; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< a1110f19d4940e4185251d072cbb0ff51486a1e7; \>= caa1a700ed2a06a831e6a7db5d9f213fc63caee3, \< 1047f9343011f2cedc73c64829686206a7e9fc3f; Linux 3.4.

### Is there a fix for CVE-2023-53220?

Yes. Fixed in Linux 991c77fe18c6f374bbf83376f8c42550aa565662, Linux 5b1ea100ad3695025969dc4693f307877fb688d6, Linux 6ab7ea4e17d6a605d05308adf8f3408924770cba, Linux 1047f9343011f2cedc73c64829686206a7e9fc3f. Upgrade Linux to 1047f9343011f2cedc73c64829686206a7e9fc3f or later.

### How do I check if I'm affected by CVE-2023-53220?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53220>

HTML: <https://flawdb.com/CVE-2023-53220> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53220>
