CVE-2023-54314

media: af9005: Fix null-ptr-deref in af9005_i2c_xfer

No CVSS score yet EPSS 0.21%

Published 30 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-54314

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54314 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.1% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from af4e067e1dcf926d9523dff11e46c45fd9fa9da2, before 98c12abb275b75a98ff62de9466d21e4daa98536
affected from af4e067e1dcf926d9523dff11e46c45fd9fa9da2, before 63d962ac7a52c0ff4cd09af2e284dce5e5955dfe
affected from af4e067e1dcf926d9523dff11e46c45fd9fa9da2, before 0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9
affected from af4e067e1dcf926d9523dff11e46c45fd9fa9da2, before c7e5ac737db25d7387fe517cb5207706782b6cf8
affected from af4e067e1dcf926d9523dff11e46c45fd9fa9da2, before 033b0c0780adee32dde218179e9bc51d2525108f
affected from af4e067e1dcf926d9523dff11e46c45fd9fa9da2, before abb6fd93e05e80668d2317fe1110bc99b05034c3
affected from af4e067e1dcf926d9523dff11e46c45fd9fa9da2, before e595ff350b2fd600823ee8491df7df693ae4b7c5
affected from af4e067e1dcf926d9523dff11e46c45fd9fa9da2, before f4ee84f27625ce1fdf41e8483fa0561a1b837d10
Other versions: unaffected
Linux
affected 2.6.23
unaffected before 2.6.23
unaffected from 4.14.326 up to and including 4.14.*
unaffected from 4.19.295 up to and including 4.19.*
unaffected from 5.4.257 up to and including 5.4.*
unaffected from 5.10.197 up to and including 5.10.*
unaffected from 5.15.133 up to and including 5.15.*
unaffected from 6.1.55 up to and including 6.1.*
unaffected from 6.5.5 up to and including 6.5.*
unaffected 6.6 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54314 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54314

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-54314
trivy image --scanners vuln IMAGE | grep CVE-2023-54314

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-54314 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.