====================================== | [ 108.915815][ T766] rcu_scheduler_active = 2, debug_locks = 1 | [ 108.916075][ T766] no locks held by smcrouted/766. | [ 108.916240][ T766] | [ 108.916240][ T766] stack backtrace: [ 108.916695][ T766] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 108.917034][ T766] Call Trace: [ 108.917155][ T766] [ 108.917236][ T766] dump_stack_lvl (lib/dump_stack.c:123) [ 108.917401][ T766] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6822) [ 108.917555][ T766] ip6mr_get_table (net/ipv6/ip6mr.c:132 (discriminator 11)) [ 108.917709][ T766] ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1670) [ 108.917863][ T766] ? __pfx_ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1658) [ 108.918055][ T766] ? __lock_release (kernel/locking/lockdep.c:5501) [ 108.918212][ T766] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 108.918366][ T766] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 108.918518][ T766] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 108.918669][ T766] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 108.918816][ T766] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 108.918967][ T766] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 108.919123][ T766] do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:415) [ 108.919275][ T766] ? __lock_release (kernel/locking/lockdep.c:5486) [ 108.919425][ T766] ? __pfx_do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:395) [ 108.919573][ T766] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 108.919727][ T766] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 108.919877][ T766] ? validate_chain (kernel/locking/lockdep.c:3797 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 108.920026][ T766] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:769) [ 108.920181][ T766] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 108.920330][ T766] ? 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) [ 108.920478][ T766] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 108.920596][ T766] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 108.920754][ T766] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 108.920941][ T766] ? ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 108.921102][ T766] ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 108.921271][ T766] rawv6_setsockopt (net/ipv6/raw.c:1054) [ 108.921435][ T766] ? __pfx_rawv6_setsockopt (net/ipv6/raw.c:1039) [ 108.921593][ T766] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 108.921757][ T766] ? kfree (mm/slub.c:4716) [ 108.921892][ T766] do_sock_setsockopt (net/socket.c:2336) [ 108.922042][ T766] ? __pfx_do_sock_setsockopt (net/socket.c:2305) [ 108.922190][ T766] ? __lock_release (kernel/locking/lockdep.c:5501) [ 108.922339][ T766] ? fd_install (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 fs/file.c:612) [ 108.922496][ T766] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 108.922647][ T766] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 108.922764][ T766] __sys_setsockopt (./include/linux/file.h:35 net/socket.c:2361) [ 108.922917][ T766] ? __pfx___sys_setsockopt (net/socket.c:2349) [ 108.923087][ T766] ? __sys_socket (net/socket.c:496 net/socket.c:1727) [ 108.923236][ T766] ? __pfx___sys_socket (net/socket.c:1714) [ 108.923391][ T766] __x64_sys_setsockopt (net/socket.c:2365) [ 108.923540][ T766] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 108.923728][ T766] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 108.923880][ T766] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 108.924063][ T766] RIP: 0033:0x7f7b7f09091e [ 108.924219][ T766] 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 [ 108.924734][ T766] RSP: 002b:00007ffc3496b578 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 108.924972][ T766] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7b7f09091e [ 108.925200][ T766] RDX: 00000000000000c8 RSI: 0000000000000029 RDI: 0000000000000008 [ 108.925425][ T766] RBP: 0000000000000008 R08: 0000000000000004 R09: 0000000000000000 [ 108.925652][ T766] R10: 00007ffc3496b59c R11: 0000000000000246 R12: 0000000000000000 Finger prints: lockdep_rcu_suspicious:ip6mr_get_table:ip6_mroute_setsockopt:do_ipv6_setsockopt:ipv6_setsockopt