KernelScan.io

HIGH

sof-audio WidgetSetup DoubleFree

CVE-2026-80911

CVSS 7.8 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

01

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: sof-audio: Fix error path in sof_widget_setup_unlocked() If either tplg_ops->dai_config or widget_kcontrol_setup fail during widget setup we would double decrement the use_count of the widget because the sof_widget_free_unlocked() would be called twice, similarly the core_put would be invoked twice as well. Since the use_count and core_put() is handled within the widget_free function we need to return without falling through the pipe_widget_free label. The fixes tag is picked to the last change around this part of the code which is adequately old enough for backporting purposes.

02

Engine v0.6.0

Risk summary

A local user with access to the SOF audio subsystem can trigger a double-free of widget resources during widget setup error handling, causing a kernel crash or denial of service. The vulnerability requires the SOF audio driver to be loaded and a capable audio device to be present.

Affectedsound/soc/sof/sof-audio.c (ASoC SOF audio)

Vulnerability analysis

When the SOF audio driver sets up a widget, if a configuration step fails, the error handling cleans up the widget but then incorrectly continues into additional cleanup logic. This causes reference-counted resources to be released twice, corrupting kernel memory and crashing the system. The fix stops the error path after the first cleanup so it no longer runs the redundant release steps. A local user who can access the audio subsystem can trigger this path, provided the SOF driver and compatible hardware are present.

03

BranchIntroducedFixed inPatch commit
6.66.6.136.6.153b270ed327380
6.12—6.12.105c06995637f6a
7.1—7.1.10d48691e70d4a
6.18—6.18.468cba53b862e1
mainline—7.2e780e4917d43
cip/6.12—6.12.108-cip31c06995637f6a