====================================== | [ 3546.571132] ------------[ cut here ]------------ | [ 3546.571645] DEBUG_LOCKS_WARN_ON(lock->magic != lock) | [ 3546.571663] WARNING: CPU: 1 PID: 10 at kernel/locking/mutex.c:587 __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:752) | [ 3546.572632] Modules linked in: act_gact cls_flower sch_ingress ip6t_REJECT ipt_REJECT sch_etf sch_fq dccp_ipv6 dccp_ipv4 dccp vxlan nft_chain_nat xt_nat nf_nat xt_conntrack nf_conntrack nf_defrag_ipv4 nft_compat nf_tables libcrc32c nf_defrag_ipv6 poly1305_generic libpoly1305 chacha_generic libchacha chacha20poly1305 tls [ 3546.575559] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 3546.576781] Workqueue: netns cleanup_net [ 3546.577232] RIP: 0010:__mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:752) [ 3546.577706] Code: ff 90 e8 a2 e7 70 ff 85 c0 74 23 8b 35 9c 8e db 00 85 f6 75 19 90 48 c7 c6 97 37 6a bd 48 c7 c7 3a ac 69 bd e8 00 04 26 ff 90 <0f> 0b 90 90 90 e9 03 fd ff ff 4c 8d 6d a0 4c 89 e7 4c 89 ee e8 d6 All code ======== 0: ff 90 e8 a2 e7 70 call *0x70e7a2e8(%rax) 6: ff 85 c0 74 23 8b incl -0x74dc8b40(%rbp) c: 35 9c 8e db 00 xor $0xdb8e9c,%eax 11: 85 f6 test %esi,%esi 13: 75 19 jne 0x2e 15: 90 nop 16: 48 c7 c6 97 37 6a bd mov $0xffffffffbd6a3797,%rsi 1d: 48 c7 c7 3a ac 69 bd mov $0xffffffffbd69ac3a,%rdi 24: e8 00 04 26 ff call 0xffffffffff260429 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: e9 03 fd ff ff jmp 0xfffffffffffffd37 34: 4c 8d 6d a0 lea -0x60(%rbp),%r13 38: 4c 89 e7 mov %r12,%rdi 3b: 4c 89 ee mov %r13,%rsi 3e: e8 .byte 0xe8 3f: d6 (bad) Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 90 nop 4: 90 nop 5: e9 03 fd ff ff jmp 0xfffffffffffffd0d a: 4c 8d 6d a0 lea -0x60(%rbp),%r13 e: 4c 89 e7 mov %r12,%rdi 11: 4c 89 ee mov %r13,%rsi 14: e8 .byte 0xe8 15: d6 (bad) [ 3546.579585] RSP: 0018:ffffb7c28005ba30 EFLAGS: 00010282 [ 3546.580096] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000ffffdfff [ 3546.580784] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 3546.581436] RBP: ffffb7c28005bab0 R08: ffffffffbdb78508 R09: 00000000ffffdfff [ 3546.581870] R10: ffffffffbda98520 R11: ffffffffbdb4ca08 R12: ffff93a843979200 [ 3546.582376] R13: 0000000000000000 R14: 0000000000000000 R15: ffff93a84495d400 [ 3546.582932] FS: 0000000000000000(0000) GS:ffff93a87ec80000(0000) knlGS:0000000000000000 [ 3546.583408] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3546.583714] CR2: 00007f5d60730000 CR3: 0000000015460001 CR4: 0000000000770ef0 [ 3546.584092] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3546.584490] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 3546.584960] PKRU: 55555554 [ 3546.585106] Call Trace: [ 3546.585243] [ 3546.585362] ? __warn (kernel/panic.c:677) [ 3546.585543] ? __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:752) [ 3546.585747] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 3546.585953] ? handle_bug (arch/x86/kernel/traps.c:238) ok 1 selftests: [ 3546.586143] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) net: test_vxlan_nolocalbypass.sh [ 3546.586650] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 3546.586963] ? __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:752) [ 3546.587235] ? refcount_dec_and_mutex_lock (./arch/x86/include/asm/atomic.h:103 ./include/linux/atomic/atomic-arch-fallback.h:949 ./include/linux/atomic/atomic-instrumented.h:401 ./include/linux/refcount.h:261 ./include/linux/refcount.h:304 ./include/linux/refcount.h:322 lib/refcount.c:119 lib/refcount.c:113) [ 3546.587565] ? up_read (kernel/locking/rwsem.c:1622) [ 3546.587820] ? tc_setup_cb_destroy (net/sched/cls_api.c:3715) make[1]: Leaving[ 3546.588070] ? refcount_dec_and_mutex_lock (./arch/x86/include/asm/atomic.h:103 ./include/linux/atomic/atomic-arch-fallback.h:949 ./include/linux/atomic/atomic-instrumented.h:401 ./include/linux/refcount.h:261 ./include/linux/refcount.h:304 ./include/linux/refcount.h:322 lib/refcount.c:119 lib/refcount.c:113) directory '/home/virtme/testing-1/tools/testing/selftests/net' [ 3546.588868] refcount_dec_and_mutex_lock (./arch/x86/include/asm/atomic.h:103 ./include/linux/atomic/atomic-arch-fallback.h:949 ./include/linux/atomic/atomic-instrumented.h:401 ./include/linux/refcount.h:261 ./include/linux/refcount.h:304 ./include/linux/refcount.h:322 lib/refcount.c:119 lib/refcount.c:113) [ 3546.589217] __tcf_action_put (net/sched/act_api.c:377) [ 3546.589477] tcf_action_destroy (net/sched/act_api.c:413 net/sched/act_api.c:393 net/sched/act_api.c:1175) make: Leaving di[ 3546.589757] tcf_exts_destroy (net/sched/cls_api.c:3312) rectory '/home/virtme/testing-1/tools/testing/selftests' [ 3546.590432] __fl_destroy_filter (./include/net/pkt_cls.h:261 net/sched/cls_flower.c:425) cls_flower [ 3546.590855] __fl_delete (net/sched/cls_flower.c:574) cls_flower [ 3546.591109] fl_destroy (net/sched/cls_flower.c:599) cls_flower [ 3546.591363] tcf_proto_destroy (net/sched/cls_api.c:418) [ 3546.591631] tcf_chain_flush (net/sched/cls_api.c:737) xx__-> [ 3546.591837] __tcf_block_put (net/sched/cls_api.c:1070 net/sched/cls_api.c:1141 net/sched/cls_api.c:1305) [ 3546.592109] clsact_destroy (net/sched/sch_ingress.c:302) sch_ingress [ 3546.592374] __qdisc_destroy (net/sched/sch_generic.c:1067) [ 3546.592579] dev_shutdown (net/sched/sch_generic.c:1482) [ 3546.592784] unregister_netdevice_many_notify (./include/net/tcx.h:168 net/core/dev.c:11084) [ 3546.593074] default_device_exit_batch (net/core/dev.c:11629) [ 3546.593330] cleanup_net (net/core/net_namespace.c:636 (discriminator 3)) [ 3546.593533] ? process_one_work (kernel/workqueue.c:2606) [ 3546.593759] process_one_work (kernel/workqueue.c:2633) [ 3546.593979] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 3546.594181] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 3546.594408] kthread (kernel/kthread.c:388) [ 3546.594580] ? __pfx_kthread (kernel/kthread.c:341) [ 3546.594788] ret_from_fork (arch/x86/kernel/process.c:147) [ 3546.594991] ? __pfx_kthread (kernel/kthread.c:341) Finger prints: __mutex_lock:refcount_dec_and_mutex_lock:__tcf_action_put:tcf_action_destroy