Re: [PATCH] ASoC: soc-compress: fix use-after-free in soc_compr_trigger_fe() during BE list traversal

Mark Brown <[email protected]> Tue, 16 Jun 2026 21:42:38 +0100
Newsgroups org.alsa-project.alsa-devel
Message-ID <[email protected]>
On Thu, Jun 04, 2026 at 03:55:10PM +0900, Shinhyung Kang wrote:
> The DPCM compress trigger path traverses the FE's BE client list in
> dpcm_be_dai_trigger() without holding card->pcm_mutex, while
> dpcm_be_disconnect() can concurrently remove and free entries from
> that same list under pcm_mutex protection.

This patch seems to be mangled somehow:

Applying: ASoC: soc-compress: fix use-after-free in soc_compr_trigger_fe() during BE list traversal
Patch failed at 0001 ASoC: soc-compress: fix use-after-free in soc_compr_trigger_fe() during BE list traversal
error: corrupt patch at line 10
error: could not build fake ancestor
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmoxtT0ACgkQJNaLcl1U
h9DsPgf9Ga0EY0r/n84dp3DTEE3Z/CrfoZR60DHm7m/ZqS2ZibbqdzNH/4jp4Klv
FRJtZ8mZz71FnMZHRVApomnj/7VPubEQwxMWmhlIwhFvHeUsc9IiutIUMKVnH3K9
m7rWSxrwfLgl2q+1NuNO1exOlzD77u2Nrx3dW5Ew6npKTk2RNdEDI69tOQFaeUhQ
xPB70HYKJWb3p6mTFs52P0QhiGilnN0y8PY5y+EjzQJkq1NCvrDzV+Kg0uYBaRbE
XJKGRRVGRE7q4rB8HLlvTuqHWpdRM5gX+LIGqIQHIEJJx3bPUhTqQEZhlxX8EH/2
lMCACgBWe8xRD3qPBHonz+CmhmCWRQ==
=WkBK
-----END PGP SIGNATURE-----