CVE-2026-99880: ALSA: hda: Reject codec reset on ASoC (ext_ops) buses
In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: Reject codec reset on ASoC (extops) buses
Writing to the reconfig or clear sysfs nodes of a codec handled by ASoC (SOF via hdachda, AVS via codecs/hda) hangs the writer.
sndhdacodecreset() sets card->shutdown and calls devicereleasedriver(). With extops the driver unbind unregisters the ASoC component, which unbinds and frees the whole ASoC card: - sndcarddisconnect() returns early as card->shutdown is already set, so the card's child devices are not removed and sndcardfree() waits for the card release forever. - Even without that, freeing the card removes the codec's hwdep device, which owns the sysfs node the reset was issued from, deadlocking in kernfs while waiting for the active write to finish.
The legacy HDA driver keeps the card across a driver rebind, ASoC does not, so the reset cannot be supported there. Return -EOPNOTSUPP and skip the misleading "codec is being used" messages in the callers.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to the hang?
Systems using an ASoC-managed HDA codec through ext_ops are affected, including SOF via hdac_hda and AVS via codecs/hda. The issue is specific to codec reset requests made through the codec's reconfig or clear sysfs nodes.
What is required to trigger the issue?
A local actor must write to the reconfig or clear sysfs node for a codec handled by ASoC. This causes the writer to hang while driver unbinding attempts to free the ASoC card and its sysfs-owning hwdep device.
Is the legacy HDA driver affected in the same way?
No. The legacy HDA driver retains the card across a driver rebind, whereas the ASoC path does not, making codec reset unsupported on ASoC ext_ops buses.
What behavior should be expected after the fix?
Codec reset requests through these sysfs paths on ASoC ext_ops buses are rejected with -EOPNOTSUPP. Callers also no longer emit misleading messages claiming that the codec is in use.