CVE-2025-39930

ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai()

Published Apr 18, 2025 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai()

commit 419d1918105e ("ASoC: simple-card-utils: use __free(device_node) for
device node") uses __free(device_node) for dlc->of_node, but we need to
keep it while driver is in use.

Don't use __free(device_node) in graph_util_parse_dai().

Analysis

AI-generated

Technical impact

The vulnerability arises when the Linux kernel’s ASoC simple‑card utilities release a device node prematurely by calling __free(device_node) within graph_util_parse_dai(). This mismanagement of memory can lead to a use‑after‑free condition, potentially causing the kernel to crash or behave unpredictably, which in turn could be leveraged for denial of service or, in certain circumstances, by an attacker with local privileges to target kernel memory. The primary impact is a loss of availability and a risk of kernel memory corruption.

Affected Systems

All Linux kernel releases that include the ASoC simple‑card command utilities are potentially affected. The CVE does not list specific kernel versions or patches, so the vulnerability applies broadly to any build that contains the unpatched code path in graph_util_parse_dai(). It is not limited to a particular distribution or vendor beyond the Linux kernel itself.

Risk and Exploitability

With a CVSS score of 8.4 the vulnerability is considered high severity. The EPSS score of less than 1% indicates that the overall probability of exploitation is very low, and the vulnerability is not currently listed in CISA’s KEV catalog. The attack vector is likely local or requires privileged execution, so compromising the system is required for an attacker to exploit the flaw. Given the low exploitation probability and the availability of a patch, the risk to most users remains low, though a kernel crash would result in a denial of service for affected users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch commit 419d1918105e which removes the premature __free call in graph_util_parse_dai()
  • If your distribution has not yet released an updated kernel, apply the patch from the Linux kernel git repository and rebuild the kernel, ensuring all ASoC components use the patched code
  • If updating the kernel is not possible immediately, disable the ASoC module or any unused sound card components to reduce the attack surface.

Generated by OpenCVE AI on August 4, 2026 at 09:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-11815 In the Linux kernel, the following vulnerability has been resolved: ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai() commit 419d1918105e ("ASoC: simple-card-utils: use __free(device_node) for device node") uses __free(device_node) for dlc->of_node, but we need to keep it while driver is in use. Don't use __free(device_node) in graph_util_parse_dai().
Ubuntu USN Ubuntu USN USN-7594-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7594-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7594-3 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai() commit 419d1918105e ("ASoC: simple-card-utils: use __free(device_node) for device node") uses __free(device_node) for dlc->of_node, but we need to keep it while driver is in use. Don't use __free(device_node) in graph_util_parse_dai().
Title ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai()
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:06 PM
Reserved
Apr 16, 2025, 7:20 AM
Status
Modified
Published
Apr 18, 2025, 7:15 AM
Modified
Jul 30, 2026, 6:23 AM
Severity
Low
Public date
Apr 18, 2025, 12:00 AM