Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp97681ybv; Wed, 5 Feb 2020 01:57:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwNijt9Eu86MzxqKcjFjQyon3ghgZoedzBMguKQyJnFc4YAcay+UhFEPAnEFX6Bj1hmisOM X-Received: by 2002:a05:6808:5d0:: with SMTP id d16mr2261720oij.45.1580896641755; Wed, 05 Feb 2020 01:57:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580896641; cv=none; d=google.com; s=arc-20160816; b=vU9qpyQ/W/QsalM6OLd7H7TWVwKSk9XdVHFrgWhi4fGjeZiY+FzlIKT02URn2B2ITA co2Oti7+3jsbc9jA6P1E6qlF1hesC2/KUysMQ0wgmD7G9O0/JwY5mg4bfw8BjzMVblq1 EVhlj4tk0uYcXUw0q+tPWI5O+KwafXAR+mbT6nD8/dt4h61RbSdjaGzJzJGabbOI7ihI PAeb1KM1/+oyqypyLuBD2U3skAoX/cbFAi3LoyQHYJGLHJ0RC9lE/pvxPo0LcDPVMc4W Vql//7byiSY3kJGuoeTT81hysAHej/QE6cee3m3AYiPo8IhWKT6f2Qps3XyrxNCY2E8Q JFwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=rOScVpnThVd0XDtOI6wwZGUlSGsGDG1r8PxhhIfEil0=; b=jCqoTgcmmPxE7FpvP3XEHLrSSaCSm0ZpDxFegAXTHDXXAzGzWpEXrao4Dss/87hNMd FhL3+PMQ5n7UqR7oiUnGaPWQqy8OL9Vx6tJ6tc7DIftQ7GmIUfm8M+1HGMbsM4PeMUB9 upXkCWHCXlI2mDK1TwuVe3XDoqEyV4ZQ5ioHEZtVx7olwaL8UhSLylE6fHiNaT2rWoUP 7fj884YF9uVT4YRcxIz2rlZ+QgNBmvSiTdDLN7RO84EkTzsyzEneSW3SUdA2UGEMS74x VYFRTtVdkpr7JX/S5szIGL0QFJKjgHHhHrRRq1/RfOVXp1k5BKbwGT3b2Nsz+ApwPI+m rpQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0AJA63T7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p71si12058205oic.138.2020.02.05.01.57.09; Wed, 05 Feb 2020 01:57:21 -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=0AJA63T7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728263AbgBEJyt (ORCPT + 99 others); Wed, 5 Feb 2020 04:54:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:40706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728034AbgBEJys (ORCPT ); Wed, 5 Feb 2020 04:54:48 -0500 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (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 2B64C2051A; Wed, 5 Feb 2020 09:54:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580896488; bh=FbsLcLxrgywvb4AqmGU0GXUNyPg1tOpALfiZanC9iOk=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=0AJA63T7SrPMGZjNYjHb2jJioL3UucJSleYm9GFi3bLiYBg9tGAH37CxeF/zyDkqc JBc3a/tgAEC0qzzu1X/OaWDvS5vEoxq53m3ZVamtMPsMm49nVQq2zJv5nxmTBPUiWH yWoK6CjcKy0Ui54LNKY2xSOD/OLL4UoFAcfOpmhg= Date: Wed, 5 Feb 2020 10:54:44 +0100 (CET) From: Jiri Kosina To: "Enderborg, Peter" cc: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , Alan Stern , "stable@vger.kernel.org" , "syzbot+09ef48aa58261464b621@syzkaller.appspotmail.com" Subject: Re: [PATCH 5.4 17/78] HID: Fix slab-out-of-bounds read in hid_field_extract (Broken!) In-Reply-To: <08ff9caa-0473-fae3-6f98-8530ed4c3b1a@sony.com> Message-ID: References: <20200114094352.428808181@linuxfoundation.org> <20200114094356.028051662@linuxfoundation.org> <27ba705a-6734-9a92-a60c-23e27c9bce6d@sony.com> <20200205093226.GC1164405@kroah.com> <08ff9caa-0473-fae3-6f98-8530ed4c3b1a@sony.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 5 Feb 2020, Enderborg, Peter wrote: > >> This patch breaks Elgato StreamDeck. > > > Does that mean the device is broken with a too-large of a report? > > Yes. In which way does the breakage pop up? Are you getting "report too long" errors in dmesg, or the device just doesn't enumerate at all? Could you please post /sys/kernel/debug/hid//rdesc contents, and if the device is at least semi-alive, also contents of /sys/kernel/debug/hid//events from the time it misbehaves? > > Is it broken in Linus's tree? If so, can you work with the HID > > developers to fix it there so we can backport the fix to all stable > > trees? > > I cant see that there are any other fixes upon this so I dont think so. > I can try. > > > Jiri is in the loop. I guess he is the "HID developers" ? Thanks, -- Jiri Kosina SUSE Labs