Re: [PATCH] powerpc/lib: Validate size for vector operations
From: Michael Ellerman <hidden>
Date: 2023-12-07 12:53:31
From: Michael Ellerman <hidden>
Date: 2023-12-07 12:53:31
On Thu, 23 Nov 2023 12:47:05 +0530, Naveen N Rao wrote:
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. [...]
Applied to powerpc/next.
[1/1] powerpc/lib: Validate size for vector operations
https://git.kernel.org/powerpc/c/8f9abaa6d7de0a70fc68acaedce290c1f96e2e59
cheers