CVE-2026-89825: drm/panthor: fix firmware control interface bounds checks
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: fix firmware control interface bounds checks
panthorinitcsiface() and panthorinitcsgiface() validate firmware control interface offsets with 32-bit arithmetic and the size of the host wrapper structures. The offsets are derived from firmware-provided strides, so the arithmetic can wrap before the bounds check, and the host wrapper size is not the size of the firmware control interface being mapped.
Use 64-bit arithmetic for the computed offsets and validate against the actual firmware control interface structure sizes with subtraction-based bounds checks. Also validate that the shared section is large enough for the global control interface before using it.
Affected Software
Event History
Frequently Asked Questions
What data can trigger the incorrect bounds validation?
The affected offset calculations use strides supplied by firmware. With 32-bit arithmetic, those computed offsets can wrap before the bounds check is performed.
What checks does the resolved code add?
It calculates offsets using 64-bit arithmetic and uses subtraction-based bounds checks against the actual firmware control-interface structure sizes. It also verifies that the shared section is large enough for the global control interface before accessing it.