====================================== | [ 16.661546][ T283] veth1: entered promiscuous mode | [ 16.663771][ T283] ------------[ cut here ]------------ | [ 16.664095][ T283] WARNING: CPU: 0 PID: 283 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) | [ 16.664739][ T283] Modules linked in: bridge stp llc vrf veth [ 16.666547][ T283] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.666937][ T283] 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) [ 16.667263][ T283] 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 [ 16.668373][ T283] RSP: 0018:ffffc90000596ef0 EFLAGS: 00010246 [ 16.668765][ T283] RAX: 0000000000000000 RBX: ffff88800f26a000 RCX: 0000000000000001 [ 16.669238][ T283] RDX: 0000000000000000 RSI: ffffffff9ae9b941 RDI: ffffffff9a6555e0 [ 16.669703][ T283] RBP: ffffc90000596fe0 R08: 0000000000000000 R09: 0000000000000000 [ 16.670217][ T283] R10: ffffc90000597010 R11: ffffffff9bca8918 R12: 1ffff920000b2de2 [ 16.670702][ T283] R13: 00000000000005dc R14: ffffc90000597010 R15: ffff88800f26af08 [ 16.671176][ T283] FS: 00007f625acee800(0000) GS:ffff8880992b7000(0000) knlGS:0000000000000000 [ 16.671713][ T283] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 16.672105][ T283] CR2: 00000000004e5aa8 CR3: 000000000bb71006 CR4: 0000000000772ef0 [ 16.672580][ T283] PKRU: 55555554 [ 16.672814][ T283] Call Trace: [ 16.673053][ T283] [ 16.673225][ T283] ? __pfx_netif_set_mtu_ext (net/core/dev.c:9607) [ 16.673534][ T283] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 16.673847][ T283] ? mark_held_locks (kernel/locking/lockdep.c:4328) [ 16.674150][ T283] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 16.674555][ T283] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 16.674873][ T283] netif_set_mtu (net/core/dev.c:9652) [ 16.675193][ T283] ? __pfx_netif_set_mtu (net/core/dev.c:9647) [ 16.675698][ T283] ? br_get_link_af_size_filtered (net/bridge/br_netlink.c:116) bridge [ 16.676128][ T283] dev_set_mtu (./include/net/netdev_lock.h:30 ./include/net/netdev_lock.h:47 net/core/dev_api.c:249) [ 16.676372][ T283] br_mtu_auto_adjust (net/bridge/br_if.c:525) bridge [ 16.676789][ T283] br_add_if (net/bridge/br_if.c:697) bridge [ 16.677150][ T283] do_set_master (net/core/rtnetlink.c:2948) [ 16.677471][ T283] do_setlink.constprop.0 (net/core/rtnetlink.c:3150) [ 16.677781][ T283] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3021) [ 16.678180][ T283] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 16.678486][ T283] ? validate_chain (kernel/locking/lockdep.c:3804 kernel/locking/lockdep.c:3824 kernel/locking/lockdep.c:3879) [ 16.678790][ T283] ? __kernel_text_address (kernel/extable.c:79) [ 16.679101][ T283] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 16.679426][ T283] ? __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) [ 16.679734][ T283] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:88) [ 16.680111][ T283] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 16.680429][ T283] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 16.680746][ T283] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 16.681051][ T283] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:728 kernel/locking/mutex.c:747) [ 16.681368][ T283] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 16.681680][ T283] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4056) [ 16.681981][ T283] ? __create_object (mm/kmemleak.c:771) [ 16.682300][ T283] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 16.682606][ T283] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 16.682910][ T283] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/preempt.h:104 ./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 16.683299][ T283] ? __rtnl_newlink (net/core/rtnetlink.c:3907) [ 16.683612][ T283] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4058) [ 16.683926][ T283] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 16.684243][ T283] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 16.684556][ T283] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 16.684863][ T283] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6944) [ 16.685174][ T283] ? __lock_release (kernel/locking/lockdep.c:5539) [ 16.685483][ T283] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 16.685786][ T283] rtnetlink_rcv_msg (net/core/rtnetlink.c:6946) [ 16.686093][ T283] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 16.686419][ T283] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 16.686732][ T283] netlink_rcv_skb (net/netlink/af_netlink.c:2551) [ 16.687041][ T283] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 16.687360][ T283] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2528) [ 16.687681][ T283] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 16.687983][ T283] ? 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) [ 16.688304][ T283] netlink_unicast (net/netlink/af_netlink.c:1320 net/netlink/af_netlink.c:1346) [ 16.688614][ T283] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1331) [ 16.688919][ T283] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 16.689241][ T283] netlink_sendmsg (net/netlink/af_netlink.c:1896) [ 16.689551][ T283] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1815) [ 16.689858][ T283] ? __import_iovec (lib/iov_iter.c:1441 lib/iov_iter.c:1456) [ 16.690181][ T283] ____sys_sendmsg (net/socket.c:714 net/socket.c:729 net/socket.c:2614) [ 16.690499][ T283] ? __pfx_____sys_sendmsg (net/socket.c:2560) [ 16.690829][ T283] ? __pfx_copy_msghdr_from_user (net/socket.c:2540) [ 16.691232][ T283] ? queued_spin_lock_slowpath (./arch/x86/include/asm/atomic.h:107 ./include/linux/atomic/atomic-arch-fallback.h:2130 ./include/linux/atomic/atomic-instrumented.h:1280 ./arch/x86/include/asm/qspinlock.h:104 kernel/locking/qspinlock.c:141) [ 16.691544][ T283] ___sys_sendmsg (net/socket.c:2670) [ 16.691849][ T283] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 16.692168][ T283] ? __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) [ 16.692552][ T283] ? __pfx____sys_sendmsg (net/socket.c:2657) [ 16.692866][ T283] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 16.693183][ T283] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 16.693497][ T283] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 16.693802][ T283] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:953 ./include/linux/mmzone.h:2168 arch/x86/mm/physaddr.c:65) [ 16.694109][ T283] ? __lock_release (kernel/locking/lockdep.c:5539) [ 16.694437][ T283] __sys_sendmsg (net/socket.c:2700) [ 16.694744][ T283] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3119) [ 16.695122][ T283] ? __pfx___sys_sendmsg (net/socket.c:2685) [ 16.695470][ T283] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 16.695780][ T283] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 16.696089][ T283] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 16.696478][ T283] RIP: 0033:0x7f625aebb1e7 [ 16.696812][ T283] 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) [ 16.697923][ T283] RSP: 002b:00007fffa23909d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 16.698395][ T283] RAX: ffffffffffffffda RBX: 00007fffa2391100 RCX: 00007f625aebb1e7 [ 16.698858][ T283] RDX: 0000000000000000 RSI: 00007fffa2390a40 RDI: 0000000000000005 [ 16.699340][ T283] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 16.699806][ T283] R10: 0000000035d1c910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: netif_set_mtu_ext:netif_set_mtu:dev_set_mtu:br_mtu_auto_adjust:br_add_if