# CVE-2023-54314: media: af9005: Fix null-ptr-deref in af9005\_i2c\_xfer

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 12, 2026-11-28)
- **Published:** 2025-12-30T12:23:45.179Z
- **Modified:** 2026-06-17T06:47:12.603Z

## Who should check

- Anyone running Linux \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 98c12abb275b75a98ff62de9466d21e4daa98536; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 63d962ac7a52c0ff4cd09af2e284dce5e5955dfe; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< c7e5ac737db25d7387fe517cb5207706782b6cf8; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 033b0c0780adee32dde218179e9bc51d2525108f; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< abb6fd93e05e80668d2317fe1110bc99b05034c3; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< e595ff350b2fd600823ee8491df7df693ae4b7c5; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< f4ee84f27625ce1fdf41e8483fa0561a1b837d10
- Anyone running Linux 2.6.23

## Description

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

media: af9005: Fix null-ptr-deref in af9005\_i2c\_xfer

In af9005\_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 af9005\_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: \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 98c12abb275b75a98ff62de9466d21e4daa98536; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 63d962ac7a52c0ff4cd09af2e284dce5e5955dfe; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< c7e5ac737db25d7387fe517cb5207706782b6cf8; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 033b0c0780adee32dde218179e9bc51d2525108f; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< abb6fd93e05e80668d2317fe1110bc99b05034c3; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< e595ff350b2fd600823ee8491df7df693ae4b7c5; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< f4ee84f27625ce1fdf41e8483fa0561a1b837d10 (cvelist)
- Linux: 2.6.23 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54314.md
Affected: Linux >= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, < 98c12abb275b75a98ff62de9466d21e4daa98536; >= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, < 63d962ac7a52c0ff4cd09af2e284dce5e5955dfe; >= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, < 0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9; >= af4e067e1dcf926d9523dff…
Fixed in: Linux 98c12abb275b75a98ff62de9466d21e4daa98536, Linux 63d962ac7a52c0ff4cd09af2e284dce5e5955dfe, Linux 0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9, Linux 033b0c0780adee32dde218179e9bc51d2525108f

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-54314 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 98c12abb275b75a98ff62de9466d21e4daa98536; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 63d962ac7a52c0ff4cd09af2e284dce5e5955dfe; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< c7e5ac737db25d7387fe517cb5207706782b6cf8; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< 033b0c0780adee32dde218179e9bc51d2525108f; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< abb6fd93e05e80668d2317fe1110bc99b05034c3; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< e595ff350b2fd600823ee8491df7df693ae4b7c5; \>= af4e067e1dcf926d9523dff11e46c45fd9fa9da2, \< f4ee84f27625ce1fdf41e8483fa0561a1b837d10; Linux 2.6.23.

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

Yes. Fixed in Linux 98c12abb275b75a98ff62de9466d21e4daa98536, Linux 63d962ac7a52c0ff4cd09af2e284dce5e5955dfe, Linux 0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9, Linux 033b0c0780adee32dde218179e9bc51d2525108f. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/98c12abb275b75a98ff62de9466d21e4daa98536>
- other: <https://git.kernel.org/stable/c/63d962ac7a52c0ff4cd09af2e284dce5e5955dfe>
- other: <https://git.kernel.org/stable/c/0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9>
- other: <https://git.kernel.org/stable/c/c7e5ac737db25d7387fe517cb5207706782b6cf8>
- other: <https://git.kernel.org/stable/c/033b0c0780adee32dde218179e9bc51d2525108f>
- other: <https://git.kernel.org/stable/c/abb6fd93e05e80668d2317fe1110bc99b05034c3>
- other: <https://git.kernel.org/stable/c/e595ff350b2fd600823ee8491df7df693ae4b7c5>
- other: <https://git.kernel.org/stable/c/f4ee84f27625ce1fdf41e8483fa0561a1b837d10>

## 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-54314>

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