CVE-2023-54284

Source
https://cve.org/CVERecord?id=CVE-2023-54284
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54284.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54284
Downstream
Related
Published
2025-12-30T12:23:25.116Z
Modified
2026-03-20T12:33:32.188993Z
Summary
media: av7110: prevent underflow in write_ts_to_decoder()
Details

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

media: av7110: prevent underflow in writetsto_decoder()

The buf[4] value comes from the user via tsplay(). It is a value in the u8 range. The final length we pass to av7110ipackinstantrepack() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54284.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf
Fixed
6680af5be9f08d830567e9118f76d3e64684db8f
Fixed
6606e2404ee9e20a3ae5b42fc3660d41b739ed3e
Fixed
620b983589e0223876bf1463b01100a9c67b56ba
Fixed
86ba65e5357bfbb6c082f68b265a292ee1bdde1d
Fixed
ca4ce92e3ec9fd3c7c936b912b95c53331d5159c
Fixed
423350af9e27f005611bd881b1df2cab66de943d
Fixed
77eeb4732135c18c2fdfab80839645b393f3e774
Fixed
7b93ab60fe9ed04be0ff155bc30ad39dea23e22b
Fixed
eed9496a0501357aa326ddd6b71408189ed872eb

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54284.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.31
Fixed
4.14.315
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.283
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.243
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.211
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.111
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.28
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.15
Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.3.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54284.json"