CVE-2025-38307
kernel: ASoC: Intel: avs: Verify content returned by parse_int_array()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 10, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
ASoC: Intel: avs: Verify content returned by parse_int_array()
The first element of the returned array stores its length. If it is 0, any manipulation beyond the element at index 0 ends with null-ptr-deref.
Statement
In the Intel ASoC avs debugfs interface, the trace_control_write() handler fails to validate the parsed input array from parse_int_array(). If the array length is 0, accessing array[1] results in a NULL pointer dereference, potentially leading to a kernel panic. This issue is limited to systems with debugfs enabled and accessible, typically requiring root 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
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-129 · Improper Validation of Array Index