Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3746116ybv; Mon, 10 Feb 2020 05:44:01 -0800 (PST) X-Google-Smtp-Source: APXvYqzaq3oPoGujZQkUkb4ZoDkVMQ5JL9XRdX4byDVh7OaMLF7e8ahldQs6Eh8bGDC3wbD6Iq5a X-Received: by 2002:a05:6808:b15:: with SMTP id s21mr789843oij.123.1581342241246; Mon, 10 Feb 2020 05:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581342241; cv=none; d=google.com; s=arc-20160816; b=i9C3P73oDmxJC0AmPLnAO2/0loDnubTeyph7bOiqlHh8Tyn+eflOs9d7aPCZHsb8q1 V4iYwQp7aXQ5lU2Hd/HTGhnQ/Nbv5rK5HoYS5LIFD3mdCX6Bt6z9EZ74keMjJKhqVtAM iw5PtTkcAsy6lU68dCdlKgcqAK+WCoM0MWO7a3D21o7RT3NFYlh0GiDiMrj05Wb/Y6Zs KeRxqLwTxmwNBavD8KBw5Gf86lqWs/TgCLyXgWtuf6yftr0j2Cv6FMQfB8mDQFSoetM4 liFG/OjFrQubeULEys1a+lK5bsRTNTftOb4LW42Lwbgx1xJ5/p5MciQT8vH24prNca2v oAxw== 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=XmT0npwBDTcYg7xJjNK13kcM8ElIx9ORodLAOSruM3s=; b=XxkU6oz6mBPtPSlZt/c2gUFBiKFOsu0nLolT2OqxqHcuHBGXWvK/Kr7f7WoudQ10Fu CPMzbOOeNDQs6zoVQ4pFxDmhwt00I5y67rkMyzpBbwFTAvPQbAH9TzaaA1rqJwMWbPEu lj2yBSJXIKMfgk9elJ5qiZLrbpwmyYI8SVG0Tc1HgQ3iOA/kkAHUiz9jCMB8ugNBbdia gN7xUpLTjnwxpa0SexT8Q1vK3ogQsmEufi1445HInDUxBopXKnxpKHvXwPuh10k2b6TC rRF7qAdzAArrhyTIzbaZlx6ZiB+7K0cM959UfmJF3bad+Pt5tTTurOs/Qhb02gtxZkpS 1pUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cClBx3Le; 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 q126si178055oia.8.2020.02.10.05.43.49; Mon, 10 Feb 2020 05:44:01 -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=cClBx3Le; 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 S1727954AbgBJNnj (ORCPT + 99 others); Mon, 10 Feb 2020 08:43:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:37862 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727369AbgBJNni (ORCPT ); Mon, 10 Feb 2020 08:43:38 -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 36ECE2070A; Mon, 10 Feb 2020 13:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581342218; bh=Hquanu6Wy26mnQgUxpH/1ep5O2rHYKiKniqQZps8nnM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cClBx3Leb9P8qQChaWcVMqSJcd1q6imDi6n/67rpvTC5IIHefy7A3EwSDmnxt78cM 7FxcH0fOcPL+WKF9l6Yw2RRazz5yA8XdDxN7LsR0Gwu1z+3Cf+1q+FWQxxTIFh5Hlb JdX8qSjOWvfZcR3xpOiORqxariYidls1Snxa3zSE= Date: Mon, 10 Feb 2020 05:43:37 -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: <20200210134337.GA532350@kroah.com> References: <20200210122147.GA413013@kroah.com> <20200210124054.1257-1-peter.enderborg@sony.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200210124054.1257-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:40:54PM +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. > > Fixes: 8ec321e96e05 ("HID: Fix slab-out-of-bounds read in hid_field_extract") > Signed-off-by: Peter Enderborg > --- This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.