====================================== | [ 42.040509][ T637] veth1: entered promiscuous mode | [ 42.043222][ T637] ------------[ cut here ]------------ | [ 42.043654][ T637] WARNING: CPU: 0 PID: 637 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) | [ 42.044286][ T637] Modules linked in: bridge stp llc act_gact cls_flower sch_ingress vrf veth [ 42.045497][ T637] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.045882][ T637] 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) [ 42.046207][ T637] Code: 00 00 8b 05 b7 bb 3a 02 85 c0 0f 84 52 fe ff ff 48 8d bb a0 0c 00 00 be ff ff ff ff e8 fa 61 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 b7 bb 3a 02 mov 0x23abbb7(%rip),%eax # 0x23abbbf 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 fa 61 7b 00 call 0x7b621b 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 [ 42.047319][ T637] RSP: 0018:ffffc900005b6ef0 EFLAGS: 00010246 [ 42.047717][ T637] RAX: 0000000000000000 RBX: ffff88800f2d2000 RCX: 0000000000000001 [ 42.048184][ T637] RDX: 0000000000000000 RSI: ffffffffa929b939 RDI: ffffffffa8a555e0 [ 42.048899][ T637] RBP: ffffc900005b6fe0 R08: 0000000000000000 R09: 0000000000000000 [ 42.049370][ T637] R10: ffffc900005b7010 R11: ffffffffaa0a8918 R12: 1ffff920000b6de2 [ 42.049828][ T637] R13: 00000000000005dc R14: ffffc900005b7010 R15: ffff88800f2d2f08 [ 42.050285][ T637] FS: 00007f6613d91800(0000) GS:ffff88808aeb7000(0000) knlGS:0000000000000000 [ 42.051546][ T637] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.051941][ T637] CR2: 00000000004e5aa8 CR3: 0000000006009006 CR4: 0000000000772ef0 [ 42.052412][ T637] PKRU: 55555554 [ 42.052649][ T637] Call Trace: [ 42.052880][ T637] [ 42.053042][ T637] ? __pfx_netif_set_mtu_ext (net/core/dev.c:9607) [ 42.053377][ T637] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 42.053706][ T637] ? mark_held_locks (kernel/locking/lockdep.c:4328) [ 42.054012][ T637] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 42.054404][ T637] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 42.054717][ T637] netif_set_mtu (net/core/dev.c:9652) [ 42.055026][ T637] ? __pfx_netif_set_mtu (net/core/dev.c:9647) [ 42.055341][ T637] ? br_get_link_af_size_filtered (net/bridge/br_netlink.c:116) bridge [ 42.055775][ T637] dev_set_mtu (./include/net/netdev_lock.h:30 ./include/net/netdev_lock.h:47 net/core/dev_api.c:249) [ 42.056017][ T637] br_mtu_auto_adjust (net/bridge/br_if.c:525) bridge [ 42.056435][ T637] br_add_if (net/bridge/br_if.c:697) bridge [ 42.056787][ T637] do_set_master (./include/net/netdev_lock.h:30 ./include/net/netdev_lock.h:41 net/core/rtnetlink.c:2949) [ 42.057104][ T637] do_setlink.constprop.0 (net/core/rtnetlink.c:3150) [ 42.057448][ T637] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3021) [ 42.057926][ T637] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 42.058246][ T637] ? validate_chain (kernel/locking/lockdep.c:3804 kernel/locking/lockdep.c:3824 kernel/locking/lockdep.c:3879) [ 42.058561][ T637] ? __kernel_text_address (kernel/extable.c:79) [ 42.058873][ T637] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 42.059185][ T637] ? __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) [ 42.059502][ T637] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:88) [ 42.059887][ T637] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 42.060197][ T637] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 42.060516][ T637] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 42.060826][ T637] ? __mutex_lock (./arch/x86/include/asm/preempt.h:104 kernel/locking/mutex.c:728 kernel/locking/mutex.c:747) [ 42.061134][ T637] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 42.061450][ T637] ? rtnl_newlink (net/core/rtnetlink.c:343 net/core/rtnetlink.c:4056) [ 42.061756][ T637] ? __create_object (mm/kmemleak.c:771) [ 42.062067][ T637] ? __pfx___mutex_lock (kernel/locking/mutex.c:746) [ 42.062382][ T637] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 42.062690][ T637] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/preempt.h:104 ./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 42.063077][ T637] ? __rtnl_newlink (net/core/rtnetlink.c:3907) [ 42.063418][ T637] rtnl_newlink (net/core/rtnetlink.c:351 net/core/rtnetlink.c:4058) [ 42.063733][ T637] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 42.064040][ T637] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 42.064366][ T637] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 42.064677][ T637] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/core/rtnetlink.c:6944) [ 42.065013][ T637] ? __lock_release (kernel/locking/lockdep.c:5539) [ 42.065330][ T637] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3948) [ 42.065651][ T637] rtnetlink_rcv_msg (net/core/rtnetlink.c:6946) [ 42.065977][ T637] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 42.066288][ T637] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 42.066638][ T637] netlink_rcv_skb (net/netlink/af_netlink.c:2551) [ 42.066979][ T637] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6849) [ 42.067303][ T637] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2528) [ 42.067639][ T637] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 42.067945][ T637] ? 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) [ 42.068258][ T637] netlink_unicast (net/netlink/af_netlink.c:1321 net/netlink/af_netlink.c:1346) [ 42.068607][ T637] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1331) [ 42.069029][ T637] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 42.069362][ T637] netlink_sendmsg (net/netlink/af_netlink.c:1896) [ 42.069698][ T637] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1815) [ 42.070019][ T637] ? __import_iovec (lib/iov_iter.c:1441 lib/iov_iter.c:1456) [ 42.070339][ T637] ____sys_sendmsg (net/socket.c:714 net/socket.c:729 net/socket.c:2614) [ 42.070660][ T637] ? __pfx_____sys_sendmsg (net/socket.c:2560) [ 42.070968][ T637] ? __pfx_copy_msghdr_from_user (net/socket.c:2540) [ 42.071373][ T637] ___sys_sendmsg (net/socket.c:2670) [ 42.071677][ T637] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 42.071984][ T637] ? __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) [ 42.072481][ T637] ? __pfx____sys_sendmsg (net/socket.c:2657) [ 42.072791][ T637] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 42.073100][ T637] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 42.073500][ T637] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 42.074078][ T637] ? __virt_addr_valid (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:953 ./include/linux/mmzone.h:2168 arch/x86/mm/physaddr.c:65) [ 42.074395][ T637] ? __lock_release (kernel/locking/lockdep.c:5539) [ 42.074710][ T637] __sys_sendmsg (net/socket.c:2700) [ 42.075020][ T637] ? __call_rcu_common.constprop.0 (kernel/rcu/tree.c:3119) [ 42.075411][ T637] ? __pfx___sys_sendmsg (net/socket.c:2685) [ 42.075731][ T637] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 42.076041][ T637] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 42.076809][ T637] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 42.077201][ T637] RIP: 0033:0x7f6613f5e1e7 [ 42.077528][ T637] 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) [ 42.078637][ T637] RSP: 002b:00007ffc325fb898 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 42.079362][ T637] RAX: ffffffffffffffda RBX: 00007ffc325fbfc0 RCX: 00007f6613f5e1e7 [ 42.080314][ T637] RDX: 0000000000000000 RSI: 00007ffc325fb900 RDI: 0000000000000005 [ 42.081026][ T637] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 42.082477][ T637] R10: 0000000007789910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: netif_set_mtu_ext:netif_set_mtu:dev_set_mtu:br_mtu_auto_adjust:br_add_if