# CVE-2023-54284: media: av7110: prevent underflow in write\_ts\_to\_decoder()

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.21% (percentile 7, 2026-11-26)
- **Published:** 2025-12-30T12:23:25.116Z
- **Modified:** 2026-08-05T09:18:55.094Z

## Who should check

- Anyone running Linux \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 6680af5be9f08d830567e9118f76d3e64684db8f; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 620b983589e0223876bf1463b01100a9c67b56ba; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 86ba65e5357bfbb6c082f68b265a292ee1bdde1d; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< ca4ce92e3ec9fd3c7c936b912b95c53331d5159c; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 423350af9e27f005611bd881b1df2cab66de943d; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 77eeb4732135c18c2fdfab80839645b393f3e774; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 7b93ab60fe9ed04be0ff155bc30ad39dea23e22b; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< eed9496a0501357aa326ddd6b71408189ed872eb
- Anyone running Linux 2.6.31

## Description

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

media: av7110: prevent underflow in write\_ts\_to\_decoder()

The buf\[4\] value comes from the user via ts\_play().  It is a value in
the u8 range.  The final length we pass to av7110\_ipack\_instant\_repack()
is "len - (buf\[4\] + 1) - 4" so add a check to ensure that the length is
not negative.  It's not clear that passing a negative len value does
anything bad necessarily, but it's not best practice.

With the new bounds checking the "if (!len)" condition is no longer
possible or required so remove that.

## Affected and fixed versions

- Linux: \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 6680af5be9f08d830567e9118f76d3e64684db8f; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 620b983589e0223876bf1463b01100a9c67b56ba; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 86ba65e5357bfbb6c082f68b265a292ee1bdde1d; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< ca4ce92e3ec9fd3c7c936b912b95c53331d5159c; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 423350af9e27f005611bd881b1df2cab66de943d; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 77eeb4732135c18c2fdfab80839645b393f3e774; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 7b93ab60fe9ed04be0ff155bc30ad39dea23e22b; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< eed9496a0501357aa326ddd6b71408189ed872eb (cvelist)
- Linux: 2.6.31 (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-54284. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54284.md
Affected: Linux >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 6680af5be9f08d830567e9118f76d3e64684db8f; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 620b983589e0223876bf1463b01100a9c67b56ba; >= fd46d16d602ab7fd53cef7f…
Fixed in: Linux 6680af5be9f08d830567e9118f76d3e64684db8f, Linux 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e, Linux 620b983589e0223876bf1463b01100a9c67b56ba, Linux 86ba65e5357bfbb6c082f68b265a292ee1bdde1d, Linux 423350af9e27f005611bd881b1df2cab66de943d, Linux 77eeb4732135c18c2fdfab80839645b393f3e774, Linux 7b93a…

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

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

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

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

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

Linux \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 6680af5be9f08d830567e9118f76d3e64684db8f; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 620b983589e0223876bf1463b01100a9c67b56ba; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 86ba65e5357bfbb6c082f68b265a292ee1bdde1d; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< ca4ce92e3ec9fd3c7c936b912b95c53331d5159c; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 423350af9e27f005611bd881b1df2cab66de943d; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 77eeb4732135c18c2fdfab80839645b393f3e774; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< 7b93ab60fe9ed04be0ff155bc30ad39dea23e22b; \>= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, \< eed9496a0501357aa326ddd6b71408189ed872eb; Linux 2.6.31.

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

Yes. Fixed in Linux 6680af5be9f08d830567e9118f76d3e64684db8f, Linux 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e, Linux 620b983589e0223876bf1463b01100a9c67b56ba, Linux 86ba65e5357bfbb6c082f68b265a292ee1bdde1d, Linux 423350af9e27f005611bd881b1df2cab66de943d, Linux 77eeb4732135c18c2fdfab80839645b393f3e774, Linux 7b93ab60fe9ed04be0ff155bc30ad39dea23e22b. No fix listed yet: follow the vendor advisory.

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

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/6680af5be9f08d830567e9118f76d3e64684db8f>
- other: <https://git.kernel.org/stable/c/6606e2404ee9e20a3ae5b42fc3660d41b739ed3e>
- other: <https://git.kernel.org/stable/c/620b983589e0223876bf1463b01100a9c67b56ba>
- other: <https://git.kernel.org/stable/c/86ba65e5357bfbb6c082f68b265a292ee1bdde1d>
- other: <https://git.kernel.org/stable/c/ca4ce92e3ec9fd3c7c936b912b95c53331d5159c>
- other: <https://git.kernel.org/stable/c/423350af9e27f005611bd881b1df2cab66de943d>
- other: <https://git.kernel.org/stable/c/77eeb4732135c18c2fdfab80839645b393f3e774>
- other: <https://git.kernel.org/stable/c/7b93ab60fe9ed04be0ff155bc30ad39dea23e22b>
- other: <https://git.kernel.org/stable/c/eed9496a0501357aa326ddd6b71408189ed872eb>

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

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