CVE-2023-52915

media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer

No CVSS score yet EPSS 0.21%

Published 6 Sep 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-52915

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-52915 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: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer

In af9035_i2c_master_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 af9035_i2c_master_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.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, before b2f54ed7739dfdf42c4df0a11131aad7c8635464
affected from 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, before fa58d9db5cad4bb7bb694b6837e3b96d87554f2b
affected from 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, before b49c6e5dd236787f13a062ec528d724169f11152
affected from 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, before 6c01ef65de0b321b2db1ef9abf8f1d15862b937e
affected from 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, before d9ef84a7c222497ecb5fdf93361c76931804825e
affected from 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, before 0143f282b15f7cedc0392ea10050fb6000fd16e6
affected from 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, before 41b7181a40af84448a2b144fb02d8bf32b7e9a23
affected from 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, before 7bf744f2de0a848fb1d717f5831b03db96feae89
Other versions: unaffected
Linux
affected 3.5
unaffected before 3.5
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-52915 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52915

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-52915
trivy image --scanners vuln IMAGE | grep CVE-2023-52915

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-52915 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.