Linux
riscv: Sanitize syscall table indexing under speculation
In the Linux kernel, the following vulnerability has been resolved: riscv: Sanitize syscall table indexing under speculation The syscall number is a user-controlled value used to index into the syscall table. Use array_index_nospec() to clamp this value after the bounds check to prevent speculative out-of-bounds access and subsequent data leakage via cache side channels.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f0bddf50586da81360627a772be0e355b62f071e, < 33743ec6679aa364ee19d1afbaa50593e9e6e443
- >= f0bddf50586da81360627a772be0e355b62f071e, < c45848936ebdb4fcab92f8c39510db83c16d0239
- >= f0bddf50586da81360627a772be0e355b62f071e, < 8b44e753795107a22ba31495686e83f4aca48f36
- >= f0bddf50586da81360627a772be0e355b62f071e, < 25fd7ee7bf58ac3ec7be3c9f82ceff153451946c
Fixed in 33743ec6679aa364ee19d1afbaa50593e9e6e443, c45848936ebdb4fcab92f8c39510db83c16d0239, 8b44e753795107a22ba31495686e83f4aca48f36, 25fd7ee7bf58ac3ec7be3c9f82ceff153451946c
- 6.4
Fixed in 0, 6.6.130, 6.12.70, 6.18.10, 6.19
Mitigation
Upgrade Linux to 33743ec6679aa364ee19d1afbaa50593e9e6e443 or c45848936ebdb4fcab92f8c39510db83c16d0239 or 8b44e753795107a22ba31495686e83f4aca48f36 or 25fd7ee7bf58ac3ec7be3c9f82ceff153451946c or later.
Upgrade Linux to 0 or 6.6.130 or 6.12.70 or 6.18.10 or 6.19 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.