diff options
| author | Ali Ahmet Memiş <aliamemis@disroot.org> | 2026-10-12 19:28:16 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-13 09:01:25 +0200 |
| commit | fbaccb1b19c79e79220e3bcc5bb18ca54ffb017b (patch) | |
| tree | ba3445ae0281f3d86f59ad8271c0edf1fa8dd208 /tools/lib/python | |
| parent | d3b59d50e1ff206aa519ed5c13bf6907f97dd6a6 (diff) | |
ALSA: hda: intel: Don't free card in the probe work
If the delayed probe fails, azx_probe_work() frees the card and clears
the drvdata. azx_remove() reads the card before it waits for the probe
work with cancel_delayed_work_sync() so when the device is removed while
the probe work is running, it frees the card again after the work has
already freed it.
Only disconnect the card in the work so that its slot is released right
away and leave freeing it to azx_remove().
Fixes: 39173303c838 ("ALSA: hda: Free card instance properly at probe errors")
Reported-by: syzbot+40b06a86af225236fdb4@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=40b06a86af225236fdb4
Signed-off-by: Ali Ahmet Memiş <aliamemis@disroot.org>
Link: https://patch.msgid.link/20261012162841.1879278-1-aliamemis@disroot.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
