CVE-2023-53842

Summary

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

ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove

The MBHC resources must be released on component probe failure and removal so can not be tied to the lifetime of the component device.

This is specifically needed to allow probe deferrals of the sound card which otherwise fails when reprobing the codec component:

snd-sc8280xp sound: ASoC: failed to instantiate card -517
genirq: Flags mismatch irq 299. 00002001 (mbhc sw intr) vs. 00002001 (mbhc sw intr)
wcd938x_codec audio-codec: Failed to request mbhc interrupts -16
wcd938x_codec audio-codec: mbhc initialization failed
wcd938x_codec audio-codec: ASoC: error at snd_soc_component_probe on audio-codec: -16
snd-sc8280xp sound: ASoC: failed to instantiate card -16

Affected Software

VendorProductVersion RangeStatus
LinuxLinux0e5c9e7ff899808afa4e2b08c2e6ccc469bed681 < 90ab6446eb522e31421b77bf8f45714f5668f9a3affected
LinuxLinux0e5c9e7ff899808afa4e2b08c2e6ccc469bed681 < 17feff71d06c96dea1fa72451c20d411e9d5ac8faffected
LinuxLinux0e5c9e7ff899808afa4e2b08c2e6ccc469bed681 < ce4059e1c0aca972446e06c09ee09a0d2ba5df54affected
LinuxLinux0e5c9e7ff899808afa4e2b08c2e6ccc469bed681 < a5475829adcc600bc69ee9ff7c9e3e43fb4f8d30affected
LinuxLinux5.14affected
LinuxLinux0 < 5.14unaffected
LinuxLinux5.15.123 <= 5.15.*unaffected
LinuxLinux6.1.42 <= 6.1.*unaffected
LinuxLinux6.4.7 <= 6.4.*unaffected
LinuxLinux6.5 <= *unaffected

Weaknesses

References