Linux
accel: ethosu: Ensure SRAM region size matches job
In the Linux kernel, the following vulnerability has been resolved: accel: ethosu: Ensure SRAM region size matches job It is possible for userspace to set the job SRAM size to 0, but then still have SRAM accesses in the command stream. When the job SRAM size is 0, setting the region base register is skipped and a stale base address from a prior job is used. Check the region size against the job's SRAM size instead of just the size of the SRAM. The job's SRAM size was already checked against the total SRAM size.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9cff90774872ed6613b7571ce018b5b455d86890, < 50c27d412fedc95b8d54d477af47451a382e8cdd
- >= 9cff90774872ed6613b7571ce018b5b455d86890, < 2b39d680c9e0fb4d625f2916980977622e84248c
Fixed in 50c27d412fedc95b8d54d477af47451a382e8cdd, 2b39d680c9e0fb4d625f2916980977622e84248c
- 7.2
Fixed in 0, 7.2.7, 7.3
Mitigation
Upgrade Linux to 50c27d412fedc95b8d54d477af47451a382e8cdd or 2b39d680c9e0fb4d625f2916980977622e84248c or later.
Upgrade Linux to 0 or 7.2.7 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.