Bug ID | 1190561 |
---|---|
Summary | OOPS / Invalid RIP in when attaching XDP program to veth interface |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.3 |
Hardware | x86-64 |
OS | openSUSE Leap 15.3 |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Network |
Assignee | screening-team-bugs@suse.de |
Reporter | m.rohrbacher@r-dev.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Attaching an xdp program to a veth interface may lead to a kernel OOPS in openSUSE Leap 15.3 (and most probably in SLES 15.3, too). To reproduce the crash, run the following command in multiple parallel loops: docker run --rm --privileged -v /tmp/bpf:/tmp/bpf builder15-3 ip link set eth0 xdp obj /tmp/bpf/kern.o sec xdp On our development machine (72 cores), I managed to get the crash within 1 to 20 minutes when starting 16 parallel loops. /tmp/bpf/kern.o can be a trivial xdp program (e.g. "return XDP_PASS") # uname -a Linux uranos 5.3.18-59.19-default #1 SMP Tue Aug 3 14:11:23 UTC 2021 (055c4fd) x86_64 x86_64 x86_64 GNU/Linux I reproduced this behavior multiple times, the lower part of the backtrace always differs, but it always ends up in "veth_poll+0x337". I'll attach different dmesg.txt files. Two of them contain an unsupported module (mxm_wmi), but I disabled it as soon as I noticed, so it has nothing to do with the crash.