====================================== | [ 1257.778795][ T4415] rcu_scheduler_active = 2, debug_locks = 1 | [ 1257.779027][ T4415] no locks held by smcrouted/4415. | [ 1257.779219][ T4415] | [ 1257.779219][ T4415] stack backtrace: [ 1257.779648][ T4415] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1257.779846][ T4415] Call Trace: [ 1257.779991][ T4415] [ 1257.780079][ T4415] dump_stack_lvl (lib/dump_stack.c:123) [ 1257.780247][ T4415] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6846) [ 1257.780409][ T4415] ip6mr_get_table (net/ipv6/ip6mr.c:132 (discriminator 11)) [ 1257.780590][ T4415] ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1670) [ 1257.780792][ T4415] ? __pfx_ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1658) [ 1257.781009][ T4415] ? __lock_release (kernel/locking/lockdep.c:5525) [ 1257.781170][ T4415] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1257.781335][ T4415] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1257.781518][ T4415] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1257.781676][ T4415] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 1257.781834][ T4415] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1257.782015][ T4415] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1257.782184][ T4415] do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:415) [ 1257.782350][ T4415] ? validate_chain (kernel/locking/lockdep.c:3797 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 1257.782532][ T4415] ? __pfx_do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:395) [ 1257.782698][ T4415] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 1257.782852][ T4415] ? 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) [ 1257.783027][ T4415] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 1257.783155][ T4415] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 1257.783320][ T4415] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 1257.783502][ T4415] ? __lock_release (kernel/locking/lockdep.c:5525) [ 1257.783656][ T4415] ? __create_object (mm/kmemleak.c:766) [ 1257.783815][ T4415] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 1257.783975][ T4415] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 1257.784149][ T4415] ? 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) [ 1257.784304][ T4415] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 1257.784428][ T4415] ? ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 1257.784597][ T4415] ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 1257.784754][ T4415] rawv6_setsockopt (net/ipv6/raw.c:1054) [ 1257.784931][ T4415] ? __pfx_rawv6_setsockopt (net/ipv6/raw.c:1039) [ 1257.785087][ T4415] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 1257.785255][ T4415] ? kfree (mm/slub.c:4716) [ 1257.785383][ T4415] ? __lock_release (kernel/locking/lockdep.c:5525) [ 1257.785537][ T4415] ? fd_install (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 fs/file.c:654) [ 1257.785696][ T4415] do_sock_setsockopt (net/socket.c:2313) [ 1257.785863][ T4415] ? __pfx_do_sock_setsockopt (net/socket.c:2282) [ 1257.786050][ T4415] __sys_setsockopt (net/socket.c:2338) [ 1257.786213][ T4415] __x64_sys_setsockopt (net/socket.c:2341) [ 1257.786386][ T4415] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 1257.786581][ T4415] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1257.786760][ T4415] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1257.786953][ T4415] RIP: 0033:0x7fa16f7e691e [ 1257.787121][ T4415] 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 [ 1257.787673][ T4415] RSP: 002b:00007ffc63dc8848 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 1257.787928][ T4415] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa16f7e691e [ 1257.788160][ T4415] RDX: 00000000000000c8 RSI: 0000000000000029 RDI: 0000000000000008 [ 1257.788401][ T4415] RBP: 0000000000000008 R08: 0000000000000004 R09: 0000000027d5c010 [ 1257.788633][ T4415] R10: 00007ffc63dc886c R11: 0000000000000246 R12: 0000000000000000 Finger prints: lockdep_rcu_suspicious:ip6mr_get_table:ip6_mroute_setsockopt:do_ipv6_setsockopt:ipv6_setsockopt