[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87wn5irf55.wl-tiwai@suse.de>
Date: Thu, 19 Jan 2023 11:29:42 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Artemii Karasev <karasev@...ras.ru>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Xiang wangx <wangxiang@...rlc.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: Re: [PATCH] ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
On Thu, 19 Jan 2023 09:22:59 +0100,
Artemii Karasev wrote:
>
> snd_hda_get_connections() can return a negative error code.
> It may lead to accessing 'conn' array at a negative index.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Artemii Karasev <karasev@...ras.ru>
> Fixes: 30b4503378c9 ("ALSA: hda - Expose secret DAC-AA connection of some VIA codecs")
Thanks, applied.
Takashi
Powered by blists - more mailing lists