CVE-2026-89882: media: rkvdec: hevc: guard INTER_REF_PIC_SET_PRED index underflow

Published Sep 16, 2026
·
Updated

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

media: rkvdec: hevc: guard INTERREFPICSETPRED index underflow

strefpicsetprediction() computes the reference RPS index as strpsidx - (deltaidxminus1 + 1) per HEVC spec equation 7-59. Both operands are u8, so when deltaidxminus1 + 1 exceeds the current index the subtraction wraps and the subsequent array access at calculatedrpsstsets[refrpsidx] reads far out of bounds.

A userspace V4L2 client that can open the RKVDEC m2m decoder can submit an EXTSPSSTRPS control with INTERREFPICSETPRED set and deltaidxminus1 crafted to trigger the underflow.

Reject the entry early when the reference index would underflow.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description

Frequently Asked Questions

1

Who can trigger this issue?

A userspace V4L2 client that can open the RKVDEC mem-to-mem decoder can trigger it. Systems without access to that decoder are not described as exposed.

2

What input is required to reach the vulnerable path?

The client must submit an EXT_SPS_ST_RPS control with INTER_REF_PIC_SET_PRED set and a crafted delta_idx_minus1 value that makes the calculated reference RPS index underflow.

3

What does the fix do?

The fix rejects the entry early when the calculated reference index would underflow, preventing the subsequent out-of-bounds access to the calculated RPS array.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203