CVE-2023-54284

media: av7110: prevent underflow in write_ts_to_decoder()

State
Published
Severity
7.1 High
Published
Dec 30, 2025
Updated
Aug 5, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before 6680af5be9f08d830567e9118f76d3e64684db8fAffected
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before 6606e2404ee9e20a3ae5b42fc3660d41b739ed3eAffected
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before 620b983589e0223876bf1463b01100a9c67b56baAffected
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before 86ba65e5357bfbb6c082f68b265a292ee1bdde1dAffected
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before ca4ce92e3ec9fd3c7c936b912b95c53331d5159cAffected
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before 423350af9e27f005611bd881b1df2cab66de943dAffected
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before 77eeb4732135c18c2fdfab80839645b393f3e774Affected
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before 7b93ab60fe9ed04be0ff155bc30ad39dea23e22bAffected
  • fd46d16d602ab7fd53cef7ff55b9dcb0b47ad3bf to before eed9496a0501357aa326ddd6b71408189ed872ebAffected
LinuxLinux
  • 2.6.31Affected
  • before 2.6.31Not affected
  • 4.14.315 through 4.14.*Not affected
  • 4.19.283 through 4.19.*Not affected
  • 5.4.243 through 5.4.*Not affected
  • 5.10.211 through 5.10.*Not affected
  • 5.15.111 through 5.15.*Not affected
  • 6.1.28 through 6.1.*Not affected
  • 6.2.15 through 6.2.*Not affected
  • 6.3.2 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.