* [Bug runtime/31893] New: access_ok() was called without turning off page faults
@ 2024-06-13 19:42 agentzh at gmail dot com
2024-06-13 19:49 ` [Bug runtime/31893] " agentzh at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: agentzh at gmail dot com @ 2024-06-13 19:42 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=31893
Bug ID: 31893
Summary: access_ok() was called without turning off page faults
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: ---
Currently, `_stp_copy_from_user` in the stap runtime invokes access_ok()
without first turning off page faults, which might lead to the following
warning in dmesg when using a debug kernel:
```
WARNING: CPU: 1 PID: 1158392 at arch/x86/include/asm/uaccess.h:541
_stp_copy_from_user+0x196/0x210
```
I'll prepare a patch to fix this.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug runtime/31893] access_ok() was called without turning off page faults
2024-06-13 19:42 [Bug runtime/31893] New: access_ok() was called without turning off page faults agentzh at gmail dot com
@ 2024-06-13 19:49 ` agentzh at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: agentzh at gmail dot com @ 2024-06-13 19:49 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=31893
agentzh <agentzh at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from agentzh <agentzh at gmail dot com> ---
Fixed in commit fb1be6c9c1963.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-13 19:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-13 19:42 [Bug runtime/31893] New: access_ok() was called without turning off page faults agentzh at gmail dot com
2024-06-13 19:49 ` [Bug runtime/31893] " agentzh at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).