Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3669322ybv; Mon, 10 Feb 2020 04:22:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxk3VPAxH/nX9wIRnkKrDf8DNQ3BjtU5Bbxc4B+iyErXj4TqL/mxDlSiEb7sHxGRukKf9nn X-Received: by 2002:aca:cdd0:: with SMTP id d199mr655410oig.49.1581337360696; Mon, 10 Feb 2020 04:22:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581337360; cv=none; d=google.com; s=arc-20160816; b=e8Tc1Gg9ElOvckgJr5ySM01Tr3yNBmO76+mxKH+/xdeF2q26a6EP1BzhhuAkDFGnUv xm6q+D34V63YArNJo9XY/lI7sU47ECuDGZ0AvYFksG+5OgM0jdaXfs+YqPeIXGpRnn2e CMeNJqk/oMpqsJpc5j5MrQmc9FiHX7whVoemcvUFUzYGpa39g9Or10Na1DZEmQtjiwAc vX6k+Pn5uF3XVRfw5pYRLEuyJl78VaWSlG/nH6TFS67MV4i2Uw4zLewbOh9QFAqEzVp5 oViQoZ/HvVe7o6kChoRilBxQ5ppxb+jA7b0kW+YvAmhGw37O2SPW4S6gOYfD3S9gTqJH gU9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=AfdIRWu+Lc2x4XARCS+Gnk/xHEy7QCEsyj1AH5TL3l4=; b=GCtBsXumRQqN0DMtA98DKfvy5vva3WBv3HxcyJuhv/Eitzki8Kbdn4khloKqW/3N7j UBb1WXzay0mYv+/Yd1edoXtUekjwYMihw6/LskjoyDjx4VeLuOiXW17WHcWxLY64GkOv t47MRxeKt+1ooFTHmsrT/Kky0gPrTnetnK1cABC+Q7bc7ZdSbSB7bNeIxfcHdOIUjKs0 Md269MaDNA00dLJmTY+xKiwUuQGhRthuGmzsbFnh94oJSZTYslC8kwJrOIJDrVwfxI0G 35CuMtQyqLYRU2Pn0kXn6xiEYyLBzYa+2cQPHc2E+yp/IZzFSQ/AFHjHJd687EO1tY0T fPAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=T9O4QOGU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si117451otr.207.2020.02.10.04.22.28; Mon, 10 Feb 2020 04:22:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=T9O4QOGU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727363AbgBJMWT (ORCPT + 99 others); Mon, 10 Feb 2020 07:22:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:48634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbgBJMWT (ORCPT ); Mon, 10 Feb 2020 07:22:19 -0500 Received: from localhost (unknown [209.37.97.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6EC9E2080C; Mon, 10 Feb 2020 12:22:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581337338; bh=/JtHuma/Nuv5fXIEEbQCivHrdEm+001qeJ+s7A5Ip5s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T9O4QOGUfqG6m4ObKiNVo+GAfkB/xEoukbOEalpbDMuTxCQHl/gUtFJ9vr8/w8/Lj cCsaOMmnQleGSIt0/JpT3YSbvQoKClNKtTAWaua4mvt4Zq+aGpXOlnMXmCkLsWxLdN TY5wRvRvEzKZl0NYmlrQipNEg8nRWgImLT5N7s5o= Date: Mon, 10 Feb 2020 04:21:47 -0800 From: Greg Kroah-Hartman To: Peter Enderborg Cc: Jiri Kosina , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Alan Stern Subject: Re: [PATCH] HID: Extend report buffer size Message-ID: <20200210122147.GA413013@kroah.com> References: <20200210120847.31737-1-peter.enderborg@sony.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200210120847.31737-1-peter.enderborg@sony.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 10, 2020 at 01:08:47PM +0100, Peter Enderborg wrote: > In the patch "HID: Fix slab-out-of-bounds read in hid_field_extract" > there added a check for buffer overruns. This made Elgato StreamDeck > to fail. This patch extend the buffer to 8192 to solve this. It also > adds a print of the requested length if it fails on this test. > > Signed-off-by: Peter Enderborg Can you add a "Fixes:" tag here pointing to the commit it fixes, as well as a cc: stable as I'm pretty sure that the commit this fixes is also in the stable trees already, right? thanks, greg k-h