From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 CA192379966 for ; Tue, 7 Jul 2026 23:41:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783467686; cv=none; b=YDm/fs0md0fz395SWQJXrJxaOdG8iwOgFtJpgEqmlF8DViCVt+lSIBGPmaVfVjV8eO2ZLlGyMqXbQbuEewDflI14shU3wQt+ucEsA2rqLBStqnAuPMFODZKH5RAIM6By8E7v9/qP/G/wesY1Ls0C3gBu0kCNJw9aPz+sVW/qQeg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783467686; c=relaxed/simple; bh=P6EadysUx9H7lZabJSReFyh8FJdvN89JRPFgHt6s1DA=; h=Message-ID:Date:From:To:Cc:Subject; b=KiBdu2u5NDWntUDxlyjpFThcUxOI0L8l9YVponu3RgqHc0+e+AmHKbBC9QgmWRTc36diPs9nPIKTBy5dntlRb58G5Fr4yCI0HBrRT77mjKDFfgLvJYveGA5HbAJ4kUf0wmPYZeqkay7xVj4+CmQav8bFRqr9q7ID6YzCExXyws4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k0u7DFsm; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k0u7DFsm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E61D1F000E9; Tue, 7 Jul 2026 23:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783467685; bh=CsYVa2/OJ4lAECTkHjb0wUe206fMNy+HLs4ZXuedrx8=; h=Date:From:To:Cc:Subject; b=k0u7DFsmhz459gLq+8+U6AaK88DwZUnrY1bZYo8txbiWFrWN+YduIHaG/EKNE5//f 9LDyOq7evp/bIZ+JJjR/6AgyqVhCOZHU7uo75I0VXZCROYR0x4Ij4Zsd1C6p0JlM+e Ji900Ev+kqKBVzHqkUCnOwncm7bIeUwmE7w/Z21CABQnmt3IVe6OrUe4fo589qogLC 1mAXFbhtXrGN0DknzJR9WZ/Dh3aN5pheQdRT7KWgxtBGGQ8WaY30Re0jVNA8pR9IQI 2/sVr/f+VSjFZRepoFxDh5nzqDCCpF5eJ86493Ze8jWYh0F15P53oG6VQj7aCiouq/ 14w4DUWkxc5bA== Received: from rostedt by gandalf with local (Exim 4.99.4) (envelope-from ) id 1whFPt-00000000xp3-1TnN; Tue, 07 Jul 2026 19:41:29 -0400 Message-ID: <20260707233421.684046879@kernel.org> User-Agent: quilt/0.69 Date: Tue, 07 Jul 2026 19:34:21 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [for-linus][PATCH 0/2] tracing: More fixes for v7.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tracing fixes for 7.2: - Fix use-after-free in user_event_mm_dup() When the enabler is removed from the link list, it is freed immediately. But it is protected via RCU and needs to be freed after an RCU grace period. Use queue_rcu_work() so that the event_mutex can also be taken as user_event_put() takes the mutex on the last reference is released. - Free type string in error path of parse_synth_field() There's an error path in parse_synth_field() where the allocated type string is not freed. git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace/fixes Head SHA1: 05074bb90af94f2acbbc8f8ffaa507f914c273c8 Michael Bommarito (1): tracing/user_events: Fix use-after-free in user_event_mm_dup() Yu Peng (1): tracing/synthetic: Free type string on error path ---- kernel/trace/trace_events_synth.c | 4 +++- kernel/trace/trace_events_user.c | 39 ++++++++++++++++++++++++++++++++------- 2 files changed, 35 insertions(+), 8 deletions(-)