Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1633534ybv; Thu, 6 Feb 2020 07:16:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxN9Y6lVfNmfsdVxVHmW69HHflN0r1zKyNroMeSxbtNcfli/DOKoFuxGyEf5DV8Qpbm1d/t X-Received: by 2002:a05:6808:289:: with SMTP id z9mr6996860oic.48.1581002191527; Thu, 06 Feb 2020 07:16:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581002191; cv=none; d=google.com; s=arc-20160816; b=AJdXix2JQC9jeJHoeQoFAWzAqvhkq1PsGJtxCrsB97rMtKTz/0fJesV22tKfLyvkBC Tz8Od57+J+VvaW6lc/Sqv0mPOiU7yW0bI5PmFTREkh2VKmIkeW+Du7ktxCnr3M4qYkZD gYjI4kUFuNd6BRj2V0vaBKKclNdv2Ga01FKzHJRYRu7vR4tX/Wh/0IOyRv9XWkg40+Gn Xh2lMhBH+HeFrqi9tZQvQr/tej/jFaWLsnfermQ8SBrsiDL4Hk2bSxcxH5Vhvyx1yvqt NFOurhVAQd9obKC+xTYBZ7rdeIMxiLbaSmq7KC1W7daR1WSuOFDfRTzFOXOuS8nGAggb RbQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:in-reply-to:subject:cc:to:from:date; bh=ArXZtMJfVny8bpA1PNCIs8uXgcTON9nYWLoIvxuA4ts=; b=a/qQwMi32zcgWQ20zajUCKYomjSgnm5zc+q7OvA16418kE9HyexAmVjbqvjLUOto1a bFNAMRqfXilDIXt6u1RNumo6CKrqRtItH2TvITHoP+CBefz/FbKnEKS5h07FORtrH1Nf nGyflfBMmaTbpOVTMM4drBjZ5CE3LG2mCqJ/j8PcK66tIxIkGOyApqEg6Z/OnyC+UJ9J Bpc6u+M2yHG/709OBKdsdxLM1WkutA9ebfdjqxvGoFyYNd+xMpgbNKqvnxwWgkGIvAF8 Wv28NVtfUvhZhUNeAonIavUbyKJfJmX/unwM1yptii4Opo5hq3tphdBxPC0om+5nukEE EwZA== ARC-Authentication-Results: i=1; mx.google.com; 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 p83si2324731oih.198.2020.02.06.07.16.17; Thu, 06 Feb 2020 07:16:31 -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; 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 S1727516AbgBFPOM (ORCPT + 99 others); Thu, 6 Feb 2020 10:14:12 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:59640 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727389AbgBFPOM (ORCPT ); Thu, 6 Feb 2020 10:14:12 -0500 Received: (qmail 2315 invoked by uid 2102); 6 Feb 2020 10:14:11 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Feb 2020 10:14:11 -0500 Date: Thu, 6 Feb 2020 10:14:11 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Enderborg, Peter" cc: Jiri Kosina , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: Re: [PATCH 5.4 17/78] HID: Fix slab-out-of-bounds read in hid_field_extract (Broken!) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Feb 2020, Enderborg, Peter wrote: > > Also, please post the output from "lsusb -v" for the StreamDeck. > > Bus 002 Device 008: ID 0fd9:0060 Elgato Systems GmbH Stream Deck > Device Descriptor: >   bLength                18 >   bDescriptorType         1 >   bcdUSB               2.00 >   bDeviceClass            0 >   bDeviceSubClass         0 >   bDeviceProtocol         0 >   bMaxPacketSize0        64 >   idVendor           0x0fd9 Elgato Systems GmbH >   idProduct          0x0060 >   bcdDevice            1.00 >   iManufacturer           1 >   iProduct                2 >   iSerial                 3 >   bNumConfigurations      1 >   Configuration Descriptor: >     bLength                 9 >     bDescriptorType         2 >     wTotalLength       0x0029 >     bNumInterfaces          1 >     bConfigurationValue     1 >     iConfiguration          0 >     bmAttributes         0xe0 >       Self Powered >       Remote Wakeup >     MaxPower              400mA >     Interface Descriptor: >       bLength                 9 >       bDescriptorType         4 >       bInterfaceNumber        0 >       bAlternateSetting       0 >       bNumEndpoints           2 >       bInterfaceClass         3 Human Interface Device >       bInterfaceSubClass      0 >       bInterfaceProtocol      0 >       iInterface              0 >         HID Device Descriptor: >           bLength                 9 >           bDescriptorType        33 >           bcdHID               1.11 >           bCountryCode            0 Not supported >           bNumDescriptors         1 >           bDescriptorType        34 Report >           wDescriptorLength     248 >          Report Descriptors: >            ** UNAVAILABLE ** I was hoping to see the report descriptors. This would produce the actual descriptors as sent by the device, not the kernel's interpretation or modification of the descriptors. I guess you have to unbind the device from the usbhid driver first in order for lsusb to get them. Can you do that? Alan Stern