CVE-2026-89826: drm/panthor: harden firmware build-info bounds checks

Published Sep 16, 2026
·
Updated

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

drm/panthor: harden firmware build-info bounds checks

panthorfwreadbuildinfo() checks whether the metadata range fits in the firmware image with hdr.metastart + hdr.metasize. Both fields are u32, so the addition can wrap and let an out-of-bounds range pass validation.

The function also reads the "gitsha: " prefix without first checking that the metadata is long enough, and metasize == 0 can underflow the NULL terminator index.

Use subtraction-based bounds checking and reject metadata that is too short to contain the expected prefix and trailing NULL byte.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:30 AM
Data Sourced
via MITRE·10:30 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the vulnerable parsing path?

The issue is reached when panthor_fw_read_build_info() processes firmware build metadata. A malformed firmware image can use a metadata start and size whose 32-bit sum wraps, or provide metadata that is too short for the expected "git_sha: " prefix and trailing NULL byte.

2

How can I determine whether a firmware image is malformed in the affected ways?

Check whether meta_start plus meta_size would exceed the firmware image bounds when calculated without 32-bit overflow. Also reject metadata shorter than the expected "git_sha: " prefix plus a trailing NULL byte, including metadata with a size of zero.

3

What mitigation is available if the kernel update cannot be applied immediately?

Avoid loading or processing untrusted firmware images with malformed build metadata. Validate metadata ranges using subtraction-based bounds checks and require sufficient metadata length before reading the prefix or indexing a terminating NULL byte.

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