====================================== | [ 1669.303083][ T9570] rcu_scheduler_active = 2, debug_locks = 1 | [ 1669.303300][ T9570] no locks held by smcrouted/9570. | [ 1669.303461][ T9570] | [ 1669.303461][ T9570] stack backtrace: [ 1669.303920][ T9570] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1669.304261][ T9570] Call Trace: [ 1669.304390][ T9570] [ 1669.304501][ T9570] dump_stack_lvl (lib/dump_stack.c:123) [ 1669.304668][ T9570] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6822) [ 1669.304829][ T9570] ip6mr_get_table (net/ipv6/ip6mr.c:132 (discriminator 11)) [ 1669.304984][ T9570] ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1670) [ 1669.305149][ T9570] ? __pfx_ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1658) [ 1669.305397][ T9570] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 1669.305627][ T9570] ? __lock_release (kernel/locking/lockdep.c:5501) [ 1669.305778][ T9570] ? __might_fault (mm/memory.c:6705 mm/memory.c:6698) [ 1669.305931][ T9570] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 1669.306081][ T9570] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1669.306236][ T9570] ? __might_fault (mm/memory.c:6705 mm/memory.c:6698) [ 1669.306388][ T9570] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 1669.306543][ T9570] ? __might_fault (mm/memory.c:6705 mm/memory.c:6698) [ 1669.306689][ T9570] ? __might_fault (mm/memory.c:6705 mm/memory.c:6698) [ 1669.306843][ T9570] do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:415) [ 1669.306993][ T9570] ? __lock_release (kernel/locking/lockdep.c:5500) [ 1669.307146][ T9570] ? __pfx_do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:395) [ 1669.307295][ T9570] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 1669.307444][ T9570] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 1669.307597][ T9570] ? validate_chain (kernel/locking/lockdep.c:3797 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 1669.307742][ T9570] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:769) [ 1669.307900][ T9570] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 1669.308047][ T9570] ? 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) [ 1669.308208][ T9570] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 1669.308329][ T9570] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 1669.308485][ T9570] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 1669.308643][ T9570] ? ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 1669.308807][ T9570] ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 1669.308968][ T9570] rawv6_setsockopt (net/ipv6/raw.c:1054) [ 1669.309126][ T9570] ? __pfx_rawv6_setsockopt (net/ipv6/raw.c:1039) [ 1669.309281][ T9570] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 1669.309429][ T9570] ? kfree (mm/slub.c:4716) [ 1669.309551][ T9570] do_sock_setsockopt (net/socket.c:2334) [ 1669.309699][ T9570] ? __pfx_do_sock_setsockopt (net/socket.c:2303) [ 1669.309854][ T9570] ? __lock_release (kernel/locking/lockdep.c:5501) [ 1669.310001][ T9570] ? fd_install (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 fs/file.c:612) [ 1669.310169][ T9570] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1669.310326][ T9570] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 1669.310442][ T9570] __sys_setsockopt (./include/linux/file.h:35 net/socket.c:2359) [ 1669.310593][ T9570] ? __pfx___sys_setsockopt (net/socket.c:2347) [ 1669.310742][ T9570] ? __sys_socket (net/socket.c:496 net/socket.c:1725) [ 1669.310887][ T9570] ? __pfx___sys_socket (net/socket.c:1712) [ 1669.311042][ T9570] __x64_sys_setsockopt (net/socket.c:2363) [ 1669.311201][ T9570] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 1669.311383][ T9570] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1669.311535][ T9570] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1669.311716][ T9570] RIP: 0033:0x7f765659b91e [ 1669.311877][ T9570] 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 [ 1669.312403][ T9570] RSP: 002b:00007ffecaa688f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 1669.312628][ T9570] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f765659b91e [ 1669.312846][ T9570] RDX: 00000000000000c8 RSI: 0000000000000029 RDI: 0000000000000008 [ 1669.313264][ T9570] RBP: 0000000000000008 R08: 0000000000000004 R09: 0000000000000000 [ 1669.313509][ T9570] R10: 00007ffecaa6891c R11: 0000000000000246 R12: 0000000000000000 Finger prints: lockdep_rcu_suspicious:ip6mr_get_table:ip6_mroute_setsockopt:do_ipv6_setsockopt:ipv6_setsockopt