====================================== | [ 4293.534004][ T9746] 1 lock held by sctp_hello/9746: | [ 4293.534181][ T9746] #0: ffff8880077ac518 (sk_lock-AF_INET6){+.+.}-{0:0}, at: sctp_bind (./arch/x86/include/asm/jump_label.h:27 net/sctp/socket.c:315) sctp | [ 4293.534634][ T9746] | [ 4293.534634][ T9746] stack backtrace: [ 4293.535134][ T9746] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4293.535343][ T9746] Call Trace: [ 4293.535476][ T9746] [ 4293.535572][ T9746] dump_stack_lvl (lib/dump_stack.c:123) [ 4293.535753][ T9746] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6822) [ 4293.535932][ T9746] dev_get_by_index_rcu (net/core/dev.c:876 (discriminator 7)) [ 4293.536102][ T9746] sctp_v6_available (net/sctp/ipv6.c:701) sctp [ 4293.536311][ T9746] sctp_do_bind (net/sctp/socket.c:400) sctp [ 4293.536524][ T9746] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 4293.536743][ T9746] sctp_bind (net/sctp/socket.c:320) sctp [ 4293.536949][ T9746] inet6_bind_sk (net/ipv6/af_inet6.c:451) [ 4293.537127][ T9746] ? __pfx_inet6_bind_sk (net/ipv6/af_inet6.c:442) [ 4293.537297][ T9746] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 4293.537476][ T9746] __sys_bind (net/socket.c:1845 net/socket.c:1869) [ 4293.537608][ T9746] ? __pfx___sys_bind (net/socket.c:1860) [ 4293.537778][ T9746] ? __up_read (./arch/x86/include/asm/atomic64_64.h:79 ./include/linux/atomic/atomic-arch-fallback.h:2749 ./include/linux/atomic/atomic-long.h:184 ./include/linux/atomic/atomic-instrumented.h:3317 kernel/locking/rwsem.c:1345) [ 4293.537959][ T9746] ? do_user_addr_fault (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 ./include/linux/mm.h:729 arch/x86/mm/fault.c:1340) [ 4293.538133][ T9746] ? do_user_addr_fault (./include/linux/rcupdate.h:882 ./include/linux/mm.h:729 arch/x86/mm/fault.c:1340) [ 4293.538305][ T9746] __x64_sys_bind (net/socket.c:1875) [ 4293.538479][ T9746] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 4293.538655][ T9746] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 4293.538864][ T9746] RIP: 0033:0x7f6003cf8b2b [ 4293.539039][ T9746] Code: 73 01 c3 48 8b 0d d5 92 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 31 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a5 92 1b 00 f7 d8 64 89 01 48 All code ======== 0: 73 01 jae 0x3 2: c3 ret 3: 48 8b 0d d5 92 1b 00 mov 0x1b92d5(%rip),%rcx # 0x1b92df a: f7 d8 neg %eax c: 64 89 01 mov %eax,%fs:(%rcx) f: 48 83 c8 ff or $0xffffffffffffffff,%rax 13: c3 ret 14: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 1b: 00 00 00 1e: 90 nop 1f: f3 0f 1e fa endbr64 23: b8 31 00 00 00 mov $0x31,%eax 28: 0f 05 syscall 2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 8b 0d a5 92 1b 00 mov 0x1b92a5(%rip),%rcx # 0x1b92df 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 6: 73 01 jae 0x9 8: c3 ret 9: 48 8b 0d a5 92 1b 00 mov 0x1b92a5(%rip),%rcx # 0x1b92b5 10: f7 d8 neg %eax 12: 64 89 01 mov %eax,%fs:(%rcx) 15: 48 rex.W [ 4293.539613][ T9746] RSP: 002b:00007ffff50901d8 EFLAGS: 00000206 ORIG_RAX: 0000000000000031 [ 4293.539869][ T9746] RAX: ffffffffffffffda RBX: 00007ffff50903c8 RCX: 00007f6003cf8b2b [ 4293.540122][ T9746] RDX: 000000000000001c RSI: 00007ffff5090210 RDI: 0000000000000005 [ 4293.540374][ T9746] RBP: 0000000000000005 R08: 1999999999999999 R09: 0000000000000000 [ 4293.540623][ T9746] R10: 00007f6003cc9d90 R11: 0000000000000206 R12: 00007ffff50919da Finger prints: lockdep_rcu_suspicious:dev_get_by_index_rcu:sctp_v6_available:sctp_do_bind:sctp_bind