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
kernel BUG at net/core/skbuff.c:4044! #8771
Comments
@tomastigera @sridhartigera any thoughts? |
@dracoding what kernel do you use?
yes, that should happen within the kernel automatically, outside of calico's code (so I assume you are using ebpf) |
my kernel version is 5.16.20.
yes, I'm using the calico with enabling the bpf. no ebpf outside of calico's code. |
what distro is it? |
FWIW, a kernel BUG panic means there's a bug in the kernel, not in Calico. We'll do what we can but please can you report it to your distro vendor. To have a chance of figuring it out we;ll need to know exact details of the kernel/distro/hardware that you're using along with details of your workload that is causing the problem. Please can you also try a more recent kernel, there have been bugs like this in the past, quite possible this one is already fixed upstream. |
CentOS Linux release 7.8.2003 (Core) |
it was only happening in the cluster enabling calico ebpf mode, maybe this trigger the kernel bug. It doesn't happen frequently, maybe few months once. I'm not sure which workload will cause the problem. I will try a more recent kernel but it may need a long time to test. Distro: CentOS Linux release 7.8.2003 (Core). any hardware infomation i will provide. |
The network mode of Calico is BGP. when enabling GRO and GSO, it will crash randomly.
Expected Behavior
Avoid crash when enable gro/gso.
Current Behavior
the stacktrace is as follows.
Possible Solution
Disabled GRO and GSO is active.
Context
The patch mentioned in this #6865 doesn't work for me.
analysis the vmcore, it was crashed at BUG_ON(skb_headlen(list_skb) > len).
The gso_size is 75, the frag_list has one element which head_frag is 1. the skb_shared_info struct is as following.
In BGP mode, the ebpf will call the bpf_skb_adjust_room() to adjust the gso_size?
Your Environment
Calico version: v3.24.5
The text was updated successfully, but these errors were encountered: