All reports
Medium

kernel: ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-52988

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path() 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.

A vulnerability was found in the Linux kernel's ALSA subsystem in the add_secret_dac_path() function, where improper array handling can lead to out-of-bounds access. This occurs if the return value of the call to snd_hda_get_connections() returns an error code (a negative number), which is stored in the variable nums that is then used as the upper bound of a for loop used to access the conn structure. This issue could lead to undefined behavior or a memory crash due to invalid memory access.