diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-09-03 12:38:51 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-09-03 18:08:24 +0200 |
| commit | 3b26ceef88c110f4d188387cffa0df78657be904 (patch) | |
| tree | 215598b09b74c0b3b90e5ee761a775f799432057 /scripts/Makefile.thinlto | |
| parent | 8efd5f623c63584c2e284a837a7795d95a0491cb (diff) | |
| download | linux-3b26ceef88c110f4d188387cffa0df78657be904.tar.gz linux-3b26ceef88c110f4d188387cffa0df78657be904.zip | |
ALSA: caiaq: Fix potential double-free at error path
The fix for caiaq driver's resource management to handle the errors
tries to release the resources in a common destructor call, but as a
sashiko review for another patch suggested, some of the audio
resources such as URBs have been already freed, and this may lead to a
double-free.
For addressing the double-free, call the common destructor function
from each place, and assure that the resource pointers get cleared.
Link: https://sashiko.dev/#/patchset/20260903084747.535367-1-eadavis%40sina.com
Fixes: 28abd224db4a ("ALSA: caiaq: Handle probe errors properly")
Link: https://patch.msgid.link/20260903103855.1807838-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
