{"id":"CVE-2026-89882","published":"2026-09-16T10:31:47Z","modified":"2026-10-19T08:54:15Z","title":"media: rkvdec: hevc: guard INTER_REF_PIC_SET_PRED index underflow","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rkvdec: hevc: guard INTER_REF_PIC_SET_PRED index underflow\n\nst_ref_pic_set_prediction() computes the reference RPS index as\nst_rps_idx - (delta_idx_minus1 + 1) per HEVC spec equation 7-59.\nBoth operands are u8, so when delta_idx_minus1 + 1 exceeds the\ncurrent index the subtraction wraps and the subsequent array access\nat calculated_rps_st_sets[ref_rps_idx] reads far out of bounds.\n\nA userspace V4L2 client that can open the RKVDEC m2m decoder can\nsubmit an EXT_SPS_ST_RPS control with INTER_REF_PIC_SET_PRED set\nand delta_idx_minus1 crafted to trigger the underflow.\n\nReject the entry early when the reference index would underflow.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00165,"percentile":0.05694,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/74938f83a8abbee8f502dfb5d94213b2497d1edf","tags":[]},{"url":"https://git.kernel.org/stable/c/052c5ed5a1d96a6b24fd50ccda16fc6841ee7ca3","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.14},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c9a59dc2acc72789d5c778af080d1e65af84862c, < 74938f83a8abbee8f502dfb5d94213b2497d1edf",">= c9a59dc2acc72789d5c778af080d1e65af84862c, < 052c5ed5a1d96a6b24fd50ccda16fc6841ee7ca3"]},{"vendor":"Linux","product":"Linux","versions":["7.0"]}],"euvd":{"id":"EUVD-2026-80482","exploited":false,"provenance":"source"}}