Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
2718d91816eeed03c09c8abe872e45f59078768c to < 33ae55809aee9b4dca1d00cdee35b527f2bf8626affected2718d91816eeed03c09c8abe872e45f59078768c to < 80c9528661c774f899281c9a72011208ff39929eaffected2718d91816eeed03c09c8abe872e45f59078768c to < 3e5c7cddc0073eef6f9bb373189b11a969f1f6f6affected2718d91816eeed03c09c8abe872e45f59078768c to < 6a47f9fd2d970674ed9dedc52fc7ab76fd015785affected
Linux Linux
Default version status: affected
6.10affected0 to < 6.10unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected