Bug 2426014 (CVE-2023-54284) - CVE-2023-54284 kernel: media: av7110: prevent underflow in write_ts_to_decoder()
Summary: CVE-2023-54284 kernel: media: av7110: prevent underflow in write_ts_to_decoder()
Keywords:
Status: NEW
Alias: CVE-2023-54284
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:02 UTC by OSIDB Bzimport
Modified: 2025-12-31 15:43 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:02:13 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.