diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-10-08 21:25:48 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-09 14:42:16 +0200 |
| commit | 360e688f6d24ccd3e9485f57ad451ec1cecfb94c (patch) | |
| tree | 62d317279573fcff9a40c92726e62ad4b6b4b5b3 /tools/lib/python/kdoc/python_version.py | |
| parent | d69798357b5d562bcda1af488cda3ead4d039f8f (diff) | |
ASoC: fsl_asrc_m2m: Fix bogus compress task pointer assignments
When a creation of input or output compress-offload task fails in
fsl-asrc driver, the task->input or task->output pointer is left with
ERR_PTR(), which is non-NULL. Then it's handled in the compress
offload core and it tries to release via dma_buf_put(), resulting in
an access to a wrong address.
Clear the bogus pointers properly before returning an error.
Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://patch.msgid.link/20261008192553.300025-9-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
