CVE Database›Document archive›CVE-2023-52988

CVE-2023-52988

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

Loading…

Severity

Moderate

Red Hat Product Security

6.7

CVSS 3.1

Review impact separately from score.

Published · March 27, 2025

Updated · October 17, 2026

Description

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.

Statement

Red Hat rated this vulnerability with a MODERATE impact because an attacker would need access to load/manipulate ALSA codec data, which requires elevated privileges.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CWE-129 · Improper Validation of Array Index