Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp865266rdb; Thu, 15 Feb 2024 19:31:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU8Totv9sckVvtrWXPIqCixUj1tfU7Wo0sjagpjyFhgOuXBOxRC23NCC/leI+K436SKdFlAX3Azm8Zs357YvCx6MdL1PfWzRWBYY/gr2w== X-Google-Smtp-Source: AGHT+IEmZULhO/kIqicPCx9yRsJUOkwp9KzvRVj/2NywI4g9uIgE1ioCNI9jQE1hRagm+CvUNphG X-Received: by 2002:a05:6a21:3183:b0:1a0:708a:4f6e with SMTP id za3-20020a056a21318300b001a0708a4f6emr4407847pzb.41.1708054317458; Thu, 15 Feb 2024 19:31:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708054317; cv=pass; d=google.com; s=arc-20160816; b=EfLt7qEhhQR5/POUgyEhfU86RxSywBWCGwm7ZF3f3N0jaKhFSQ5/lNrbumgt2NwLjB DsnvHd7vQmCEl1dTAncXPEa0fdciDNbqD68bSQc7EIBGdw9wOLsHg2p59W0PUDnADnk5 WDC34tkxGYkZqBwQpcyHc5XmUSDUm/Q0+rrRN7Va2OqFW8tlMzKF726Kep4ZQaLK8lph L1ebTO0IDjgFYJ25ubHD8csc8FxCNBrWF7aI86pPsHzflp9No4Gx+59vchTPEhQ/SplD P7jgK4SJPAOxaI3P2yNgcH5OtiZxWHkJJ0/wvMJsnGdBz3QD4NTOVOQbXx2MZCXD/Abe voRw== 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=ri9QvnjegbNFGMlzdKZFAJtIkUL1zdL2pwtic2c12/A=; fh=UB/XLQsQhr6KdmhcRZpPndvfE0kIrsLT0pV794zUALw=; b=kJvSIMrO/wizj2pBrk7I9ttJ7AsqQOP2k0zKn5Pb6sQsuH1tFqjijCPLzzlVbSttBw +1wg78AHTc8Acc2IbWB+Mb5fFFj3IvrwfauwFgObcqoJAVWwkpDJXRXD8myWXxdiloYq fBi6JVmmQ+hTu/ohGITkL+TLELWIHtozMvW2WhTfb3p/9kZLaO9XUAJdO+YQjjbfH203 1KEfymrTLBR7y1nwjk9Ntf/vL169d8L0k/Z25OsxIQwx3kTfnxNv3LoHpjNVFLO+lMXu WjSYtVzqv5Y05EN82Jb9Y9onnIWzbUvQJKztpYPrzMagsNAN3zluthIyWvhdNi7oAggS azDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MzGtOXY4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67988-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k3-20020a632403000000b005dcc075d611si1082197pgk.612.2024.02.15.19.31.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 19:31:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MzGtOXY4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67988-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 72742B23801 for ; Fri, 16 Feb 2024 03:30:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4131DFC12; Fri, 16 Feb 2024 03:30:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MzGtOXY4" 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 62950646; Fri, 16 Feb 2024 03:30:28 +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=1708054228; cv=none; b=ndxf4jD0a593TVip/QzP2nNVatLy4jO1a7b6MppUfsS49gsVPt4QBj/GUbzIpysAIpS4Gxoy9uFjaYawQlMxJ2GDKUTXXdAv2OGa5sEVlJiJ7J2UQN6qeD10JNLHxzWmfw1OtglpKcEUSEzdzWtePAPdsLVZlO4guKYZ2WvWZDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708054228; c=relaxed/simple; bh=yis5j+kuKbFEkfOigSfagwNj4LlTZyMS8LWzTsFv6m4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=jwr+tKfkuFmzzoTM3JWiZzZomBoKspIu5SppUHMyX5vmyiYBKe6+uCo2fnQyYgMxRzwfXeK1pvy+xkoY6ThfEal9FnODBStC8Wx+w1lw3RK7YDapViBTETyCNVykPhvr8K9Jsgt1mfqlBzwuT7BDb0pa85YE9hqncT2OcYCwG8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MzGtOXY4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 21894C43390; Fri, 16 Feb 2024 03:30:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708054228; bh=yis5j+kuKbFEkfOigSfagwNj4LlTZyMS8LWzTsFv6m4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=MzGtOXY4E/Cjid5zcVMIvrAR4qZV9RHEkOTXNjSvIMlWy7hGEYqj3C7Dog2N9viKp uHdHBdu6wQ/69vgKzrWF1fCRniggL575+B5ZnRK6WydC+8k2S0la74MgjVKV8LkwPN UvwEZbLmBsua8KLtn7TX7ZLnqfRcmisLSARYlyaH6QciOYSzD6JaTIxBrPIciYBdTR 386f1d1+n4iPOll7xXKuGNNu1jTvRe20yNA4dA5KV3XHZlkSHG0f+9ogyhu4Es05Ij bLP7hJvQgf2+gqKPcbcEauYyHXXtMKxOGIMZn278KdBOzokcA4QSWZmwbeWnUsRXZ7 Q4x4yHey6eJKQ== 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 05C0CD8C978; Fri, 16 Feb 2024 03:30:28 +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 v3 0/3] Fix the read of vsyscall page through bpf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170805422801.26502.12244225184380221288.git-patchwork-notify@kernel.org> Date: Fri, 16 Feb 2024 03:30:28 +0000 References: <20240202103935.3154011-1-houtao@huaweicloud.com> In-Reply-To: <20240202103935.3154011-1-houtao@huaweicloud.com> To: Hou Tao Cc: x86@kernel.org, bpf@vger.kernel.org, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, linux-kernel@vger.kernel.org, xrivendell7@gmail.com, jannh@google.com, sohil.mehta@intel.com, yonghong.song@linux.dev, houtao1@huawei.com Hello: This series was applied to bpf/bpf.git (master) by Alexei Starovoitov : On Fri, 2 Feb 2024 18:39:32 +0800 you wrote: > From: Hou Tao > > Hi, > > As reported by syzboot [1] and [2], when trying to read vsyscall page > by using bpf_probe_read_kernel() or bpf_probe_read(), oops may happen. > > [...] Here is the summary with links: - [bpf,v3,1/3] x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h https://git.kernel.org/bpf/bpf/c/ee0e39a63b78 - [bpf,v3,2/3] x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault() https://git.kernel.org/bpf/bpf/c/32019c659ecf - [bpf,v3,3/3] selftest/bpf: Test the read of vsyscall page under x86-64 https://git.kernel.org/bpf/bpf/c/be66d79189ec You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html