Linux
accel: ethosu: Fix element size accounting for cmd stream validation
In the Linux kernel, the following vulnerability has been resolved: accel: ethosu: Fix element size accounting for cmd stream validation There are 2 issues with the element size handling in the command stream validation which result in too small of a size calculated when the element size is 16/32/64 bits. For NHWC format, the element size is simply missing from the calculation. The bitfield for the element size is different between IFM/IFM2 and OFM. IFM and IFM2 encode the precision in parameter bits 2:3, while OFM uses bits 1:2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, < b4ae748f8e6cb65bb86e5a281bbb5b5e5f106527
- >= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, < 18a551482a4a326790698b273e76d7575a51a57d
Fixed in b4ae748f8e6cb65bb86e5a281bbb5b5e5f106527, 18a551482a4a326790698b273e76d7575a51a57d
- 6.19
Fixed in 0, 7.1.6, 7.2
Mitigation
Upgrade Linux to b4ae748f8e6cb65bb86e5a281bbb5b5e5f106527 or 18a551482a4a326790698b273e76d7575a51a57d or later.
Upgrade Linux to 0 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.