From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4F0753858D1E; Sat, 11 Nov 2023 05:50:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F0753858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699681836; bh=oBU2FjDVB2F5tua9vPX3N1wx82uUwLs0kho+lgv+ors=; h=From:To:Subject:Date:From; b=PO3LauJHpu3Yiv3rbI/24dNwuAJ4kRz0zkIWTDgpM3KpKcYxWmCwpY+3YGaxT5DiA iOvioTx/WtHk4XPwm5BAtg3xvP28PMuepEYIH60/6sawTeV7KpPnsyvXVcY6VK5x7H Pp2Wfs+Yhsm0Q9CvKW5hqdVbHUDAQeERaOsvapa0= From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31051] New: Error handling is incomplete in the early uprobe registration code Date: Sat, 11 Nov 2023 05:50:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: agentzh at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31051 Bug ID: 31051 Summary: Error handling is incomplete in the early uprobe registration code Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: agentzh at gmail dot com Target Milestone: --- Systemtap 5.0 introduced the early uprobe registration (module init time) a= s a performance optimization. Unfortunately, it does not handle the errors very well. For example, when uprobe_register() failed, there would be memory lea= ks and leftover uprobes (resulting in kernel panics). I'll prepare a patch to address this new regression. --=20 You are receiving this mail because: You are the assignee for the bug.=