[alsa-devel] [PATCH 1/2] ALSA: hda: hdmi - fix kernel oops caused by invalid PCM idx

Takashi Iwai tiwai at suse.de
Fri Nov 29 15:43:54 CET 2019


On Fri, 29 Nov 2019 15:37:55 +0100,
Kai Vehmanen wrote:
> 
> Add additional check in hdmi_find_pcm_slot() to not return
> a pcm index that points to unallocated pcm. This could happen
> if codec driver is set up in codec->mst_no_extra_pcms mode.
> On some platforms, this leads to a kernel oops in snd_ctl_notify(),
> called via update_eld().
> 
> BugLink: https://github.com/thesofproject/linux/issues/1536
> Fixes: 5398e94fb753 ALSA: hda - Add DP-MST support for NVIDIA codecs
> Signed-off-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list