Descrição
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.
EPSS 0.189%Risco 0
Ver fonte- Publicação
- 2026-08-15 06:21:54
- Versões afetadas
- unknown
- Tipo
- Kernel
- Última alteração
- 2026-08-17 06:18:28
- Vetor
- Pending