From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B1DC83858C2C; Fri, 1 Dec 2023 14:51:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B1DC83858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1701442318; bh=MNKxyjGiQLd2OqEw3UgbO8AiebN0EQ/GOwqrpk5Mzs0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iPwJgddTYzE0gKCQy4MePcVcZa6HOecabDv4o8FOtXWSjZqGbsaed3MrDcae4aamd nyeUhu7VbaKWZGL9UjJzLh+/WE0BI21zKiU9525ppEXR/qXUu+GX025UVFn+eWJNkw 5UWwc9vG7xscwqs8yfM2n8zSBplKy6Pdn/w5NTHo= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31074] On aarch64 the systemtap.base/set_kernel.stp triggers "Unable to handle kernel paging request" Date: Fri, 01 Dec 2023 14:51:52 +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: ASSIGNED 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: 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=3D31074 --- Comment #5 from William Cohen --- I have done some addition investigation using diagnostic print statements to runtime/linux/stp_tracepoint.c. The tracepoint_table[0] is getting corrupt= ed.=20 The lower 4 bytes of that entry are being zeroed.=20 The problem is linked to the: set_kernel_string(addr, "foobar") The interesting thing is that the set_kernel_string_n() functions later in = the test do not have an issue, but they use the same underlying code. If the l= en passed in is set to a value greater than 508 then the set_kernel_string_n() will cause a similar corruption. So it appears that issue is happening _stp_store_deref_string. --=20 You are receiving this mail because: You are the assignee for the bug.=