← CVE Intelligence

CVE-2026-89825

drm/panthor: fix firmware control interface bounds checks PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: drm/panthor: fix firmware control interface bounds checks panthor_init_cs_iface() and panthor_init_csg_iface() 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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 2718d91816eeed03c09c8abe872e45f59078768c before 33ae55809aee9b4dca1d00cdee35b527f2bf8626; affected 2718d91816eeed03c09c8abe872e45f59078768c before 80c9528661c774f899281c9a72011208ff39929e; affected 2718d91816eeed03c09c8abe872e45f59078768c before 3e5c7cddc0073eef6f9bb373189b11a969f1f6f6; affected 2718d91816eeed03c09c8abe872e45f59078768c before 6a47f9fd2d970674ed9dedc52fc7ab76fd015785
Linux / Linuxaffected 6.10; unaffected 0 before 6.10; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References