Linux
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 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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2718d91816eeed03c09c8abe872e45f59078768c, < 33ae55809aee9b4dca1d00cdee35b527f2bf8626
- >= 2718d91816eeed03c09c8abe872e45f59078768c, < 80c9528661c774f899281c9a72011208ff39929e
- >= 2718d91816eeed03c09c8abe872e45f59078768c, < 3e5c7cddc0073eef6f9bb373189b11a969f1f6f6
- >= 2718d91816eeed03c09c8abe872e45f59078768c, < 6a47f9fd2d970674ed9dedc52fc7ab76fd015785
Fixed in 33ae55809aee9b4dca1d00cdee35b527f2bf8626, 80c9528661c774f899281c9a72011208ff39929e, 3e5c7cddc0073eef6f9bb373189b11a969f1f6f6, 6a47f9fd2d970674ed9dedc52fc7ab76fd015785
- 6.10
Fixed in 0, 6.12.110, 6.18.51, 7.2.5, 7.3
Mitigation
Upgrade Linux to 33ae55809aee9b4dca1d00cdee35b527f2bf8626 or 80c9528661c774f899281c9a72011208ff39929e or 3e5c7cddc0073eef6f9bb373189b11a969f1f6f6 or 6a47f9fd2d970674ed9dedc52fc7ab76fd015785 or later.
Upgrade Linux to 0 or 6.12.110 or 6.18.51 or 7.2.5 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.