Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2698639rwd; Fri, 26 May 2023 09:55:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kB5AJS7oJNfAWD7mhptYEoNmuES0QTzOUu5NE6NPSAaieVIEKS5paTa4hFxlLJ1ftbbAR X-Received: by 2002:a17:90a:c4:b0:253:4ae0:4256 with SMTP id v4-20020a17090a00c400b002534ae04256mr3214958pjd.2.1685120138272; Fri, 26 May 2023 09:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685120138; cv=none; d=google.com; s=arc-20160816; b=ZfLo0xsPBWEjyENopfmIZOmr8HarOo2P8xKRZfnOPAC4GtsnM6zwr+dJ79N20Di5+2 AVlr52supbMba+vvURiavFpyfno65vcBcPxxm52TqzfoHp7dYd2a6oOhRPrKru5hjYwZ sgL3nrdKGjkg2Tvg3y0lrWvFo7TsKSAWO7bj3DPt0vVq+T48W9zyHvysPNcq4YTq6hGt oTTkDvSbgjbP79Tcu8FNc4awNIrPPjF2K7lgUDwkUsLn+FVZWfLLK+b39n8dZ1BcDST/ +/mUSzBsCSNGAy2w/cXq7At2u/ieqWr7qN9HCH3b4FGRKiCme9OvOJ1d6m1pAwROFtSm 5uWw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uuZoM7nF8zWksr+H4Kb9UmYKp2WCGSSkb+5FVxYj0eU=; b=kJcgeBi873sdEKZVzCU/QK2ZDXi99OHzTZujwCgYcQzodM0vxWW5adWIRQ6m7pu1wE MaPrAdnq0L0JoLPXookSTy06yyJMfZVR8viuHEB9frLZ+Nz1cukD4nnvTuwbe2Waucx0 J5ufNVFLId5jwV6ZuNRjJiKVa0E8kSfy8ug2fZLPrmGQxrn3ZRF+HuAcuzu01XJX4aMJ JsxmXTZLJOkA573H+sxl/dfKjQZNMHyQJPovya7rm6wTpeDhFDr/H8NSEVxSCmZJ2t2b kGUbl1glWDf252vs6/+agRb/2goutQPZnK2Ay/m3Y6Z5+XzEdu4cOBiJORjdoS4bIget LnwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hT82lZ1G; 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; 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 y18-20020a63b512000000b005348549fae5si4150018pge.252.2023.05.26.09.55.25; Fri, 26 May 2023 09:55:38 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hT82lZ1G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236855AbjEZQoC (ORCPT + 99 others); Fri, 26 May 2023 12:44:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229790AbjEZQoA (ORCPT ); Fri, 26 May 2023 12:44:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB783D9; Fri, 26 May 2023 09:43:59 -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 2B32A617A1; Fri, 26 May 2023 16:43:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DE30C433EF; Fri, 26 May 2023 16:43:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1685119438; bh=Z/ch5nJkQyaxrmN1rRuD6Zg08kQpZg1acmK+3khx85E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hT82lZ1GYXwKZ3QyfJyhu12TOwN6oQstsGuNbmlXcwBuDDULVbbZ1dh3lPvrex2DD RF9Ig7Bx4mdzowwgjgWTQkXt9Xagfua8Xh9YmwXQTdHqkztG4L66CaHFmOoXcIJcDJ S/JFEo91ouORTBBrIbDHSZe2CZc1ZIlgiOvUrDlE= Date: Fri, 26 May 2023 17:43:55 +0100 From: Greg KH To: Lorenz Bauer Cc: Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Martin KaFai Lau , ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, shuah@kernel.org, yhs@fb.com, eddyz87@gmail.com, sdf@google.com, error27@gmail.com, iii@linux.ibm.com, memxor@gmail.com, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH AUTOSEL 6.2 08/30] selftests/bpf: check that modifier resolves after pointer Message-ID: <2023052647-tacking-wince-85c5@gregkh> References: <20230320005258.1428043-1-sashal@kernel.org> <20230320005258.1428043-8-sashal@kernel.org> <2023041100-oblong-enamel-5893@gregkh> <2023052435-xbox-dislike-0ab2@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 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,URIBL_BLOCKED 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 Wed, May 24, 2023 at 06:04:43PM +0100, Lorenz Bauer wrote: > On Wed, May 24, 2023 at 5:04 PM Greg KH wrote: > > > > Great, any specific commits that fix this issue would be appreciated to > > be pointed at so we can apply them. > > The problem was introduced by commit f4b8c0710ab6 ("selftests/bpf: Add > verifier test for release_reference()") in your tree. Seems like > fixup_map_ringbuf was introduced in upstream commit 4237e9f4a962 > ("selftests/bpf: Add verifier test for PTR_TO_MEM spill") but that > wasn't backported. So what tree(s) does this need to be backported to? I'm confused, this is a 6.2 email thread which is long end-of-life. > To restate my original question: how can we avoid breaking BPF > selftests? From personal experience this happens somewhat regularly. It can be avoided by people testing and letting me know when things break :) thanks, greg k-h