Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Lan-ce-lot opened this issue May 22, 2024 · 2 comments
Open

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

Lan-ce-lot opened this issue May 22, 2024 · 2 comments

Comments

@Lan-ce-lot
Copy link

Lan-ce-lot commented May 22, 2024

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 Lan-ce-lot changed the title Bug: program kprobe_skb_1: load program: permission denied Bug: program kprobe_skb_2: load program: permission denied May 22, 2024
@jschwinger233
Copy link
Member

It's weird since we have 5.4 kernel covered in CI 😹 😭
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
Copy link
Member

Otherwise, can you provide the complete error log?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants