Linux
drm/panthor: validate firmware interface structure sizes
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2718d91816eeed03c09c8abe872e45f59078768c, < 21c77486f5a60bb9c0433c21de62a5f25d5091f1
- >= 2718d91816eeed03c09c8abe872e45f59078768c, < c835f2b0b7167584832b516c9b0a26e9180d1d0b
- >= 2718d91816eeed03c09c8abe872e45f59078768c, < ca41d9f3a21586bf29df53eec05152ecf2b2f94f
- >= 2718d91816eeed03c09c8abe872e45f59078768c, < b921b8613790a3f9e78ab64017fa7149ef0b750c
Fixed in 21c77486f5a60bb9c0433c21de62a5f25d5091f1, c835f2b0b7167584832b516c9b0a26e9180d1d0b, ca41d9f3a21586bf29df53eec05152ecf2b2f94f, b921b8613790a3f9e78ab64017fa7149ef0b750c
- 6.10
Fixed in 0, 6.12.103, 6.18.44, 7.1.8, 7.2
Mitigation
Upgrade Linux to 21c77486f5a60bb9c0433c21de62a5f25d5091f1 or c835f2b0b7167584832b516c9b0a26e9180d1d0b or ca41d9f3a21586bf29df53eec05152ecf2b2f94f or b921b8613790a3f9e78ab64017fa7149ef0b750c or later.
Upgrade Linux to 0 or 6.12.103 or 6.18.44 or 7.1.8 or 7.2 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.