From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73FA714F121; Mon, 29 Jul 2024 13:05:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722258316; cv=none; b=jh5ZDE+7aiEZFIzoI8C+0Tq19U+v83OEtHCs1w/VF5IdmNPNhnRUXJWowpz4Uc7hhFafvp0mIdcLh1FtzM+dlgl6ysAZEKwmFfLUndpxrx5S65zkuFIxamlLnBm+NHFzZoYPqy5ue7rKNAcsXr7QMQ3px8fFH8ECfcDqDddJUhs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722258316; c=relaxed/simple; bh=qaWgxw0PjWzuNDlDh66f4+CB61ONtDk/pGABZxn43Ts=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bD6B3E4GFkV8WtgNDLXQuWBI3weY+k9m1a+NZZMoxfHZJLAuw8hIh/lBDrVCgboi4kDzttyHovNqrvMLnZL6AiyoBElrRpM7OUd9KfTsXuMdHDkEdWwBCJAWpL+qjvNkydkuGi/XovBtB9huzwPryy1h4ui0qxGrxq7QOApeZ4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vcmsSRGe; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vcmsSRGe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F540C32786; Mon, 29 Jul 2024 13:05:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722258316; bh=qaWgxw0PjWzuNDlDh66f4+CB61ONtDk/pGABZxn43Ts=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vcmsSRGe37jBMtancelZIZet5seRdAairjc/VEWgYuzADQ+bXg8il9JAI50950UNe a4AxMtyWVM7E47JoEy11snx6nJySc5/EWBqPhRvtGTThBgBlw/A+GyoODEIh8mb2AF 2TIHoegI3xF/Hz2cUGhnkOeQaty0WNcQA+SO9Eno= Date: Mon, 29 Jul 2024 15:05:13 +0200 From: Greg Kroah-Hartman To: Tetsuo Handa Cc: Henrik Rydberg , Dmitry Torokhov , "linux-input@vger.kernel.org" , LKML , Linus Torvalds Subject: Re: [PATCH (resend)] Input: MT - limit max slots Message-ID: <2024072944-appraisal-panning-a0b1@gregkh> References: Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jul 29, 2024 at 09:51:30PM +0900, Tetsuo Handa wrote: > syzbot is reporting too large allocation at input_mt_init_slots(), for > num_slots is supplied from userspace using ioctl(UI_DEV_CREATE). > > Since nobody knows possible max slots, this patch chose 1024. > > Reported-by: syzbot > Closes: https://syzkaller.appspot.com/bug?extid=0122fa359a69694395d5 > Suggested-by: Dmitry Torokhov > Signed-off-by: Tetsuo Handa > --- > This patch was tested in linux-next between next-20240611 and next-20240729 > via my tree. Who can take this patch? If nobody can, I will send to Linus. What is wrong with the normal input maintainer and tree? Why not send it there? thanks, greg k-h