Linux
net: ipa: fix event ring index not programmed for IPA v5.0+
In the Linux kernel, the following vulnerability has been resolved: net: ipa: fix event ring index not programmed for IPA v5.0+ For IPA v5.0+, the event ring index field moved from CH_C_CNTXT_0 to CH_C_CNTXT_1. The v5.0 register definition intended to define this field in the CH_C_CNTXT_1 fmask array but used the old identifier of ERINDEX instead of CH_ERINDEX. Without a valid event ring, GSI channels could never signal transfer completions. This caused gsi_channel_trans_quiesce() to block forever in wait_for_completion(). At least for IPA v5.2 this resolves an issue seen where runtime suspend, system suspend, and remoteproc stop all hanged forever. It also meant the IPA data path was completely non functional.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= faf0678ec8a0aa9039d8b188d012206abd67dd5c, < ae8343a19ccb051d519dbb3a9082ddea9f0551d3
- >= faf0678ec8a0aa9039d8b188d012206abd67dd5c, < 2bf18b643c4656413f7cfd5615af60a6b4e261da
- >= faf0678ec8a0aa9039d8b188d012206abd67dd5c, < 2d2dc166d55148cfcf8ae67b415f8d6d110e6fca
- >= faf0678ec8a0aa9039d8b188d012206abd67dd5c, < 34c988bb04cbdf093d2134e179433da49ffcd044
- >= faf0678ec8a0aa9039d8b188d012206abd67dd5c, < 56007972c0b1e783ca714d6f1f4d6e66e531d21f
Fixed in ae8343a19ccb051d519dbb3a9082ddea9f0551d3, 2bf18b643c4656413f7cfd5615af60a6b4e261da, 2d2dc166d55148cfcf8ae67b415f8d6d110e6fca, 34c988bb04cbdf093d2134e179433da49ffcd044, 56007972c0b1e783ca714d6f1f4d6e66e531d21f
- 6.4
Fixed in 0, 6.6.136, 6.12.83, 6.18.24, 6.19.14, 7.0
Mitigation
Upgrade Linux to ae8343a19ccb051d519dbb3a9082ddea9f0551d3 or 2bf18b643c4656413f7cfd5615af60a6b4e261da or 2d2dc166d55148cfcf8ae67b415f8d6d110e6fca or 34c988bb04cbdf093d2134e179433da49ffcd044 or 56007972c0b1e783ca714d6f1f4d6e66e531d21f or later.
Upgrade Linux to 0 or 6.6.136 or 6.12.83 or 6.18.24 or 6.19.14 or 7.0 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.