summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-09 15:33:36 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-10 09:49:24 +0200
commit7a78c18bffc6e09016720681d791b799feb61783 (patch)
tree4e6432f1945d3734a113360ad33eadfb11a1ba21 /tools/lib/python/kdoc/python_version.py
parent0572664718e2e0fd5270b60d1f706daa3261c5b9 (diff)
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 jackpoll_work 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. Fixes: c3ec8ac82105 ("ASoC: hdac_hda: fix memleak on module unload") Reported-by: Sashiko <sashiko-bot@kernel.org> Link: https://patch.msgid.link/20261009133341.440917-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions