CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's ALSA subsystem, specifically related to the cs35l41_hda driver, where improper handling of firmware load controls can lead to the execution of queued tasks after the driver has been removed. This can result in dereferencing invalid driver state, potentially leading to system instability or exploitation. Organizations using affected Linux kernel versions, particularly those relying on the ALSA subsystem for audio management, should prioritize patching this vulnerability to mitigate risks associated with unauthorized access or system crashes.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/cs35l41: Fix firmware load work teardown cs35l41_hda creates ALSA controls whose private data points at the cs35l41_hda object. The firmware load control can also queue fw_load_work. Those controls are not removed on component unbind, and device remove only cancels fw_load_work through cs35l41_remove_dsp(). That helper is skipped when halo_initialized is false. With firmware_autostart disabled, a firmware load can be requested before the DSP has been initialized. If the component or device is removed before the queued work runs, the worker can run after teardown and dereference driver state that is no longer valid. Track the created controls and remove them on unbind so no new control callback can reach the driver data or queue more work. Then cancel fw_load_work to drain any request that was already queued. Also cancel the work unconditionally during device remove before runtime PM teardown.