powerpc/lib: Validate size for vector operations
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c22435a5f3d8f85ea162ae523a6ba60a58521ba5 · < 28b8ba8eebf26f66d9f2df4ba550b6b3b136082c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
powerpc/lib: Validate size for vector operations
Some of the fp/vmx code in sstep.c assume a certain maximum size for the instructions being emulated. The size of those operations however is determined separately in analyse_instr().
Add a check to validate the assumption on the maximum size of the operations, so as to prevent any unintended kernel stack corruption.
From the CVE record · Linux
The Linux kernel’s powerpc fp/vmx emulation code assumes a maximum operation size that is determined separately during instruction analysis. An operation exceeding that assumed size could cause unintended kernel stack corruption. The input does not establish an attack route, authentication requirement, or user-interaction requirement.
Engineers running Linux kernels with the affected powerpc fp/vmx emulation code should check their versions; no affected versions are specified.