Re: [PATCH] ASoC:codecs: lpass: Fix for KASAN use_after_free out of bounds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 09, 2023 at 11:43:21AM +0530, Ravulapati Vishnu Vardhan Rao wrote:

>  	val = ucontrol->value.enumerated.item[0];
> +	if (val < 0 && val > 15) {
> +		dev_err(component->dev, "Wrong value for DMIC configuration");
> +		return -EINVAL;
> +	}

This allows userspace to spam the system logs, no error should be
printed for something like this which can be trivially triggered from
userspace.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux