cilium / pwru

Packet, where are you? -- eBPF-based Linux kernel networking debugger
Apache License 2.0
2.86k stars 175 forks source link

Bug: program kprobe_skb_2: load program: permission denied #381

Open Lan-ce-lot opened 5 months ago

Lan-ce-lot commented 5 months ago

When I used the pwru on the machine, I had an error:

# sudo ./pwru 'dst host 127.0.0.1 and icmp'
...
program kprobe_skb_2: load program: permission denied: invalid indirect read from stack off -40+0 size 8 (10961 line(s) omitted)
# uname -a
Linux  5.4.119-19-0008 #1 SMP Mon Sep 13 14:54:39 CST 2021 x86_64 x86_64 x86_64 GNU/Linux
# ./pwru --version
pwru v1.0.6

How should I check this question?

jschwinger233 commented 5 months ago

It's weird since we have 5.4 kernel covered in CI :joy_cat: :sob: https://github.com/cilium/pwru/actions/runs/9267298652/job/25493627219

Would you like to try a newer version of kernel? 5.4.119 was released on 14-May-2021, a bit out of date (

jschwinger233 commented 4 months ago

Otherwise, can you provide the complete error log?

zhuxiaolong-g commented 1 week ago

error.log I have the same problem, the log is attached.