CVE-2026-72263

ASoC: SOF: topology: fix memory leak in snd_sof_load_topology

Published Aug 15, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: topology: fix memory leak in snd_sof_load_topology

When the topology filename contains "dummy" and tplg_cnt is 0, the
function returns -EINVAL directly without freeing the tplg_files
allocated by kcalloc() at line 2497. This leaks memory on every
such topology load attempt.

Fix this by setting ret = -EINVAL and jumping to the out: label,
which already handles the kfree(tplg_files) cleanup.

Analysis

AI-generated

Technical impact

A memory leak in the ASoC SOF topology loader of the Linux kernel arises from an improperly handled error condition, a CWE-772 weakness that occurs when the function returns –EINVAL without freeing previously allocated tplg_files. The loader will leak memory each time a topology file containing the string "dummy" is loaded when the template count is zero. Repeated load attempts may consume additional memory until the system exhausts its RAM, resulting in a denial‑of‑service via memory exhaustion.

Affected Systems

All Linux kernel builds that contain the original snd_sof_load_topology implementation prior to commit 6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8 (and earlier references d46f9f23897261da53ffbeb89d48a13982ba7d28) are vulnerable. Any distribution or custom kernel lacking the memory‑cleanup patch is affected.

Risk and Exploitability

The EPSS score is less than 1% indicating a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 5.5 classifies it as moderate severity. Exploitation requires a local or privileged process capable of triggering topology loading; repeated use could lead to memory exhaustion, but the overall risk remains low due to the low exploitation probability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates commit 6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8 or later or apply the patch manually.
  • Limit topology‑loading operations to trusted users or services to reduce the opportunity for local exploitation.
  • After upgrading or patching, monitor system memory usage to ensure that repeated topology loads no longer cause progressive memory growth.

Generated by OpenCVE AI on August 18, 2026 at 20:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-772
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
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: topology: fix memory leak in snd_sof_load_topology When the topology filename contains "dummy" and tplg_cnt is 0, the function returns -EINVAL directly without freeing the tplg_files allocated by kcalloc() at line 2497. This leaks memory on every such topology load attempt. Fix this by setting ret = -EINVAL and jumping to the out: label, which already handles the kfree(tplg_files) cleanup.
Title ASoC: SOF: topology: fix memory leak in snd_sof_load_topology
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:11 AM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:21 AM
Modified
Aug 17, 2026, 6:18 AM
Severity
Low
Public date
Aug 15, 2026, 12:00 AM