Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1448908rwb; Fri, 19 Aug 2022 04:03:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR6oQuELcuraEQqK4kYXjeo2Vcdm7wKCysPj3RAZmTwtRVyi0NSWl2nJvurD0l2wB3Ae1iI8 X-Received: by 2002:a17:907:6d24:b0:731:7720:bb9b with SMTP id sa36-20020a1709076d2400b007317720bb9bmr4515642ejc.717.1660907017433; Fri, 19 Aug 2022 04:03:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660907017; cv=none; d=google.com; s=arc-20160816; b=ZS0SOZ/uAsozSFRr0I46fu/ad786rOth+AQvvhiwS2n90par2DWSu69av/WR0BKpC4 83KZbzM+gtrCYCKIbprDgF8+uja+k7HzFB+AI/h+DjLVJkDlDrNy1Q3wyIAliLxDMrOY eQG+zPVGCgI/Q7PRcAEdZDyDaODhLB0Mcuy+65dYM0V7caHBNv8UOSU6CShRGeBgDdFq tmpcYCnk9AW0aXx/w8kVe4xUgcos2kVOrBXvZsWlMnHORQxObp5T3NJN8GeMyDJUNP7s 2U5NzF+N8r24eRgI3cAyuFmo7Khix+BI2M4qnK/NJ94ZacV/R6ji39iN7eQIvjGkSnvv njAQ== 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=ZQve5ox2hVpk8beomwDXP/jGifSMEJFVgUr/Yg8yXDs=; b=E+kbgwjCOWk5wOmK6+KJjkF3VSrvHNufnrsGWmjI9wUrpPLooZziiW6vnvBWio2GC4 xKb+5dqw7jFN0WATAR0AMD6zY6mz8bG6YaNHkcW5QtEL3xU7vcpfjolY4HAwy773VDYF NEmo9O3yIwOfcroYSN3NKWOU0Q9J16X8rhFLqJwLR089k7XJXgZq64QtHWIfqIKAQtOS RgB5XDd/0fgmG281POCf64tHQUR3YfKH8JIKrASHr+8HMbj/wZ7/emToOgqizZco+IvZ GXoZHEuMQHTZyyxq1uDzRkcg2StgFjH/hurrzC04TYpMRIUJPFeLA5IG2vvlPCx2naVW JZNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1vsNTt9P; 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 d8-20020a50ea88000000b00445561ca201si2678391edo.263.2022.08.19.04.03.12; Fri, 19 Aug 2022 04:03:37 -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=1vsNTt9P; 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 S1348430AbiHSK5P (ORCPT + 99 others); Fri, 19 Aug 2022 06:57:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347912AbiHSK5N (ORCPT ); Fri, 19 Aug 2022 06:57:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CA34F47D5; Fri, 19 Aug 2022 03:57:13 -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 D6F0A615FC; Fri, 19 Aug 2022 10:57:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7E66C433D6; Fri, 19 Aug 2022 10:57:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660906632; bh=cLUYf4HbteXyxGdivlNYB7UKIKFNgOPMrepEztjtCso=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1vsNTt9PO/DkgMT/+dB4QZcRUxYMz2raRuCJEo5Csp5/qwPU12+9A4UUDDR3d5C2v JeTlzlG9dMaLMOI1E2owwma7Xw964I7SJY1o/clMaZQCkMWzaHdbkoBDBtZeA4fH5v JNhT6qZ2t/+lUoUj/78mwKotKLB3VW30CRZ3M2zQ= Date: Fri, 19 Aug 2022 12:57:09 +0200 From: Greg KH To: Jean-Philippe Brucker Cc: RAJESH DASARI , stable@vger.kernel.org, linux-kernel@vger.kernel.org, df@google.com Subject: Re: bpf selftest failed in 5.4.210 kernel Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 Thu, Aug 18, 2022 at 08:55:16AM +0100, Jean-Philippe Brucker wrote: > On Thu, Aug 18, 2022 at 07:24:03AM +0200, Greg KH wrote: > > On Wed, Aug 17, 2022 at 09:22:00PM +0300, RAJESH DASARI wrote: > > > Hi , > > > > > > We are running bpf selftests on 5.4.210 kernel version and we see that > > > test case 11 of test_align failed. Please find the below error. > > > > > > selftests: bpf: test_align > > > Test 11: pointer variable subtraction ... Failed to find match 16: > > > R5_w=pkt(id=2,off=0,r=0,umin_value=2,umax_value=1082,var_off=(0x2; > > > 0xfffffffc) > > > # func#0 @0 > > > # 0: R1=ctx(id=0,off=0,imm=0) R10=fp0 > > > # 0: (61) r2 = *(u32 *)(r1 +76) > > > # 1: R1=ctx(id=0,off=0,imm=0) R2_w=pkt(id=0,off=0,r=0,imm=0) R10=fp0 > > > # 1: (61) r3 = *(u32 *)(r1 +80) > > > > > > For complete errors please see the attached file. The same test case > > > execution was successful in the 5.4.209 version , could you please let > > > me know any known issue with the recent changes in 5.4.210 and how to > > > fix these errors. > > > > Can you use 'git bisect' to find the offending commit? > > It probably is 6098562ed9df ("selftests/bpf: Fix "dubious pointer > arithmetic" test") > https://lore.kernel.org/all/20220803145005.2385039-6-ovidiu.panait@windriver.com/ > Could you try reverting that? > > The patch didn't have a Fixes: tags, because the bugfix it refers to was > merged at the same time. That bugfix is upstream commit b02709587ea3 > ("bpf: Fix propagation of 32-bit signed bounds from 64-bit bounds.") > > Since b02709587ea3 was only backported down to 5.10, this fix shouldn't be > in 5.4. Sorry for not catching this earlier. Can you send in a revert for this? thanks, greg k-h