Re: [PATCH] ALSA: rme9652: Fix potential Spectre v1 vulnerability

2018-12-19 Thread Takashi Iwai
On Tue, 18 Dec 2018 18:18:34 +0100, Gustavo A. R. Silva wrote: > > info->channel is indirectly controlled by user-space, hence leading to > a potential exploitation of the Spectre variant 1 vulnerability. > > This issue was detected with the help of Smatch: > > sound/pci/rme9652/hdsp.c:4100 sn

[PATCH] ALSA: rme9652: Fix potential Spectre v1 vulnerability

2018-12-18 Thread Gustavo A. R. Silva
info->channel is indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: sound/pci/rme9652/hdsp.c:4100 snd_hdsp_channel_info() warn: potential spectre issue 'hdsp->channel_map' [r] (lo