Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp322532lqb; Thu, 14 Mar 2024 12:10:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLGzTZHB41R7IsX924YYVLGiYPblMUP2u2tVyuqyy9a+nhsG9jKKGG3OSOx1kHSP0OKGVez3/M8XJ5Icf31u1edtCzj26muijV0xAdpg== X-Google-Smtp-Source: AGHT+IGUeb6ObC8eGxgpTdtNs45XN1iJ2rRsA6A17wOu9Ym2nyjmSoJIem6Jno+Vn6fo7rTRMwUF X-Received: by 2002:a05:6871:a405:b0:21f:9c60:dba8 with SMTP id vz5-20020a056871a40500b0021f9c60dba8mr1742978oab.4.1710443442175; Thu, 14 Mar 2024 12:10:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710443442; cv=pass; d=google.com; s=arc-20160816; b=UkxwSrwVgjaALz2mGFDHIkejQYv2slr27Jmt9JvREMQA8FWbXS6xuuPScaKbOEGykR BmXVF9mlpz5t24xvTIESrhQSCWIHImu6QdQFMOIVQG3Nt0fu3X35vJKIu7gVrHjrfTSo jKUYkHHK+0DutUxy6ZcpkEWEH6hkQIQkIZzATiB51ggc7tUwhrhP9medZ1DA6Nm5jl3s Bd6Ac/ytkZi4/rFhFPtU0g1lUrbd31r4bkLrFb0dXXKkk+2aiCac0F/OaXZgQZYRbyHX MF5dg1WsKSzmvLTUKJztBtWXuozihn15UrPoKrDI+MBo5IJK4TYCfmq9Tdo4NaHlSsyR lJ3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=aEsLtxkD/jMKIci6OokaS5onh3GT5+5c5IlabBBJ5Ss=; fh=gI3tdVISTjM9RH6Vhyc/aCvlnRYtYtMq/NpyNRTW11A=; b=alJMIOIX/p5BO2AQ1jTypiW0EkCEwSYNlN8SacrbJB2Lw5WNUem355gbSo+5862O5P STkWvFmEI2LRb3c9b5KeNMInFaZ4V87BZ5Ou91fRUDXhg8zpRLWAz81xQTgPCMwGNPKz bSNWgdYQjLKR+TkkXiUSkaCKESoud9s6W/aZYSanG4oX0JKMgPLqJt5tfreEtM4oSf3k zwjsddnEcBO4QxDXyDt57yuz8EXNsd97E4k+glLQnA6oeZnl9MoQ0krbXclEyLt96e4w ZdwgUmsCAoWS9k9poWjQfMleZtQiQ5rhehlGbJSuRpwLOqeUZNmeX7RBtxTrRmxNe17F d4yQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CHR9glI1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-103718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ey10-20020a0562140b6a00b00690ca2ec976si1308097qvb.408.2024.03.14.12.10.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 12:10:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CHR9glI1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-103718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DD7241C2159B for ; Thu, 14 Mar 2024 19:10:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CB8C7580D; Thu, 14 Mar 2024 19:10:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CHR9glI1" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D53B2BB13; Thu, 14 Mar 2024 19:10:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710443431; cv=none; b=h/D89KrM9L0ySwnI8ODIS0Ms2dENkJjuthqWNSyTbP7/KuD5+3c1UM1aEbzff1RabWL4ehY0XMTIxpkRNy7QAJ+KssMfOqJDK7gfc4wY1DrSJ0NlgyeWC7LeBI6vmZvm9/3BCmNGGofOS9YE8M9sja7l0viVabjASyaFPvkloeE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710443431; c=relaxed/simple; bh=A/L/Xxt7fXbGgWNyQy6zNLHcJ/h/grArt2RG6AtChhQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=a5hhLtoykslpdgntv0oHiGOxgz3+mKGD4/JY82VF9DtQ3T43XZYJfeRrvfe7jrVrkkhYZD90qwOVCkOFvCG2R0HpJz3XZtLgPLrWoCCB3EnsJjdcQ3l0tBoIkP7c2r+w9UBDiD0WuACVjODKpBReQ+0fn+k7E2/XvyCRdAgHV9U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CHR9glI1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 0EDB3C43390; Thu, 14 Mar 2024 19:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710443431; bh=A/L/Xxt7fXbGgWNyQy6zNLHcJ/h/grArt2RG6AtChhQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=CHR9glI1tLyEueqMssJ6DbyET0pQVuIhLr129d91iPJEEtF7fFXERkSKTqsX9Yh3D jgbTefc6mN4tyU0YLhe/TxvymQmQ7BjfDEKJlTGnCcaSFZ+iB9UDui456G0FrsuYrY VGVrXw8rBGvSYU+Jqu/yJH2+IzeVv1MIl38kGmF7t5pAcqp87QodBJQS5G56nsnYD8 0G/qJgu1nK2s1bWdaPh7BZWWn4kNCfAOcwq7Koie1nYxpnccSnoMBdB/NEYIXvKkjO nffZuBZAj+wdlxwih+0KmAtxuzNhi0np+GvYJTvc3WJSXFkdTDjXdWhtHuQ2+Ctshw agvNM0F9MLSoQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id F01C6D95055; Thu, 14 Mar 2024 19:10:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf] bpf: Temporarily disable atomic operations in BPF arena From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171044343097.30186.7484635385194590602.git-patchwork-notify@kernel.org> Date: Thu, 14 Mar 2024 19:10:30 +0000 References: <20240314174931.98702-1-puranjay12@gmail.com> In-Reply-To: <20240314174931.98702-1-puranjay12@gmail.com> To: Puranjay Mohan Cc: ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com, song@kernel.org, yonghong.song@linux.dev, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, memxor@gmail.com, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf.git (master) by Alexei Starovoitov : On Thu, 14 Mar 2024 17:49:31 +0000 you wrote: > Currently, the x86 JIT handling PROBE_MEM32 tagged accesses is not > equipped to handle atomic accesses into PTR_TO_ARENA, as no PROBE_MEM32 > tagging is performed and no handling is enabled for them. > > This will lead to unsafety as the offset into arena will dereferenced > directly without turning it into a base + offset access into the arena > region. > > [...] Here is the summary with links: - [bpf] bpf: Temporarily disable atomic operations in BPF arena https://git.kernel.org/bpf/bpf/c/44d79142ede8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html