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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 2130CC5519F for ; Thu, 12 Nov 2020 17:56:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B5511216C4 for ; Thu, 12 Nov 2020 17:56:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="X35jN8Xf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726494AbgKLR4J (ORCPT ); Thu, 12 Nov 2020 12:56:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:58252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726293AbgKLR4J (ORCPT ); Thu, 12 Nov 2020 12:56:09 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 50ED8216C4; Thu, 12 Nov 2020 17:56:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605203768; bh=NLkY9uLvlled2LN7QJuMDGGIC5/iJgTKQOxS3vcxyvI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X35jN8XfS9fwfsxO56CAJAlotKsXdJT1OgaPJR8KJZ/EibfzSxBfySb21N1G2gHAY kXi+ca1MmvUeFUvt2ie6kqQsvyCpoUbH+pThkCtFxJizmWnVacfsJVOu1TW9F9734v CuDAhVYWPtcBe/NYnfNTU1GW7UCjR2TOcHmpUcE8= Date: Thu, 12 Nov 2020 18:57:06 +0100 From: Greg Kroah-Hartman To: John Boero Cc: Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: core: Null deref in kernel with USB webcams. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12, 2020 at 05:13:30PM +0000, John Boero wrote: > Yes the patch is backwards sorry. Testing alt proposal from > stern@rowland.harvard.edu. It may be a buggy driver > but it would be nice if a buggy driver couldn't bring down > the entire usb core. lsusb hangs until reboot or reset of usb. buggy kernel drivers can do anything, including deleting the contents of your disk. We don't protect the kernel from itself, sorry :) good luck! greg k-h