# CVE-2023-52915: media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035\_i2c\_master\_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, NVD) `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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-06T09:07:49.695Z
- **Modified:** 2026-06-17T06:43:55.527Z

## Who should check

- Anyone running Linux \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< b2f54ed7739dfdf42c4df0a11131aad7c8635464; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< fa58d9db5cad4bb7bb694b6837e3b96d87554f2b; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< b49c6e5dd236787f13a062ec528d724169f11152; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 6c01ef65de0b321b2db1ef9abf8f1d15862b937e; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< d9ef84a7c222497ecb5fdf93361c76931804825e; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 0143f282b15f7cedc0392ea10050fb6000fd16e6; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 41b7181a40af84448a2b144fb02d8bf32b7e9a23; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 7bf744f2de0a848fb1d717f5831b03db96feae89
- Anyone running Linux 3.5

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

## Affected and fixed versions

- Linux: \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< b2f54ed7739dfdf42c4df0a11131aad7c8635464; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< fa58d9db5cad4bb7bb694b6837e3b96d87554f2b; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< b49c6e5dd236787f13a062ec528d724169f11152; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 6c01ef65de0b321b2db1ef9abf8f1d15862b937e; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< d9ef84a7c222497ecb5fdf93361c76931804825e; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 0143f282b15f7cedc0392ea10050fb6000fd16e6; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 41b7181a40af84448a2b144fb02d8bf32b7e9a23; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 7bf744f2de0a848fb1d717f5831b03db96feae89 (cvelist)
- Linux: 3.5 (cvelist)

## Mitigation

- Upgrade Linux to 7bf744f2de0a848fb1d717f5831b03db96feae89 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-52915. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52915.md
Affected: Linux >= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, < b2f54ed7739dfdf42c4df0a11131aad7c8635464; >= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, < fa58d9db5cad4bb7bb694b6837e3b96d87554f2b; >= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, < b49c6e5dd236787f13a062ec528d724169f11152; >= 7f882c2e353ca58695e9b4f…
Fixed in: Linux 6c01ef65de0b321b2db1ef9abf8f1d15862b937e, Linux 0143f282b15f7cedc0392ea10050fb6000fd16e6, Linux 41b7181a40af84448a2b144fb02d8bf32b7e9a23, Linux 7bf744f2de0a848fb1d717f5831b03db96feae89

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

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

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

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

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

Linux \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< b2f54ed7739dfdf42c4df0a11131aad7c8635464; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< fa58d9db5cad4bb7bb694b6837e3b96d87554f2b; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< b49c6e5dd236787f13a062ec528d724169f11152; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 6c01ef65de0b321b2db1ef9abf8f1d15862b937e; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< d9ef84a7c222497ecb5fdf93361c76931804825e; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 0143f282b15f7cedc0392ea10050fb6000fd16e6; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 41b7181a40af84448a2b144fb02d8bf32b7e9a23; \>= 7f882c2e353ca58695e9b4fcc9e97a9d4cbcf273, \< 7bf744f2de0a848fb1d717f5831b03db96feae89; Linux 3.5.

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

Yes. Fixed in Linux 6c01ef65de0b321b2db1ef9abf8f1d15862b937e, Linux 0143f282b15f7cedc0392ea10050fb6000fd16e6, Linux 41b7181a40af84448a2b144fb02d8bf32b7e9a23, Linux 7bf744f2de0a848fb1d717f5831b03db96feae89. Upgrade Linux to 7bf744f2de0a848fb1d717f5831b03db96feae89 or later.

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

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/b2f54ed7739dfdf42c4df0a11131aad7c8635464>
- patch: <https://git.kernel.org/stable/c/fa58d9db5cad4bb7bb694b6837e3b96d87554f2b>
- patch: <https://git.kernel.org/stable/c/b49c6e5dd236787f13a062ec528d724169f11152>
- patch: <https://git.kernel.org/stable/c/6c01ef65de0b321b2db1ef9abf8f1d15862b937e>
- patch: <https://git.kernel.org/stable/c/d9ef84a7c222497ecb5fdf93361c76931804825e>
- patch: <https://git.kernel.org/stable/c/0143f282b15f7cedc0392ea10050fb6000fd16e6>
- patch: <https://git.kernel.org/stable/c/41b7181a40af84448a2b144fb02d8bf32b7e9a23>
- patch: <https://git.kernel.org/stable/c/7bf744f2de0a848fb1d717f5831b03db96feae89>

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

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