Linux
x86/fred: Correct speculative safety in fred_extint()
In the Linux kernel, the following vulnerability has been resolved: x86/fred: Correct speculative safety in fred_extint() array_index_nospec() is no use if the result gets spilled to the stack, as it makes the believed safe-under-speculation value subject to memory predictions. For all practical purposes, this means array_index_nospec() must be used in the expression that accesses the array. As the code currently stands, it's the wrong side of irqentry_enter(), and 'index' is put into %ebp across the function call. Remove the index variable and reposition array_index_nospec(), so it's calculated immediately before the array access.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 14619d912b658ecd9573fb88400d3830a29cadcb, < 3bc5887b0a2b06d2d9c22f1f4f8500490b3ae643
- >= 14619d912b658ecd9573fb88400d3830a29cadcb, < e58f1a9b0677de24dcfee0b21393446ec92ff120
- >= 14619d912b658ecd9573fb88400d3830a29cadcb, < 92caa5274b99cb6729177232a029ce0dfa6c5f7b
- >= 14619d912b658ecd9573fb88400d3830a29cadcb, < aa280a08e7d8fae58557acc345b36b3dc329d595
Fixed in 3bc5887b0a2b06d2d9c22f1f4f8500490b3ae643, e58f1a9b0677de24dcfee0b21393446ec92ff120, 92caa5274b99cb6729177232a029ce0dfa6c5f7b, aa280a08e7d8fae58557acc345b36b3dc329d595
- 6.9
Fixed in 0, 6.12.77, 6.18.17, 6.19.7, 7.0
Mitigation
Upgrade Linux to 3bc5887b0a2b06d2d9c22f1f4f8500490b3ae643 or e58f1a9b0677de24dcfee0b21393446ec92ff120 or 92caa5274b99cb6729177232a029ce0dfa6c5f7b or aa280a08e7d8fae58557acc345b36b3dc329d595 or later.
Upgrade Linux to 0 or 6.12.77 or 6.18.17 or 6.19.7 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.