media: rkvdec: bound HEVC tile loops and PPS id to the array capacity
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 03beb248d8a7bab30559a60d4df81f167e63b9e3 and Kernel 81ad46bb33d8fd279aaa33af5296c648814c964b.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=3595375c2301653d5440d54b396df03499686c20 <03beb248d8a7bab30559a60d4df81f167e63b9e3, >=3595375c2301653d5440d54b396df03499686c20 <81ad46bb33d8fd279aaa33af5296c648814c964b | 03beb248d8a7bab30559a60d4df81f167e63b9e3, 81ad46bb33d8fd279aaa33af5296c648814c964b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket