Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp271428pxb; Tue, 12 Apr 2022 01:23:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU1aGcQPjJ2K6XgxXSqfNVah+7CFEx1HGLk0DGYVcGqAPV3NnlinV7rX95YiV0Z8fOiaGh X-Received: by 2002:a05:6402:278f:b0:41b:79b1:39b4 with SMTP id b15-20020a056402278f00b0041b79b139b4mr37663253ede.163.1649751819683; Tue, 12 Apr 2022 01:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649751819; cv=none; d=google.com; s=arc-20160816; b=rPjVj6hL0IbF0XxFvECBLkp5oo2QbwZI4eWTV79JP7sUdeJWbCAylDG9GITGrMIx+N lnM8aOhwEmz/0TgRjZbA44AFj501DRF3SR1/yyWoTVtI1srOXmoIjWXOOyxtngIp6L1E GTmj9xpsv1YdA0vf3PS2GjSo6sIeqwhJnU0iALF7SomWPHGg/kUqYIMi5WlfACPrgBrG Q0rDumUILD1LwoQe73KXL2YTs5EoT70OOPShl/2lC5yD6nOECkLLqnLdiN6Z7G6NxhMd afFnQAG7DvnDX19lBu23de5ILWZNZ1dtzk7txZFu5lyV1y6QS/XujPVmMPPkh27HACpK RwzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=CKhNcl49oJ5fT28fVsmBuPDfwsLoHVNHt7zkEE/PxOs=; b=ZA/8eh1QQu8Q1SCm+v+mkejKVyBvY2fVB6Atpc3QqkWieA6bRiPBdj4DZFh0dgiVlo fXaprm9Ayu0axDbiEa18mgmcYj4SV8ZzgHjtfxNy0dQArAZsOGAPub0lxYPwVmh5u9fL F4QIAKaEIshV0vHynQUTxpf96YnilNzerfl3HYg9TYhOL8jZcXV5pvBKAzBtoj5ZWc7T +gW3h4rdJzFvuWunGgGxwu4g+Gfn2FhK5OhPZD6XRnTR+KJlGp5+nea9o8+uzhWgm55Y vYWpZGt8sHduSqZmU7AwrHBOd0KTPHJs4nhJ6hvbkvS9S8xYZtiJGGPSGN1u9C8NHJXQ DFZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v4-20020a1709061dc400b006e6f361280fsi7885470ejh.724.2022.04.12.01.23.12; Tue, 12 Apr 2022 01:23:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234272AbiDHVAi (ORCPT + 99 others); Fri, 8 Apr 2022 17:00:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbiDHVAg (ORCPT ); Fri, 8 Apr 2022 17:00:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92DF139142 for ; Fri, 8 Apr 2022 13:58:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2779261F49 for ; Fri, 8 Apr 2022 20:58:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BAC2C385A3; Fri, 8 Apr 2022 20:58:29 +0000 (UTC) Date: Fri, 8 Apr 2022 16:58:27 -0400 From: Steven Rostedt To: Thomas Gleixner Cc: Linus Torvalds , LKML , jstultz@google.com, Stephen Boyd , Andrew Morton , Peter Zijlstra , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Eric Dumazet , Guenter Roeck Subject: Re: [RFC][PATCH] timers: Add del_time_free() to be called before freeing timers Message-ID: <20220408165827.42475fb2@gandalf.local.home> In-Reply-To: <87v8vjiaih.ffs@tglx> References: <20220407161745.7d6754b3@gandalf.local.home> <87pmlrkgi3.ffs@tglx> <87v8vjiaih.ffs@tglx> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 08 Apr 2022 22:29:58 +0200 Thomas Gleixner wrote: > What a shutdown function would prevent here is UAF, but I'm not entirely > sure whether it will simplify coordinated shutdown and remove the > requirement of a priv->shutdown flag all over the place. It might make > some of the driver muck just get stuck in the shutdown, but that's > definitely an improvement over a potential UAF which happens every blue > moons. Note, it is the cause of a large percentage of crash reports reported by ChromeOS. And we do not even know if it was this bluetooth issue that caused them. There's evidence they are mostly caused by the wifi code. I only used the bluetooth issue because it was the first one we found that looked obviously wrong. -- Steve