ALSA: hda/tas2781: Cancel async firmware request at unbind
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.407.1.57.2In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda/tas2781: Cancel async firmware request at unbind
TAS2781 HDA I2C and SPI queue RCA firmware loading from component bind with request_firmware_nowait(). The firmware loader keeps the callback module pinned and holds a device reference, but the callback still uses driver-private HDA state.
Component unbind removes controls and DSP state immediately. Later device removal tears down the TAS2781 private data, including codec_lock. If the async firmware callback runs after unbind has started, it can operate on state that is being torn down.
Cancel or synchronize the async firmware request before removing controls and DSP state. A queued callback is cancelled, and an already-running callback is allowed to finish before unbind continues.
From the CVE record · Linux
The Linux kernel’s TAS2781 HDA driver can run an asynchronous firmware callback after component unbind starts, while driver-private state is being torn down. The input does not describe an attacker-controlled trigger, impact beyond this race, or any authentication or user-interaction requirements.
Engineers running Linux kernels with the TAS2781 HDA I2C or SPI driver should check their kernel; affected versions are not specified.