pwru icon indicating copy to clipboard operation
pwru copied to clipboard

Bug: program kprobe_skb_2: load program: permission denied

Open Lan-ce-lot opened this issue 1 year ago • 3 comments

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?

Lan-ce-lot avatar May 22 '24 02:05 Lan-ce-lot

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 avatar May 31 '24 09:05 jschwinger233

Otherwise, can you provide the complete error log?

jschwinger233 avatar Jun 21 '24 08:06 jschwinger233

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

zhuxiaolong-g avatar Nov 05 '24 01:11 zhuxiaolong-g

@zhuxiaolong-g @Lan-ce-lot Does the issue exist with the latest pwru release?

brb avatar Oct 24 '25 13:10 brb