CVE-2026-72263

ASoC: SOF: topology: fix memory leak in snd_sof_load_topology

Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 99c159279c6dfa2c4867c7f76875f58263f8f43b < 6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8 ; affected 99c159279c6dfa2c4867c7f76875f58263f8f43b < d46f9f23897261da53ffbeb89d48a13982ba7d28
Linux · Linuxaffected 6.19 ; unaffected 0 < 6.19 ; unaffected 7.1.5 ≤ 7.1.* ; unaffected 7.2 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD