LoongArch: Add spectre boundry for syscall dispatch table
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ be769645a2aef577f07afdcb4de8fad20b6d57c0 · < 0c965d2784fbbd7f8e3b96d875c9cfdf7c00da3d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Add spectre boundry for syscall dispatch table
The LoongArch syscall number is directly controlled by userspace, but does not have a array_index_nospec() boundry to prevent access past the syscall function pointer tables.
From the CVE record · Linux
The Linux kernel's LoongArch syscall dispatch table lacks a Spectre boundary check for syscall numbers controlled by userspace. A local user can supply a syscall number that may lead to speculative access past the syscall function pointer table; the input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels on LoongArch should check their kernel versions against the vendor advisory; affected versions are not specified.