From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F823C43461 for ; Sun, 6 Sep 2020 03:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 68BAD20797 for ; Sun, 6 Sep 2020 03:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599362177; bh=uNAri1KIqnnsU5Kj7HggleAx2lvWqgUJQmlz1+Z+SjY=; h=Date:From:To:To:To:CC:Cc:Cc:Cc:Subject:In-Reply-To:References: List-ID:From; b=z/IrWg8kFMo/WmrAzR1JmKVjMUy1X1QMA6t3BkYG86qOqJIElNhdDf/66AZMZQoRe C2Q5L9Dq9YH8ancwIJb3LIuP+bT7nx1B8enqHwp0UfknMs1e/LD/96uqns0p4cVETh HL8cCPZa2tJDkK47ktWMTdgjzIKsZ1TtMFihqvuE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728423AbgIFDQP (ORCPT ); Sat, 5 Sep 2020 23:16:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:54498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728589AbgIFDQM (ORCPT ); Sat, 5 Sep 2020 23:16:12 -0400 Received: from localhost (unknown [70.37.104.77]) (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 AC67020E65; Sun, 6 Sep 2020 03:16:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599362171; bh=uNAri1KIqnnsU5Kj7HggleAx2lvWqgUJQmlz1+Z+SjY=; h=Date:From:To:To:To:CC:Cc:Cc:Cc:Subject:In-Reply-To:References: From; b=y1aWFe9kytuKHIrFEd61civt7b22zqJjK7gzpWP4uW2qLdp/Fh7UQmsLkCk8Mjr6G YILlUvTxDPYHC4tTodazhog8mx7OeqmUUp7K8zsQHH8RGXdLv5WAs2n8lkllQ4sYe/ cPY3HX+S/ZwBFiytJsDwV+ptrJ0u3zaKFf9pd4mk= Date: Sun, 06 Sep 2020 03:16:11 +0000 From: Sasha Levin To: Sasha Levin To: Zeng Tao To: CC: Zeng Tao Cc: stable Cc: Alan Stern Cc: stable@vger.kernel.org Subject: Re: [PATCH] usb: core: fix slab-out-of-bounds Read in read_descriptors In-Reply-To: <1599201467-11000-1-git-send-email-prime.zeng@hisilicon.com> References: <1599201467-11000-1-git-send-email-prime.zeng@hisilicon.com> Message-Id: <20200906031611.AC67020E65@mail.kernel.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi [This is an automated email] This commit has been processed because it contains a "Fixes:" tag fixing commit: 217a9081d8e6 ("USB: add all configs to the "descriptors" attribute"). The bot has tested the following trees: v5.8.6, v5.4.62, v4.19.143, v4.14.196, v4.9.235, v4.4.235. v5.8.6: Build OK! v5.4.62: Build OK! v4.19.143: Build OK! v4.14.196: Build OK! v4.9.235: Build OK! v4.4.235: Build failed! Errors: drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function ‘usb_lock_device_interruptible’ [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function ‘usb_lock_device_interruptible’ [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function 'usb_lock_device_interruptible'; did you mean 'usb_lock_device_for_reset'? [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function ‘usb_lock_device_interruptible’ [-Werror=implicit-function-declaration] drivers/usb/core/sysfs.c:825:11: error: implicit declaration of function ‘usb_lock_device_interruptible’ [-Werror=implicit-function-declaration] NOTE: The patch will not be queued to stable trees until it is upstream. How should we proceed with this patch? -- Thanks Sasha