Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1900767rwb; Fri, 12 Aug 2022 08:33:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR7apXvSX6FsWRXLWjG6bG8SowjCaAWk8CWzkAi4zHAVsnIa6gtY8RFsE9YuVSZNP+s4LZhO X-Received: by 2002:a05:6a00:21c2:b0:52b:ff44:6680 with SMTP id t2-20020a056a0021c200b0052bff446680mr4408141pfj.57.1660318408028; Fri, 12 Aug 2022 08:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660318408; cv=none; d=google.com; s=arc-20160816; b=D+mIAMtpr1qkqvZ70BJedCSXXY8ZJjIuyGoveAi4hbBpNLsY+WVyzmvIHrQaxlca6O WKo4zao9P1UZqWlNf4lfC6TOg6XzvMLRkaZ7p2igTmicPaew3wATDqzCGZK+FmzUYQT9 l44YoSMkPQjIb2EgzDyi+hjVaiWW+EkzPQHODtTBieqvn/rSHMnPTiN/zYvgduWibVGK IVMUJcuCkJxhiK4sZfsuHuPJCUesY1fCHCYz0AV69z/RBZgobj/U59Yj6ULE9BZf9pYJ fhkGFMRtziw6Yim9f9XSXjomze8Ewu/KojsU7vmyKASiHUjX5X4taAs2lZ49sm87u5Gu ngWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/wl9a1tmb40fOL66d0Rmd/OTxfJ7bDXOXT3R72MO+wI=; b=KzQNht0VgZpaByHpKYyuiSEZ22RlfWZpzNTUQEy1U69fqZLOf9/WTJUw+Rp2Azznd1 nqQzpFZTWMRMlbDdDJ+AuMiCLJNMb0DCyWtwvql5rhsqTkTwhZjtCXZkS99vnzO+R8Jr b09IMUialldO1tXx231yVdlPgMr+azXyuGH0KpOZMW4a0dz+bAfCgJzNXNGZA8nXsud8 iFSMlXpjZ+YxJk1BfnS6li2M+oo5ZFtqhBQHgrBRqBeT+eboGfB9bBQ9w04WSLyLQi6G /Cf4tty11KHhtAM2mclbsMKk70rnQfO37giPWpKBSsAiGhB/tK8CbNtJHFppz8ojjadN oADw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KobhE0oA; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a63aa0c000000b0041d628d84f7si2732014pgf.843.2022.08.12.08.33.16; Fri, 12 Aug 2022 08:33:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KobhE0oA; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238990AbiHLP2E (ORCPT + 65 others); Fri, 12 Aug 2022 11:28:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238885AbiHLP2D (ORCPT ); Fri, 12 Aug 2022 11:28:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04C3A7C186; Fri, 12 Aug 2022 08:28:02 -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 967F56148F; Fri, 12 Aug 2022 15:28:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69C47C433C1; Fri, 12 Aug 2022 15:28:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660318080; bh=Js90lG2a8CweNtF1ZgBlqyryGecyyYI5L5XDv9jU1pw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KobhE0oAhe5CUh6J0+dCswDw2xxhwa7nkHxFglctgM1+T6exPV0IQp2feT6W6xJao fcdt0YCo+oB9DfCD2VeRPnAQnmiGfwMIfwDjCfCYj5DsOUNPeVL15cJAbw8nSxoMMB p7hYC6DPcda76poYonlcnU2DZq/6k4d2y6V/M8Js= Date: Fri, 12 Aug 2022 17:27:58 +0200 From: Greg KH To: Siddh Raman Pant Cc: johannes berg , "david s. miller" , eric dumazet , jakub kicinski , paolo abeni , netdev , syzbot+6cb476b7c69916a0caca , linux-wireless , linux-kernel , syzbot+f9acff9bf08a845f225d , syzbot+9250865a55539d384347 , linux-kernel-mentees Subject: Re: [PATCH v2] wifi: cfg80211: Fix UAF in ieee80211_scan_rx() Message-ID: References: <20220726123921.29664-1-code@siddh.me> <18291779771.584fa6ab156295.3990923778713440655@siddh.me> <18292791718.88f48d22175003.6675210189148271554@siddh.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18292791718.88f48d22175003.6675210189148271554@siddh.me> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-wireless@vger.kernel.org On Fri, Aug 12, 2022 at 08:03:05PM +0530, Siddh Raman Pant wrote: > On Fri, 12 Aug 2022 17:45:58 +0530 Greg KH wrote: > > The merge window is for new features to be added, bugfixes can be merged > > at any point in time, but most maintainers close their trees until after > > the merge window is closed before accepting new fixes, like this one. > > > > So just relax, wait another week or so, and if there's no response, > > resend it then. > > > > Okay, sure. > > > Personally, this patch seems very incorrect, but hey, I'm not the wifi > > subsystem maintainer :) > > Why do you think so? rcu just delays freeing of an object, you might just be delaying the race condition. Just moving a single object to be freed with rcu feels very odd if you don't have another reference somewhere. Anyway, I don't know this codebase, so I could be totally wrong. greg k-h