CVE-2026-68229 PUBLISHED

media: cedrus: skip invalid H.264 reference list entries

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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

media: cedrus: skip invalid H.264 reference list entries

Cedrus consumes H.264 ref_pic_list0/ref_pic_list1 entries from the stateless slice control and later uses their indices to look up decode->dpb[] in _cedrus_write_ref_list().

Rejecting such controls in cedrus_try_ctrl() would break existing userspace, since stateless H.264 reference lists may legitimately carry out-of-range indices for missing references. Instead, guard the actual DPB lookup in Cedrus and skip entries whose indices do not fit the fixed V4L2_H264_NUM_DPB_ENTRIES array.

This keeps the fix local to the driver use site and avoids out-of-bounds reads from malformed or unsupported reference list entries.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c to 2ee8327c85b3ac7b532d2d6a1e3a295d5ad7414a (excl.)
  • affected from e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c to 0af8945fcae742d099f59f3c725eb67235953a31 (excl.)
  • affected from e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c to 9924cb548ee7753a6473997949c3ec48092de0b0 (excl.)
  • affected from e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c to e53112c2de88982e66c369aee2120d5efd78df30 (excl.)
  • affected from e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c to 10358ea986c3c85516d1c8206486464f79d36e76 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.10 is affected
  • unaffected from 0 to 5.10 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References