CVE-2026-139452: ALSA: hda: Disable unsol event handling at error and shutdown paths
In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: Disable unsol event handling at error and shutdown paths
When the HD-audio controller driver probe fails, it still leaves the unsolicited event handling and jackpoll work active, hence if they are pending, they might fire up later after the resource gets released, which may lead to a UAF. A similar problem may be seen at shutdown, too.
Add the recently added helper to disable unsol events and the cancel of jackpollwork at the appropriate places. We need the workaround in the error path before driver->ops->remove, too. As unsol events and jack polling may have been already enabled during the probe callback, the driver->ops->remove call is done (more) conditionally now.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
On HD-audio controller probe-error and shutdown paths, disable unsolicited event handling and cancel jackpoll_work before driver removal or resource release.