Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp560833pxb; Thu, 12 Nov 2020 10:17:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJytAMjWfBr2ehEqLN0xM0B55GbO/3FuFzJSrbVlLA+G5n7A3SOq58w+0bweIYllxSjHvIN6 X-Received: by 2002:aa7:c499:: with SMTP id m25mr1086223edq.237.1605205071217; Thu, 12 Nov 2020 10:17:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605205071; cv=none; d=google.com; s=arc-20160816; b=ajyO2z7OaebC6A4M1VU2mDDSUVCHHT0UUDtybBo1I473/BL4+fKCI3zAdOh2oD+bTt ar+vEWA8SrmZTtW1zQk62HTWi/B8lNIZ/BNvCquHjVOYlrP4Zef9u2J6o//YqtbsTnsG Qqhrx8otOyJj9c8UyPtJMN3amNu3d2+ePC10evQhiu5jeMIkVwQlshiX34+UDJFnT4ZJ dAUWEV1/oKkftTTb0bUqq3UW/qAtV6/e6A/m9rVTz0d4dveyEiKplL9Py2AvmzDhZs/S NFNIXm+n4J83Rom9dRjcJu3joD+Zq74+9QoASd25Nzo1zgatGPFrxsW7OBOLD7zEUILk wktA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=q3o5lzi63AWwtdCMieOu/FrstqLHaPIaK4QSxL42Cno=; b=STgt7AzuPhQKdAlw8vivgzE7vgdwFVoTxTAuSIxr6wa+mAJ2KzesTWzALySljL/wRA rNpALVbxHPJDtHyo9E6UZiqLaz4KvDwPFjKg1BH6nJ7xP13TsSY2k4MVUKO03oPYNGxd rOXEmE0eEnl27e/OFRajuyIIPhFrAy7ThIHKbk8kWC2BSNH365hwwt/JAl0CH9pxAVLz 6KP6w1IhmkE2m3uwjakqFtPEi5+klo+1Gxrr2s1/VdUYWl3jQo3jLNeNTA3Sylz2/C+Y yyGzHx/DBMBzhICEE+2TIx/ZKPiu/rDFsUC6rR/BubMXkSC5V7s/K73XeK6owq2wjwwJ Bbcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QDxozASe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si5218279ejs.300.2020.11.12.10.17.26; Thu, 12 Nov 2020 10:17:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QDxozASe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726512AbgKLSPX (ORCPT + 99 others); Thu, 12 Nov 2020 13:15:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726300AbgKLSPV (ORCPT ); Thu, 12 Nov 2020 13:15:21 -0500 Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9E50C0613D1; Thu, 12 Nov 2020 10:15:21 -0800 (PST) Received: by mail-ot1-x344.google.com with SMTP id n89so6504735otn.3; Thu, 12 Nov 2020 10:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q3o5lzi63AWwtdCMieOu/FrstqLHaPIaK4QSxL42Cno=; b=QDxozASeWbcmTjc+w57C/knk37xRkoo+MvYxL+sQV9W18rnxH4GGAG1piO4Zw5XDgQ +rAYArioiloQStX/jNF+9wheXRZytUtzNrtEIfdLeG9SO5r4Jnx/0pzU1pR/pIY7Nw+I 5Wu7KPh4vV5wvr2j4i4PfSGEWrleCWxMrdjj6z3r8TJCqOqEKUfK1bYX5kNa4P6VlEvO JOA4ZjXoVQCh+QjzCOTXzz775qBt04gVhnXmhleHGvSL/ZLkqDvLc/aUR/SywJto+RdV 9Ov6YgTGqaeQEg4kG/BtgYffKKXmpzONm6KK05ETGdMEsrQa/YuNnORK520Mp9KZ7aXR RtfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=q3o5lzi63AWwtdCMieOu/FrstqLHaPIaK4QSxL42Cno=; b=LwU/vGlMVtCMG2qChKR6kEjNsCh20fELV4J2Yb6Pqnu4DsEHmfj1w/F+bWa5gO0BbY uTLh4k+5Il86Cc29iefymHKbPFurkcHKURtY+Urv6MalOk7z3RiSayfuHtCr0Boe5Vmv cWjLWt2TYs1FeIwT8SvquCC+9kSPpHdFvGZcTEekyrgnT7u9swbHxsiCCGGbmo3t4mbi 1tesl3ulLDqRwvFJQrWF/NstNekTdEt8+d1mEXnhRkSk1vQU1gJ/QZ3hj7mGdGspITs/ ZEAVY8o6JzVZw6dZaFtxc7IRDtHWczS9WetexXYQFZCPt0Pn/Hly9aQLkuRIdt0t5BIn EWoA== X-Gm-Message-State: AOAM533Nn0FVh5mPoLsopdOf7VJjaqMOlHk+YcGByRIV5bjFkPx540+k xkjUuD6xi3JpKaQJ5NWyQg/MRkPuW2t4eeJFpIo= X-Received: by 2002:a9d:3ef7:: with SMTP id b110mr308139otc.333.1605204921041; Thu, 12 Nov 2020 10:15:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: John Boero Date: Thu, 12 Nov 2020 18:15:08 +0000 Message-ID: Subject: Re: [PATCH] usb: core: Null deref in kernel with USB webcams. To: Greg Kroah-Hartman Cc: Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Then why does line 278 right below it check for NULL? On Thu, Nov 12, 2020 at 5:56 PM Greg Kroah-Hartman wrote: > > 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