CVE-2026-89882
published high CVSS 3.1 · 7.8media: rkvdec: hevc: guard INTER_REF_PIC_SET_PRED index underflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc9a59dc2acc72789d5c778af080d1e65af84862c to < 74938f83a8abbee8f502dfb5d94213b2497d1edf · c9a59dc2acc72789d5c778af080d1e65af84862c to < 052c5ed5a1d96a6b24fd50ccda16fc6841ee7ca3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.2.5 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.2.7-1.1 | OPENSUSE-SU-2026:11880-1 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-fde-7.0 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-cloud-tools-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-headers-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-tools-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-42-generic-64k | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-headers-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-headers-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-headers-7.0.0-42-generic-64k | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-42 | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-42 | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-42 | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-image-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-42-generic-64k | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-modules-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-modules-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-modules-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-modules-7.0.0-42-generic-64k | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: media: rkvdec: hevc: guard INTER_REF_PIC_SET_PRED index underflow st_ref_pic_set_prediction() computes the reference RPS index as st_rps_idx - (delta_idx_minus1 + 1) per HEVC spec equation 7-59. Both operands are u8, so when delta_idx_minus1 + 1 exceeds the current index the subtraction wraps and the subsequent array access at calculated_rps_st_sets[ref_rps_idx] reads far out of bounds. A userspace V4L2 client that can open the RKVDEC m2m decoder can submit an EXT_SPS_ST_RPS control with INTER_REF_PIC_SET_PRED set and delta_idx_minus1 crafted to trigger the underflow. Reject the entry early when the reference index would underflow.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The EXT_SPS_ST_RPS control is applied only via VIDIOC_S_EXT_CTRLS or a media request on the local rkvdec V4L2 m2m node (/dev/videoN), then consumed in rkvdec_hevc_run after QBUF/STREAMON. The HEVC RPS parser is not reachable from the network stack. AC:L - The attacker sets INTER_REF_PIC_SET_PRED and a delta_idx_minus1 that makes the u8 index wrap (e.g. idx=0 and delta_idx_minus1=0 yields ref_rps_idx=255). v4l2-ctrls never validates delta_idx_minus1 and try_ctrl only checks SPS, so the out-of-bounds access is deterministic with no race. PR:L - rkvdec_open and the ioctl path perform no capability check. An unprivileged local account that can open the decoder node is sufficient, typically via the video group or the Android/embedded media codec service that sandboxed apps can reach. UI:N - The attacking process itself opens the decoder, attaches a crafted EXT_SPS_ST_RPS control, queues buffers, and starts streaming. No separate victim action is required. S:U - The underflow corrupts kernel heap, stack, and the driver's DMA RPS table inside the same kernel security authority. This is local privilege escalation, not a VM escape, IOMMU bypass, or sandbox-boundary crossing. C:H - A wrapped u8 ref_rps_idx indexes calculated_rps_st_sets tens of kilobytes past the kzalloc allocation (up to 255 * sizeof(struct calculated_rps_st_set)). Those out-of-bounds bytes become loop bounds and are copied into the hardware RPS table, giving an attacker-steerable kernel memory read. I:H - Out-of-bounds num_delta_pocs overflows the 16-byte stack arrays use_delta_flag and used_by_curr_pic_flag, later loops write past st_rps->delta_poc_s0[16] on the heap, and assemble_hw_st_rps bit-writes rps->info with an unbounded index. That is an attacker-influenced kernel write usable for control-flow hijack. A:H - The far out-of-bounds pointer, stack smash, and DMA RPS-table overrun each cause a kernel oops, KASAN report, or wedged decoder, and the attacker can repeat the sequence at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c9a59dc2acc72789d5c778af080d1e65af84862c to < 74938f83a8abbee8f502dfb5d94213b2497d1edf (affected · git)c9a59dc2acc72789d5c778af080d1e65af84862c to < 052c5ed5a1d96a6b24fd50ccda16fc6841ee7ca3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.0 (affected)0 to < 7.0 (unaffected · semver)7.2.5 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
media: rkvdec: hevc: guard INTER_REF_PIC_SET_PRED index underflow
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a415b1ccdc4bda679e830f9c05b215163b1f5a0e247dfd52256d4cbe1543bd3b
- Ingested
- 19 Oct 2026, 09:08:15 UTC
- Source record
- Official CVE record