media: rkvdec: bound HEVC tile loops and PPS id to the array capacity
In the Linux kernel, the following vulnerability has been resolved: media: rkvdec: bound HEVC tile loops and PPS id to the array capacity compute_tiles_uniform() and compute_tiles_non_uniform() loop over num_tile_columns_minus1 + 1 / num_tile_rows_minus1 + 1 entries, and assemble_hw_pps() writes one COLUMN_WIDTH / ROW_HEIGHT register per tile and indexes priv_tbl->param_set[] by pic_parameter_set_id, all taken from the untrusted PPS. Use the bounded v4l2_hevc_pps_num_tile_columns() / v4l2_hevc_pps_num_tile_rows() helpers for the tile loops, and bail out of assemble_hw_pps() before indexing priv_tbl->param_set[] with an out-of-range pic_parameter_set_id, so the writes stay within the hardware tables.
CVE-2026-97580
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-97580
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3595375c2301653d5440d54b396df03499686c20",
"lessThan": "03beb248d8a7bab30559a60d4df81f167e63b9e3",
"versionType": "git"
},
{
"status": "affected",
"version": "3595375c2301653d5440d54b396df03499686c20",
"lessThan": "81ad46bb33d8fd279aaa33af5296c648814c964b",
"versionType": "git"
}
],
"programFiles": [
"drivers/media/platform/rockchip/rkvdec/rkvdec-hevc-common.c",
"drivers/media/platform/rockchip/rkvdec/rkvdec-hevc.c",
"drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu381-hevc.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.19"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.19",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/media/platform/rockchip/rkvdec/rkvdec-hevc-common.c",
"drivers/media/platform/rockchip/rkvdec/rkvdec-hevc.c",
"drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu381-hevc.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97580
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #38024 · Revision 1
- Added to Heist Feed
- Publisher date