From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 51ECD3858CDA; Thu, 21 Mar 2024 14:31:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51ECD3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711031485; bh=Rh+F0XAceWD2XY4tnTxGoy56SdqUYwxZQrdqbMAASeY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FUg/jD/NOtuf5c7CBX2sMdjXP39+bt7yKUCS2HSxLiQ9LHxQWkEJxgGUyC1EKaS4L gjdF50xGNnSVv/WfTnmROB0gprjF4m5U6ikYqmD3W0u/HsHJqY+xMPXTdEyrMlOcyN 64d7lo30NSc1KxO2jh1/YWc/aG1B+pLeFyRdoMXQ= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31500] stapio exited with irqs disabled Date: Thu, 21 Mar 2024 14:31:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: wcohen at redhat dot com X-Bugzilla-Status: NEW 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: attachments.created Message-ID: In-Reply-To: References: 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=3D31500 --- Comment #8 from William Cohen --- Created attachment 15425 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15425&action=3Ded= it Proposed patch to prevent guru probing of kernel __init and __kprobe functi= ons The kernel init function run when the kernel starts up and then the pages t= hey are on may be freed and used for other purposes. It doesn't make sense to allow them to be probed. At best they will never get hit. At worst the page they are on may not be mapped in and attempting to register a kprobe on the nonexistent page will cause page faults that can't be handled. Similarly, I= t is unwise to allow kprobes on functions that are marked unsafe for kprobes. T= his attempts to probe those problem areas are only made when guru mode is used.= =20 This patch prevents guru mode from attempting to probe those problem areas. --=20 You are receiving this mail because: You are the assignee for the bug.=