media: cedrus: skip invalid H.264 reference list entries
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.10
References 8
git.kernel.org
- stable/c/a6a109771c51920beb620f30778c29da823cc34c
- stable/c/7ff6f728a2433b420bb372cb0e8a4eea3f2e1a4b
- stable/c/1db34683b0fbbcb3bc162380c11514ea0a44e8ab
- stable/c/2ee8327c85b3ac7b532d2d6a1e3a295d5ad7414a
- stable/c/0af8945fcae742d099f59f3c725eb67235953a31
- stable/c/9924cb548ee7753a6473997949c3ec48092de0b0
- stable/c/e53112c2de88982e66c369aee2120d5efd78df30
- stable/c/10358ea986c3c85516d1c8206486464f79d36e76