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.
Product status
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before 6680af5be9f08d830567e9118f76d3e64684db8f
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before 6606e2404ee9e20a3ae5b42fc3660d41b739ed3e
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before 620b983589e0223876bf1463b01100a9c67b56ba
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before 86ba65e5357bfbb6c082f68b265a292ee1bdde1d
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before ca4ce92e3ec9fd3c7c936b912b95c53331d5159c
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before 423350af9e27f005611bd881b1df2cab66de943d
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before 77eeb4732135c18c2fdfab80839645b393f3e774
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before 7b93ab60fe9ed04be0ff155bc30ad39dea23e22b
fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf (git) before eed9496a0501357aa326ddd6b71408189ed872eb
2.6.31
Any version before 2.6.31
4.14.315 (semver)
4.19.283 (semver)
5.4.243 (semver)
5.10.211 (semver)
5.15.111 (semver)
6.1.28 (semver)
6.2.15 (semver)
6.3.2 (semver)
6.4 (original_commit_for_fix)
References
git.kernel.org/...c/6680af5be9f08d830567e9118f76d3e64684db8f
git.kernel.org/...c/6606e2404ee9e20a3ae5b42fc3660d41b739ed3e
git.kernel.org/...c/620b983589e0223876bf1463b01100a9c67b56ba
git.kernel.org/...c/86ba65e5357bfbb6c082f68b265a292ee1bdde1d
git.kernel.org/...c/ca4ce92e3ec9fd3c7c936b912b95c53331d5159c
git.kernel.org/...c/423350af9e27f005611bd881b1df2cab66de943d
git.kernel.org/...c/77eeb4732135c18c2fdfab80839645b393f3e774
git.kernel.org/...c/7b93ab60fe9ed04be0ff155bc30ad39dea23e22b
git.kernel.org/...c/eed9496a0501357aa326ddd6b71408189ed872eb
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.