CVE-2023-54284
media: av7110: prevent underflow in write_ts_to_decoder()
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 6680af5be9f08d830567e9118f76d3e64684db8f; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 620b983589e0223876bf1463b01100a9c67b56ba; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 86ba65e5357bfbb6c082f68b265a292ee1bdde1d; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < ca4ce92e3ec9fd3c7c936b912b95c53331d5159c; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 423350af9e27f005611bd881b1df2cab66de943d; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 77eeb4732135c18c2fdfab80839645b393f3e774; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < 7b93ab60fe9ed04be0ff155bc30ad39dea23e22b; >= fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf, < eed9496a0501357aa326ddd6b71408189ed872eb; Linux 2.6.31
- Fixed in
- Linux 6680af5be9f08d830567e9118f76d3e64684db8f, Linux 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e, Linux 620b983589e0223876bf1463b01100a9c67b56ba, Linux 86ba65e5357bfbb6c082f68b265a292ee1bdde1d, Linux 423350af9e27f005611bd881b1df2cab66de943d, Linux 77eeb4732135c18c2fdfab80839645b393f3e774, Linux 7b93ab60fe9ed04be0ff155bc30ad39dea23e22b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Other
- https://git.kernel.org/stable/c/6680af5be9f08d830567e9118f76d3e64684db8f
- https://git.kernel.org/stable/c/6606e2404ee9e20a3ae5b42fc3660d41b739ed3e
- https://git.kernel.org/stable/c/620b983589e0223876bf1463b01100a9c67b56ba
- https://git.kernel.org/stable/c/86ba65e5357bfbb6c082f68b265a292ee1bdde1d
- https://git.kernel.org/stable/c/ca4ce92e3ec9fd3c7c936b912b95c53331d5159c
- https://git.kernel.org/stable/c/423350af9e27f005611bd881b1df2cab66de943d
- https://git.kernel.org/stable/c/77eeb4732135c18c2fdfab80839645b393f3e774
- https://git.kernel.org/stable/c/7b93ab60fe9ed04be0ff155bc30ad39dea23e22b
- https://git.kernel.org/stable/c/eed9496a0501357aa326ddd6b71408189ed872eb
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.