Re: [PATCH v2] ASoC: tas2781: reject too-short writes to acoustic_ctl debugfs
From: Mark Brown
Date: Tue May 12 2026 - 21:34:51 EST
On Tue, May 12, 2026 at 11:55:35PM +0800, Yi Yang wrote:
> The acoustic_ctl_write debugfs handler allocates a buffer via
> memdup_user(from, count) but only validates that count is not too
> large. It then accesses src[0] through src[6] without ensuring
> count >= 7.
This doesn't apply against current code, please check and resend.
Attachment:
signature.asc
Description: PGP signature