On Fri, Dec 13, 2024 at 11:44:22AM +0800, haixiao.yan...@eng.windriver.com
wrote:
> From: Nathan Lynch
>
> [ Upstream commit 0974d03eb479384466d828d65637814bee6b26d7 ]
>
Now deleted, please see:
https://lore.kernel.org/r/2024121322-conjuror-gap-b542@gregkh
for what you all need to do,
On Fri, Dec 13, 2024 at 11:44:22AM +0800, haixiao.yan...@eng.windriver.com
wrote:
> From: Nathan Lynch
>
> [ Upstream commit 0974d03eb479384466d828d65637814bee6b26d7 ]
>
> Smatch warns:
>
> arch/powerpc/kernel/rtas.c:1932 __do_sys_rtas() warn: potential
> spectre issue 'args.args' [r] (loc
From: Nathan Lynch
[ Upstream commit 0974d03eb479384466d828d65637814bee6b26d7 ]
Smatch warns:
arch/powerpc/kernel/rtas.c:1932 __do_sys_rtas() warn: potential
spectre issue 'args.args' [r] (local cap)
The 'nargs' and 'nret' locals come directly from a user-supplied
buffer and are used as in
On Thu, 30 May 2024 19:44:12 -0500, Nathan Lynch wrote:
> Smatch warns:
>
> arch/powerpc/kernel/rtas.c:1932 __do_sys_rtas() warn: potential
> spectre issue 'args.args' [r] (local cap)
>
> The 'nargs' and 'nret' locals come directly from a user-supplied
> buffer and are used as indexes into a
On Fri, May 31, 2024 at 11:45:48AM -0500, Nathan Lynch wrote:
> Breno Leitao writes:
>
> > On Thu, May 30, 2024 at 07:44:12PM -0500, Nathan Lynch via B4 Relay wrote:
> >> From: Nathan Lynch
> >> + nargs = array_index_nospec(nargs, ARRAY_SIZE(args.args));
> >> + nret = array_index_nospec(nret,
Breno Leitao writes:
> On Thu, May 30, 2024 at 07:44:12PM -0500, Nathan Lynch via B4 Relay wrote:
>> From: Nathan Lynch
>>
>> Smatch warns:
>>
>> arch/powerpc/kernel/rtas.c:1932 __do_sys_rtas() warn: potential
>> spectre issue 'args.args' [r] (local cap)
>>
>> The 'nargs' and 'nret' local
On Thu, May 30, 2024 at 07:44:12PM -0500, Nathan Lynch via B4 Relay wrote:
> From: Nathan Lynch
>
> Smatch warns:
>
> arch/powerpc/kernel/rtas.c:1932 __do_sys_rtas() warn: potential
> spectre issue 'args.args' [r] (local cap)
>
> The 'nargs' and 'nret' locals come directly from a user-suppl
From: Nathan Lynch
Smatch warns:
arch/powerpc/kernel/rtas.c:1932 __do_sys_rtas() warn: potential
spectre issue 'args.args' [r] (local cap)
The 'nargs' and 'nret' locals come directly from a user-supplied
buffer and are used as indexes into a small stack-based array and as
inputs to copy_to_