-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
eBPF kenel panic - net/core/skbuff.c:4082 #6865
Comments
Thank you filing this issue. I noticed that to work around this problem, you disabled GRO, but not GSO. @igcherkaev had recommended disabling both in flatcar/Flatcar#378 (comment), and we had found that disabling just one of the two insufficient, but that was with an older kernel version than we've been using over the last couple of weeks. Perhaps we should try enabling GSO again. |
The ebpf code triggers a bug in the kernel. ebpf actions should not trigger that, it should be safe. However, that does not mean that there is not a bug in calico code. There likely is and we are looking into it. |
So far, my testing confirm's @vojtechDB's observation:
|
@seh @vojtechDB so far it seems to be a genuine kernel bug |
Could you try this kernel patch? |
thank you @jbenc! I confirm I'm not able to reproduce kernel panic anymore. With a kernel without the patch I can reproduce it within a minute @tomastigera you were right Thank you guys! |
Thank you @jbenc for providing the fix. |
For a reference. Fixed in following RedHat errata https://access.redhat.com/errata/RHSA-2023:2951 |
In our cluster we use MetalLB for exposing L2 addresses (not BGP mode). If we generate high load for any IP announced by MetalLB, the node where the IP is announce from crash due to kernel panic
Expected Behavior
Avoid any crash of the node
Current Behavior
vmcore-dmesg:
Possible Solution
With disabled GRO for main interface like a workaround, the issue is not reproduceable
ethtool --offload eth0 generic-receive-offload off
Context
Flatcar and Ubuntu kernels are facing with the same issue: flatcar/Flatcar#378
Brief analysis by RH:
Your Environment
The text was updated successfully, but these errors were encountered: