[PATCH 4.14 040/101] ALSA: pcm: Fix potential Spectre v1 vulnerability