ALSA: hda: Reject codec reset on ASoC (ext_ops) buses

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: Reject codec reset on ASoC (ext_ops) buses

Writing to the reconfig or clear sysfs nodes of a codec handled by ASoC (SOF via hdac_hda, AVS via codecs/hda) hangs the writer.

snd_hda_codec_reset() sets card->shutdown and calls device_release_driver(). With ext_ops the driver unbind unregisters the ASoC component, which unbinds and frees the whole ASoC card: - snd_card_disconnect() returns early as card->shutdown is already set, so the card's child devices are not removed and snd_card_free() 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.

ProductVersions
Linux Linux6bae5ea9498926440ffc883f3dbceb0adc65e492 to before bdf82e1e3f592ddb311736801a546d9489be6489 Affected6bae5ea9498926440ffc883f3dbceb0adc65e492 to before 7e7174e076265f1b9c47465b80dc2ffe5bcb8753 Affected6bae5ea9498926440ffc883f3dbceb0adc65e492 to before 9e48f7fa5dffb4f05fc8fdb4851a946fcf45a7d9 Affected6bae5ea9498926440ffc883f3dbceb0adc65e492 to before ecf162478713c8688ee7377b599bedd580764ef0 Affected6bae5ea9498926440ffc883f3dbceb0adc65e492 to before 151957c54443a1b7d4e9e03e7fd65c852ea43b9c Affected6bae5ea9498926440ffc883f3dbceb0adc65e492 to before db13dbefa22eef5d20173766d7e1e71a1f9dc7dc Affected6bae5ea9498926440ffc883f3dbceb0adc65e492 to before be351c87b1208ff469163c2627957de1ce655d1a Affected6bae5ea9498926440ffc883f3dbceb0adc65e492 to before a4311e9447bbb219044db38897f95be112f46a8a Affected
Linux Linux4.20 Affectedbefore 4.20 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.