drm/panthor: validate firmware interface structure sizes
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: validate firmware interface structure sizes
iface_fw_to_cpu_addr() only checks that the firmware-provided MCU virtual address points inside the shared section. The returned pointer is later used as a full firmware interface structure, so accepting an address near the end of the shared section can still lead to out-of-bounds accesses.
Pass the expected object size to iface_fw_to_cpu_addr() and reject ranges that do not fit entirely in the shared section.
From the CVE record · Linux
The Linux kernel’s drm/panthor driver checks that a firmware-provided address starts inside a shared section, but not that the full firmware interface structure fits there. This can lead to out-of-bounds accesses. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with the drm/panthor driver should check their versions; affected versions are not specified.