====================================== | [ 208.298543][ T1814] #0: ffffffff9a5e7a48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) | [ 208.298842][ T1814] #1: ffffffff9a5d6630 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) | [ 208.299206][ T1814] | [ 208.299206][ T1814] stack backtrace: [ 208.299664][ T1814] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 208.299897][ T1814] Call Trace: [ 208.300024][ T1814] [ 208.300112][ T1814] dump_stack_lvl (lib/dump_stack.c:123) [ 208.300285][ T1814] print_deadlock_bug (kernel/locking/lockdep.c:3040) [ 208.300462][ T1814] validate_chain (kernel/locking/lockdep.c:3894) [ 208.300631][ T1814] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 208.300799][ T1814] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 208.300963][ T1814] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 208.301092][ T1814] __lock_acquire (kernel/locking/lockdep.c:5226) [ 208.301262][ T1814] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 208.301432][ T1814] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 208.301598][ T1814] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 208.301828][ T1814] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 208.302012][ T1814] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 208.302191][ T1814] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 208.302365][ T1814] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 208.302540][ T1814] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 208.302749][ T1814] down_read (./arch/x86/include/asm/preempt.h:79 kernel/locking/rwsem.c:1246 kernel/locking/rwsem.c:1261 kernel/locking/rwsem.c:1526) [ 208.302879][ T1814] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 208.303124][ T1814] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 208.303336][ T1814] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 208.303516][ T1814] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 208.303699][ T1814] dev_set_mtu_ext (./include/linux/notifier.h:207 net/core/dev.c:9101) [ 208.303883][ T1814] ? __pfx_dev_set_mtu_ext (net/core/dev.c:9087) [ 208.304075][ T1814] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4339 kernel/locking/lockdep.c:4406) [ 208.304283][ T1814] ? fib6_walk (net/ipv6/ip6_fib.c:2175) [ 208.304540][ T1814] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:97 kernel/softirq.c:394) [ 208.304711][ T1814] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 208.304876][ T1814] dev_set_mtu (net/core/dev.c:9130) [ 208.305002][ T1814] ? __pfx_dev_set_mtu (net/core/dev.c:9125) [ 208.305173][ T1814] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 208.305343][ T1814] ? __lock_release (kernel/locking/lockdep.c:5525) [ 208.305543][ T1814] ? packet_notifier (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/packet/af_packet.c:4280) [ 208.305718][ T1814] br_mtu_auto_adjust (net/bridge/br_if.c:525) bridge [ 208.305966][ T1814] br_device_event (net/bridge/br.c:142) bridge [ 208.306166][ T1814] ? __pfx_br_device_event (net/bridge/br.c:29) bridge [ 208.306436][ T1814] ? packet_notifier (net/packet/af_packet.c:4282) [ 208.306608][ T1814] notifier_call_chain (kernel/notifier.c:85 (discriminator 2)) [ 208.306791][ T1814] blocking_notifier_call_chain (kernel/notifier.c:381 kernel/notifier.c:368) [ 208.306966][ T1814] dev_set_mtu_ext (./include/linux/notifier.h:207 net/core/dev.c:9111) [ 208.307143][ T1814] ? __pfx_dev_set_mtu_ext (net/core/dev.c:9087) [ 208.307311][ T1814] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 208.307523][ T1814] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 208.307687][ T1814] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 208.307817][ T1814] do_setlink.constprop.0 (net/core/rtnetlink.c:3072) [ 208.307990][ T1814] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:2990) [ 208.308200][ T1814] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 208.308373][ T1814] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) [ 208.308544][ T1814] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3912) [ 208.308708][ T1814] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6902) [ 208.308879][ T1814] ? __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:104) [ 208.309051][ T1814] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 208.309265][ T1814] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 208.309428][ T1814] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 37)) [ 208.309601][ T1814] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:735) [ 208.309767][ T1814] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 208.309931][ T1814] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) [ 208.310104][ T1814] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 208.310272][ T1814] ? __rtnl_newlink (net/core/rtnetlink.c:3862) [ 208.310439][ T1814] rtnl_newlink (net/core/rtnetlink.c:336 net/core/rtnetlink.c:4013) [ 208.310610][ T1814] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3903) [ 208.310774][ T1814] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 208.310946][ T1814] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 208.311109][ T1814] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 208.311283][ T1814] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6900) [ 208.311447][ T1814] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3903) [ 208.311615][ T1814] rtnetlink_rcv_msg (net/core/rtnetlink.c:6902) [ 208.311780][ T1814] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6805) [ 208.311944][ T1814] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 208.312115][ T1814] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 208.312242][ T1814] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 208.312409][ T1814] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 208.312575][ T1814] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6805) [ 208.312741][ T1814] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 208.312911][ T1814] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 208.313078][ T1814] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 208.313250][ T1814] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 208.313414][ T1814] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 208.313578][ T1814] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 208.313744][ T1814] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 208.313914][ T1814] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 208.314105][ T1814] ____sys_sendmsg (net/socket.c:711 net/socket.c:726 net/socket.c:2594) [ 208.314272][ T1814] ? __pfx_____sys_sendmsg (net/socket.c:2540) [ 208.314442][ T1814] ? __pfx_copy_msghdr_from_user (net/socket.c:2520) [ 208.314648][ T1814] ___sys_sendmsg (net/socket.c:2650) [ 208.314813][ T1814] ? __pfx____sys_sendmsg (net/socket.c:2637) [ 208.314992][ T1814] ? kasan_save_stack (mm/kasan/common.c:49) [ 208.315164][ T1814] ? kasan_save_stack (mm/kasan/common.c:48) [ 208.315327][ T1814] ? __kasan_record_aux_stack (mm/kasan/generic.c:544) [ 208.315496][ T1814] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:87 ./arch/x86/include/asm/irqflags.h:123 kernel/rcu/tree.c:3087) [ 208.315708][ T1814] ? __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 208.315871][ T1814] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 208.316062][ T1814] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 208.316272][ T1814] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 208.316443][ T1814] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 208.316611][ T1814] ? __lock_release (kernel/locking/lockdep.c:5525) [ 208.316799][ T1814] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2058 arch/x86/mm/physaddr.c:65) [ 208.316967][ T1814] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 208.317155][ T1814] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 208.317322][ T1814] __sys_sendmsg (net/socket.c:2680) [ 208.317488][ T1814] ? __pfx___sys_sendmsg (net/socket.c:2665) [ 208.317665][ T1814] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4643) [ 208.317875][ T1814] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 208.318049][ T1814] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 208.318261][ T1814] RIP: 0033:0x7f7d6f1129a7 [ 208.318437][ T1814] Code: 0a 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: 0a 00 or (%rax),%al 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 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) [ 208.319028][ T1814] RSP: 002b:00007ffc056edd08 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 208.319287][ T1814] RAX: ffffffffffffffda RBX: 00007ffc056ee430 RCX: 00007f7d6f1129a7 [ 208.319551][ T1814] RDX: 0000000000000000 RSI: 00007ffc056edd70 RDI: 0000000000000005 [ 208.319806][ T1814] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000078 [ 208.320053][ T1814] R10: 00007f7d6efd0ef8 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_deadlock_bug:validate_chain:__lock_acquire:down_read:blocking_notifier_call_chain