====================================== | [ 17.288022][ T282] veth1: entered promiscuous mode | [ 17.291586][ T282] ------------[ cut here ]------------ | [ 17.291968][ T282] WARNING: CPU: 1 PID: 282 at ./include/net/netdev_lock.h:17 netif_set_mtu_ext (./include/net/netdev_lock.h:17 ./include/net/netdev_lock.h:15 ./include/net/netdev_lock.h:25 net/core/dev.c:9610) | [ 17.292779][ T282] Modules linked in: bridge stp llc vrf veth [ 17.293924][ T282] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.294317][ T282] RIP: 0010:netif_set_mtu_ext (./include/net/netdev_lock.h:17 ./include/net/netdev_lock.h:15 ./include/net/netdev_lock.h:25 net/core/dev.c:9610) [ 17.294684][ T282] Code: 00 00 8b 05 d7 bc 3a 02 85 c0 0f 84 52 fe ff ff 48 8d bb a0 0c 00 00 be ff ff ff ff e8 1a 63 7b 00 85 c0 0f 85 39 fe ff ff 90 <0f> 0b 90 e9 30 fe ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 All code ======== 0: 00 00 add %al,(%rax) 2: 8b 05 d7 bc 3a 02 mov 0x23abcd7(%rip),%eax # 0x23abcdf 8: 85 c0 test %eax,%eax a: 0f 84 52 fe ff ff je 0xfffffffffffffe62 10: 48 8d bb a0 0c 00 00 lea 0xca0(%rbx),%rdi 17: be ff ff ff ff mov $0xffffffff,%esi 1c: e8 1a 63 7b 00 call 0x7b633b 21: 85 c0 test %eax,%eax 23: 0f 85 39 fe ff ff jne 0xfffffffffffffe62 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: e9 30 fe ff ff jmp 0xfffffffffffffe62 32: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 39: fc ff df 3c: 4c 89 fa mov %r15,%rdx 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: e9 30 fe ff ff jmp 0xfffffffffffffe38 8: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax f: fc ff df 12: 4c 89 fa mov %r15,%rdx 15: 48 rex.W [ 17.295813][ T282] RSP: 0018:ffffc900005b6ef0 EFLAGS: 00010246 [ 17.296233][ T282] RAX: 0000000000000000 RBX: ffff888009ca2000 RCX: 0000000000000001 [ 17.296711][ T282] RDX: 0000000000000000 RSI: ffffffffae49b941 RDI: ffffffffadc555e0 [ 17.297175][ T282] RBP: ffffc900005b6fe0 R08: 0000000000000000 R09: 0000000000000000 [ 17.297662][ T282] R10: ffffc900005b7010 R11: ffffffffaf2a8918 R12: 1ffff920000b6de2 [ 17.298123][ T282] R13: 00000000000005dc R14: ffffc900005b7010 R15: ffff888009ca2f08 [ 17.298597][ T282] FS: 00007ff758d3a800(0000) GS:ffff888085d37000(0000) knlGS:0000000000000000 [ 17.299134][ T282] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 17.299536][ T282] CR2: 00000000004e5aa8 CR3: 0000000002719006 CR4: 0000000000772ef0 [ 17.300009][ T282] PKRU: 55555554 [ 17.300241][ T282] Call Trace: [ 17.300500][ T282] [ 17.300666][ T282] ? __pfx_netif_set_mtu_ext (net/core/dev.c:9607) [ 17.300977][ T282] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 17.301507][ T282] ? mark_held_locks (kernel/locking/lockdep.c:4328) [ 17.301819][ T282] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 17.302210][ T282] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 17.302544][ T282] netif_set_mtu (net/core/dev.c:9652) [ 17.302856][ T282] ? __pfx_netif_set_mtu (net/core/dev.c:9647) [ 17.303172][ T282] ? br_get_link_af_size_filtered (net/bridge/br_netlink.c:116) bridge [ 17.303616][ T282] dev_set_mtu (./include/net/netdev_lock.h:30 ./include/net/netdev_lock.h:47 net/core/dev_api.c:249) [ 17.303853][ T282] br_mtu_auto_adjust (net/bridge/br_if.c:525) bridge [ 17.304271][ T282] br_add_if (net/bridge/br_if.c:697) bridge [ 17.304647][ T282] do_set_master (net/core/rtnetlink.c:2948) [ 17.304962][ T282] do_setlink.constprop.0 (net/core/rtnetlink.c:3150) [ 17.305271][ T282] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3021) [ 17.305670][ T282] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 17.305990][ T282] ? validate_chain (kernel/locking/lockdep.c:3804 kernel/locking/lockdep.c:3824 kernel/locking/lockdep.c:3879) [ 17.306298][ T282] ? __kernel_text_address (kernel/extable.c:79) [ 17.306629][ T282] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 17.306947][ T282] ? __mutex_trylock_common (./arch/x86/include/asm/atomic64_64.h:101 ./include/linux/atomic/atomic-arch-fallback.h:4296 ./include/linux/atomic/atomic-long.h:1482 ./include/linux/atomic/atomic-instrumented.h:4458 kernel/locking/mutex.c:113) [ 17.307253][ T282] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:88) [ 17.307643][ T282] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 17.307958][ T282] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 17.308263][ T282] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 17.308578][ T282] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:728 kernel/locking/mutex.c:747) [ 17.308888][ T282] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 17.309202][ T282] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4056) [ 17.309519][ T282] ? __create_object (mm/kmemleak.c:771) [ 17.309839][ T282] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 17.310143][ T282] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 17.310487][ T282] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/preempt.h:104 ./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 17.310865][ T282] ? __rtnl_newlink (net/core/rtnetlink.c:3907) [ 17.311176][ T282] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4058) [ 17.311498][ T282] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 17.311808][ T282] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 17.312119][ T282] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 17.312446][ T282] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6944) [ 17.312773][ T282] ? __lock_release (kernel/locking/lockdep.c:5539) [ 17.313081][ T282] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 17.313387][ T282] rtnetlink_rcv_msg (net/core/rtnetlink.c:6946) [ 17.313707][ T282] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 17.314019][ T282] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 17.314337][ T282] netlink_rcv_skb (net/netlink/af_netlink.c:2551) [ 17.314665][ T282] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 17.314971][ T282] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2528) [ 17.315288][ T282] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 17.315605][ T282] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 17.315914][ T282] netlink_unicast (net/netlink/af_netlink.c:1320 net/netlink/af_netlink.c:1346) [ 17.316255][ T282] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1331) [ 17.316583][ T282] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 17.316899][ T282] netlink_sendmsg (net/netlink/af_netlink.c:1896) [ 17.317209][ T282] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1815) [ 17.317530][ T282] ? __import_iovec (lib/iov_iter.c:1441 lib/iov_iter.c:1456) [ 17.317854][ T282] ____sys_sendmsg (net/socket.c:714 net/socket.c:729 net/socket.c:2614) [ 17.318176][ T282] ? __pfx_____sys_sendmsg (net/socket.c:2560) [ 17.318497][ T282] ? __pfx_copy_msghdr_from_user (net/socket.c:2540) [ 17.318897][ T282] ___sys_sendmsg (net/socket.c:2670) [ 17.319203][ T282] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 17.319523][ T282] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:127 kernel/rcu/tree.c:3096) [ 17.319906][ T282] ? __pfx____sys_sendmsg (net/socket.c:2657) [ 17.320213][ T282] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 17.320545][ T282] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 17.320857][ T282] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 17.321167][ T282] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:953 ./include/linux/mmzone.h:2168 arch/x86/mm/physaddr.c:65) [ 17.321489][ T282] ? __lock_release (kernel/locking/lockdep.c:5539) [ 17.321801][ T282] __sys_sendmsg (net/socket.c:2700) [ 17.322101][ T282] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3119) [ 17.322493][ T282] ? __pfx___sys_sendmsg (net/socket.c:2685) [ 17.322815][ T282] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 17.323123][ T282] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 17.323440][ T282] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.323838][ T282] RIP: 0033:0x7ff758f071e7 [ 17.324168][ T282] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0e (bad) 1: 00 f7 add %dh,%bh 3: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2e 00 00 00 mov $0x2e,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 17.325276][ T282] RSP: 002b:00007fff6b869f28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 17.325764][ T282] RAX: ffffffffffffffda RBX: 00007fff6b86a650 RCX: 00007ff758f071e7 [ 17.326227][ T282] RDX: 0000000000000000 RSI: 00007fff6b869f90 RDI: 0000000000000005 [ 17.326697][ T282] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 17.327159][ T282] R10: 00000000089af910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: netif_set_mtu_ext:netif_set_mtu:dev_set_mtu:br_mtu_auto_adjust:br_add_if