Linux
firmware: arm_ffa: Fix Endpoint Memory Access Descriptor offset calculation
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_ffa: Fix Endpoint Memory Access Descriptor offset calculation Use the descriptor's `ep_mem_offset` to calculate the start of the endpoint memory access array and to comply with the FF-A spec instead of defaulting to `sizeof(struct ffa_mem_region)`. This requires moving `ffa_mem_region_additional_setup()` earlier in the setup flow. Also, add sanity checks to ensure the calculated descriptor offsets do not exceed `max_fragsize`.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 113580530ee7dc61e668b641d657920734533b9f, < 6e902bea625b710f8bf2f40b4ae4b14fa6a33f13
- >= 113580530ee7dc61e668b641d657920734533b9f, < b39b08e6bee812514b449dc874076890e6b871a0
- >= 113580530ee7dc61e668b641d657920734533b9f, < 8ef18f0ab3c0ec1eac77289f5a542bd96a8a6d66
- >= 113580530ee7dc61e668b641d657920734533b9f, < b4d961351aa84fdf0148783fb1f3a1391b8a0adb
Fixed in 6e902bea625b710f8bf2f40b4ae4b14fa6a33f13, b39b08e6bee812514b449dc874076890e6b871a0, 8ef18f0ab3c0ec1eac77289f5a542bd96a8a6d66, b4d961351aa84fdf0148783fb1f3a1391b8a0adb
- 6.7
Fixed in 0, 6.12.114, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 6e902bea625b710f8bf2f40b4ae4b14fa6a33f13 or b39b08e6bee812514b449dc874076890e6b871a0 or 8ef18f0ab3c0ec1eac77289f5a542bd96a8a6d66 or b4d961351aa84fdf0148783fb1f3a1391b8a0adb or later.
Upgrade Linux to 0 or 6.12.114 or 6.18.42 or 7.1.6 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.