CVE-2026-97581: media: verisilicon: hantro: bound G2 HEVC tile loop to the buffer capacity

Published Sep 25, 2026
·
Updated

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

media: verisilicon: hantro: bound G2 HEVC tile loop to the buffer capacity

preparetileinfobuffer() writes one entry per tile into the tilesizes DMA buffer, sized for a grid equal to the PPS uAPI array capacity. Use the bounded v4l2hevcppsnumtilecolumns() / v4l2hevcppsnumtilerows() helpers so the loops stay inside the buffer.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:22 AM
Data Sourced
via MITRE·10:22 AM
Description
Data Sourced
via NVD·11:17 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

The affected code path must process HEVC tile information through the Verisilicon Hantro G2 media driver. Exploitation requires tile column or row values that cause prepare_tile_info_buffer() to iterate beyond the tile_sizes DMA buffer capacity.

2

What is the impact of the missing bounds check?

prepare_tile_info_buffer() can write one tile entry per loop iteration into a DMA buffer sized only for the PPS uAPI array capacity. Tile counts exceeding that capacity can cause writes outside the allocated buffer.

3

How is the issue fixed?

The fix uses the bounded v4l2_hevc_pps_num_tile_columns() and v4l2_hevc_pps_num_tile_rows() helpers for the tile loops, keeping iterations within the tile_sizes DMA buffer capacity.

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