Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2321333lqb; Mon, 27 May 2024 16:10:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZFn+TBWVlo/VHE1t2IbkmJ2XRhuB7Xp/igPygq8Q0sZ7E33JnvTYp6vlDdJq5SKs32tACQK2JB0zVKYdZwmNMYZP0EMtT1JsLAVpMow== X-Google-Smtp-Source: AGHT+IF1+EMC3ItwGCLs14UmslkC7g4PMXGTHrGjycA0kUkPUGjOEKBvoOEgZROSeSwZAM69F+WS X-Received: by 2002:a17:902:cf0e:b0:1f2:f784:97a3 with SMTP id d9443c01a7336-1f4497d6abamr129564965ad.51.1716851458722; Mon, 27 May 2024 16:10:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716851458; cv=pass; d=google.com; s=arc-20160816; b=cC/EqDJ4KozB9TKc3Qjt6pBnEaPhQ/6CXd6bc1YJRf+D1jTueU/d4SKRe0Y0BSsiDn Pa00l5d77O93HWJ+WUpB/ytv4b3O+bKjLFmwXKghvAmnf1fn4Z7Sq9ImuZQ2l04SuWT+ ww4exiCuKFEryKJU/ZBT/PFulN22xR39eK6EewKG2CghvwaptN2TeMLgHPB8yYtgI1dj zlKBm5h7YASPWqVh479vPNQB+wuVVGto+OxhB4TYg3T03iZ7WTY/cK5M9Wu4oWb1hX6f VNw6EKo9mF2I8rp9lFVHovVTUQYuZ6qp+d8J/XPOknQHAc1BMQ3dIvVCc5lC/gliZeik 5QGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=RVOzb8Iwto00hm2is07eYwHRhA1BrQNO00+Q+Gxb144=; fh=pfIFa2ALyyiOQq9mxA7eGv30HB2QNhT+fC+jHbOBbuM=; b=u5tQE6RjeHYnvYfkzm88oWdpRqZqo4pHFzSiGv69xrpyCzF/okU/p/PtPXVNHjQCcg tZc5+D5XTHYy4pBfS1I124BIpj0QD2IdFlG7nutbsPHkzF9S0XUOf4fof7NnxZsQQ27r zF53DuPCdJCilZzffdT73FM78DB7mKREvrQL822WCLBfTOGFgLbCReUuyhmI+pxxgNTB QPKVAMG5RfrJ3ATfsb9wW4/ba9hp/PAZOt9tv2dl/0kpTP9mS4axYiSYyL7PQplJGvhE yFwtb+a1VhqGjedO0a+lYyVShG2QrFWs4VMLglO+rjVN0lXSsZyS9mJUoJdOnrtDLhTG 3VKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lgGDdJqt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191504-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191504-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. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f46ddc0cc9si46253995ad.390.2024.05.27.16.10.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 16:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191504-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lgGDdJqt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191504-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191504-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 866EAB21209 for ; Mon, 27 May 2024 23:10:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DCD2167270; Mon, 27 May 2024 23:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lgGDdJqt" 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 92DBB383B1 for ; Mon, 27 May 2024 23:10:49 +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=1716851449; cv=none; b=LmkZFCeXMcDteT4xU7ekHHM1hSUDpkqvX8iH1RkKx+vCZBnAXBkykj6FAOo8obDSfPIJKnPiEXwKP67qTyXoUJbC1Yr7CKLuKjsT2VH5hKzLgbPDLzO4MCJMmK18nyrnZnD9EJQpxWK95KAc0qxvzrJ6py96zwpMLGJwxapOpao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716851449; c=relaxed/simple; bh=RFEMcuP2eTdQG3rCRF/XncUOHdRSP50IIGauX333D0U=; h=Date:From:To:Cc:Subject:Message-Id:Mime-Version:Content-Type; b=K5EpkMv15Lth/1vFu2+dc5H2dZmge4G8/ew6Xz8Cs4+dscvUkneK2K+BxzINsh+sCuINpd4wCrDatUoafTXfiBMHr8LgPAsq5N7exkb0KuDypBktFqpJmQI2TvmNX/qlWrcfhgu4XRBVid21xoNXDA+vYZgNXkTQHBrDj9wvgG8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lgGDdJqt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61326C2BBFC; Mon, 27 May 2024 23:10:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716851449; bh=RFEMcuP2eTdQG3rCRF/XncUOHdRSP50IIGauX333D0U=; h=Date:From:To:Cc:Subject:From; b=lgGDdJqtDw9QXoMtEO3EOJTYRq42e6tJAkheVN1Y6xV1RiE96qaUcWvBCszDqEeYo WwVeTzkVTwTCpuTmxf0uEI1fbaW78N20Cpxy9STJM1TmuLvtiT2j2q75mQgZqD3FVA eHTNz5V0upHmFTwsAguuqfPp0fD/a7DwPoxMhxNkpLJpRGhoWb7kbZP8Fh9JK+dZl9 BF1N92DtydEJRMtK6GHwlJT8E+HhCjb9wz0f2CIr8leQfmMTPvycaLETIEClx18w81 mgonUK6TxqPHQdN1mh1O3w9vjzrBjAGj1CIVCCOcXILP2stVB45WSvVenSu+gGSFt9 pQ4hNSrS0ONBQ== Date: Tue, 28 May 2024 08:10:44 +0900 From: Masami Hiramatsu (Google) To: Linus Torvalds Cc: Andrii Nakryiko , Carlos =?UTF-8?B?TMOzcGV6?= , Steven Rostedt , Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: [GIT PULL] probes: Fixes for v6.10-rc1 Message-Id: <20240528081044.aa2ad32fbec8e15e2144d5f4@kernel.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Linus, Probes fixes for v6.10-rc1: - uprobes: prevent mutex_lock() under rcu_read_lock(). Recent changes moves uprobe_cpu_buffer preparation which involves mutex_lock(), under __uprobe_trace_func() which is called inside rcu_read_lock(). Fix it by moving uprobe_cpu_buffer preparation outside of __uprobe_trace_func(). - kprobe-events: Fix to handle the error case of btf_find_struct_member(). Please pull the latest probes-fixes-v6.10-rc1 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git probes-fixes-v6.10-rc1 Tag SHA1: bb80683f3a93708ce63bae89b6c712a1a8ff1c43 Head SHA1: e569eb34970281438e2b48a3ef11c87459fcfbcb Andrii Nakryiko (1): uprobes: prevent mutex_lock() under rcu_read_lock() Carlos López (1): tracing/probes: fix error check in parse_btf_field() ---- kernel/trace/trace_probe.c | 4 ++++ kernel/trace/trace_uprobe.c | 14 +++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) -- Masami Hiramatsu (Google)