[Bug runtime/31893] New: access_ok() was called without turning off page faults

agentzh at gmail dot com sourceware-bugzilla@sourceware.org
Thu Jun 13 19:42:08 GMT 2024


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.


More information about the Systemtap mailing list