Re: [PATCH] staging: rtl8723bs: fix potential speculative cpu oob read

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.kernel-janitors,dev.linux.lists.linux-staging,org.kernel.vger.linux-kernel
Message-ID <2026042959-discourse-favorable-edc5@gregkh>
On Wed, Apr 29, 2026 at 01:10:16PM +0200, Linus Probert wrote:
> Fixes potential speculative cpu oob read in os_intfs.c by guarding the
> index with array_index_nospec.
> 
> Fixes smatch warning:
> warn: potential spectre issue 'rtw_1d_to_queue' [r]

Is this value controlled by a user?  Or is it just a normal operation
that happens that is not controlled?  In other words, can a user
manipulate this directly to be out of range?

thanks,

greg k-h
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.