From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id eCJ5MYkPJ2IILAAAWB0awg (envelope-from ) for ; Tue, 08 Mar 2022 03:10:49 -0500 Received: by simark.ca (Postfix, from userid 112) id AF5771F3CA; Tue, 8 Mar 2022 03:10:49 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 28ADC1EE1F for ; Tue, 8 Mar 2022 03:10:45 -0500 (EST) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4KCSgm3D8wz9Jj; Tue, 8 Mar 2022 03:10:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1646727044; bh=9s5eC5akM1gtawgpYuGbs9x+rQLi9DhDb1TXqAHp5HU=; h=Date:To:CC:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=F1VhIdS2qZFErqGrKLDExBADvbc7w4s5f4MWCVlVVNJMSpag1KQeUa4VAl/CH/LuL Vr2utrsPMpNLlJ1h+H9GqYoEHi+a0zpZxfRwSfdlGMegHhU2qG45OkxERR8EwGIgAI 6JBQMvebvzjHCiv08gWQA8xrA/NtD5TdBXIYyf0Pug7luVn0G3rKkLdNQPIkLVV2MD VkLPgBpOWbicRAtvrsMRLvvVhjj2Ze3tmg8u+4f1CKogeGPR4Z88oxGpAZaDfIafaa sjp94uInMAEn9sEzJCA7tIExL19z1zKJcXDn9wesNSHj05ALJ1JuMZAWABd3eE8uOF JarHC9EBEKgzA== Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lists.lttng.org (Postfix) with ESMTPS id 4KCSgl2W4Vz9Jh for ; Tue, 8 Mar 2022 03:10:43 -0500 (EST) Date: Tue, 8 Mar 2022 09:10:35 +0100 To: =?iso-8859-1?Q?J=E9r=E9mie?= Galarneau CC: lttng-dev , kernel Message-ID: <20220308081035.GA12065@axis.com> References: <20220225151202.4148809-1-vincent.whitchurch@axis.com> <1019241870.115039.1646155163638.JavaMail.zimbra@efficios.com> <20220302092730.GA26479@axis.com> <921962800.125936.1646674669086.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <921962800.125936.1646674669086.JavaMail.zimbra@efficios.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [lttng-dev] [PATCH lttng-tools] Fix: consumer-stream: use-after-free of metadata bucket X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vincent Whitchurch via lttng-dev Reply-To: Vincent Whitchurch Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" On Mon, Mar 07, 2022 at 06:37:49PM +0100, J=E9r=E9mie Galarneau wrote: > I had a chance to look into this and came up with the following fix: > https://review.lttng.org/c/lttng-tools/+/7478/4 > = > Would you have a chance to try it on your end before I merge it? I've tested the patch stack in patch set #5 and it does fix the problem for me too. Please feel free to add this if you like: Tested-by: Vincent Whitchurch (By the way, I noticed that patch(1) gets confused by the reproduction patch which is part of the commit message. This probably shouldn't matter much though, I only noticed it when I tried to revert the patch with git show | patch -p1 -R.) > Thanks for the great bug report! Thank you for the fix! _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev