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.
https://git.kernel.org/stable/c/80c9528661c774f899281c9a72011208ff39929e
https://git.kernel.org/stable/c/6a47f9fd2d970674ed9dedc52fc7ab76fd015785
https://git.kernel.org/stable/c/3e5c7cddc0073eef6f9bb373189b11a969f1f6f6
https://git.kernel.org/stable/c/33ae55809aee9b4dca1d00cdee35b527f2bf8626