====================================== | [ 1309.042193][ T9188] rcu_scheduler_active = 2, debug_locks = 1 | [ 1309.042443][ T9188] no locks held by smcrouted/9188. | [ 1309.043539][ T9188] | [ 1309.043539][ T9188] stack backtrace: [ 1309.044066][ T9188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1309.044290][ T9188] Call Trace: [ 1309.044442][ T9188] [ 1309.044545][ T9188] dump_stack_lvl (lib/dump_stack.c:123) [ 1309.044747][ T9188] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6822) [ 1309.044944][ T9188] ip6mr_get_table (net/ipv6/ip6mr.c:132 (discriminator 11)) [ 1309.045141][ T9188] ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1670) [ 1309.045342][ T9188] ? __pfx_ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1658) [ 1309.045591][ T9188] ? __lock_release (kernel/locking/lockdep.c:5501) [ 1309.045781][ T9188] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1309.045974][ T9188] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1309.046169][ T9188] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1309.046355][ T9188] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 1309.046544][ T9188] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1309.046738][ T9188] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1309.046936][ T9188] do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:415) [ 1309.047128][ T9188] ? __lock_release (kernel/locking/lockdep.c:5477) [ 1309.047321][ T9188] ? __pfx_do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:395) [ 1309.047510][ T9188] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 1309.047796][ T9188] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 1309.047984][ T9188] ? validate_chain (kernel/locking/lockdep.c:3797 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 1309.048267][ T9188] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:769) [ 1309.048563][ T9188] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 1309.048825][ T9188] ? 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) [ 1309.049002][ T9188] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 1309.049230][ T9188] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 1309.049506][ T9188] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 1309.049780][ T9188] ? ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 1309.049952][ T9188] ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 1309.050224][ T9188] rawv6_setsockopt (net/ipv6/raw.c:1054) [ 1309.050403][ T9188] ? __pfx_rawv6_setsockopt (net/ipv6/raw.c:1039) [ 1309.050676][ T9188] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 1309.050849][ T9188] ? kfree (mm/slub.c:4716) [ 1309.050993][ T9188] do_sock_setsockopt (net/socket.c:2336) [ 1309.051261][ T9188] ? __pfx_do_sock_setsockopt (net/socket.c:2305) [ 1309.051433][ T9188] ? __lock_release (kernel/locking/lockdep.c:5501) [ 1309.051719][ T9188] ? fd_install (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 fs/file.c:612) [ 1309.051900][ T9188] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1309.052071][ T9188] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 1309.052216][ T9188] __sys_setsockopt (./include/linux/file.h:35 net/socket.c:2361) [ 1309.052494][ T9188] ? __pfx___sys_setsockopt (net/socket.c:2349) [ 1309.052771][ T9188] ? __sys_socket (net/socket.c:496 net/socket.c:1727) [ 1309.053046][ T9188] ? __pfx___sys_socket (net/socket.c:1714) [ 1309.053233][ T9188] ? do_user_addr_fault (./include/linux/mmap_lock.h:172 arch/x86/mm/fault.c:1417) [ 1309.053509][ T9188] __x64_sys_setsockopt (net/socket.c:2365) [ 1309.053698][ T9188] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 1309.054013][ T9188] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1309.054202][ T9188] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1309.054519][ T9188] RIP: 0033:0x7fd4d74e291e [ 1309.054721][ T9188] Code: 0f 1f 40 00 48 8b 15 e1 94 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b1 0f 1f 00 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 a9 All code ======== 0: 0f 1f 40 00 nopl 0x0(%rax) 4: 48 8b 15 e1 94 0a 00 mov 0xa94e1(%rip),%rdx # 0xa94ec b: f7 d8 neg %eax d: 64 89 02 mov %eax,%fs:(%rdx) 10: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax 17: eb b1 jmp 0xffffffffffffffca 19: 0f 1f 00 nopl (%rax) 1c: f3 0f 1e fa endbr64 20: 49 89 ca mov %rcx,%r10 23: b8 36 00 00 00 mov $0x36,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 0a ja 0x3c 32: c3 ret 33: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 3a: 00 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 15 .byte 0x15 3f: a9 .byte 0xa9 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 0a ja 0x12 8: c3 ret 9: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 10: 00 00 12: 48 rex.W 13: 8b .byte 0x8b 14: 15 .byte 0x15 15: a9 .byte 0xa9 [ 1309.055482][ T9188] RSP: 002b:00007ffe3774be38 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 1309.055774][ T9188] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd4d74e291e [ 1309.056052][ T9188] RDX: 00000000000000c8 RSI: 0000000000000029 RDI: 0000000000000008 [ 1309.056417][ T9188] RBP: 0000000000000008 R08: 0000000000000004 R09: 0000000000000000 [ 1309.056675][ T9188] R10: 00007ffe3774be5c R11: 0000000000000246 R12: 0000000000000000 Finger prints: lockdep_rcu_suspicious:ip6mr_get_table:ip6_mroute_setsockopt:do_ipv6_setsockopt:ipv6_setsockopt