====================================== | [ 1301.194441][ T7716] rcu_scheduler_active = 2, debug_locks = 1 | [ 1301.194788][ T7716] no locks held by smcrouted/7716. | [ 1301.194949][ T7716] | [ 1301.194949][ T7716] stack backtrace: [ 1301.195418][ T7716] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1301.195615][ T7716] Call Trace: [ 1301.195743][ T7716] [ 1301.195830][ T7716] dump_stack_lvl (lib/dump_stack.c:123) [ 1301.196001][ T7716] lockdep_rcu_suspicious (kernel/locking/lockdep.c:6822) [ 1301.196163][ T7716] ip6mr_get_table (net/ipv6/ip6mr.c:132 (discriminator 11)) [ 1301.196325][ T7716] ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1670) [ 1301.196488][ T7716] ? __pfx_ip6_mroute_setsockopt (net/ipv6/ip6mr.c:1658) [ 1301.196695][ T7716] ? __lock_release (kernel/locking/lockdep.c:5501) [ 1301.196856][ T7716] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1301.197015][ T7716] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1301.197181][ T7716] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1301.197339][ T7716] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 1301.197505][ T7716] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1301.197664][ T7716] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 1301.197833][ T7716] do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:415) [ 1301.197997][ T7716] ? __lock_release (kernel/locking/lockdep.c:5486) [ 1301.198159][ T7716] ? __pfx_do_ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:395) [ 1301.198315][ T7716] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 1301.198477][ T7716] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 1301.198633][ T7716] ? validate_chain (kernel/locking/lockdep.c:3797 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 1301.198801][ T7716] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:769) [ 1301.198969][ T7716] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 1301.199130][ T7716] ? 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) [ 1301.199288][ T7716] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 1301.199412][ T7716] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 1301.199834][ T7716] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 1301.200003][ T7716] ? ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 1301.200160][ T7716] ipv6_setsockopt (net/ipv6/ipv6_sockglue.c:996) [ 1301.200320][ T7716] rawv6_setsockopt (net/ipv6/raw.c:1054) [ 1301.200482][ T7716] ? __pfx_rawv6_setsockopt (net/ipv6/raw.c:1039) [ 1301.200651][ T7716] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 1301.200817][ T7716] ? kfree (mm/slub.c:4716) [ 1301.200945][ T7716] do_sock_setsockopt (net/socket.c:2336) [ 1301.201106][ T7716] ? __pfx_do_sock_setsockopt (net/socket.c:2305) [ 1301.201263][ T7716] ? __lock_release (kernel/locking/lockdep.c:5501) [ 1301.201441][ T7716] ? fd_install (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 fs/file.c:612) [ 1301.201602][ T7716] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1301.201771][ T7716] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 1301.201911][ T7716] __sys_setsockopt (./include/linux/file.h:35 net/socket.c:2361) [ 1301.202085][ T7716] ? __pfx___sys_setsockopt (net/socket.c:2349) [ 1301.202260][ T7716] ? __sys_socket (net/socket.c:496 net/socket.c:1727) [ 1301.202421][ T7716] ? __pfx___sys_socket (net/socket.c:1714) [ 1301.202583][ T7716] ? do_user_addr_fault (./include/linux/mmap_lock.h:172 arch/x86/mm/fault.c:1417) [ 1301.202745][ T7716] __x64_sys_setsockopt (net/socket.c:2365) [ 1301.202904][ T7716] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 1301.203104][ T7716] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1301.203278][ T7716] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1301.203480][ T7716] RIP: 0033:0x7f0d6f36191e [ 1301.203650][ T7716] 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 [ 1301.204233][ T7716] RSP: 002b:00007ffe8e6b9f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 1301.204496][ T7716] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0d6f36191e [ 1301.204753][ T7716] RDX: 00000000000000c8 RSI: 0000000000000029 RDI: 0000000000000008 [ 1301.205011][ T7716] RBP: 0000000000000008 R08: 0000000000000004 R09: 0000000000000000 [ 1301.205257][ T7716] R10: 00007ffe8e6b9f7c R11: 0000000000000246 R12: 0000000000000000 Finger prints: lockdep_rcu_suspicious:ip6mr_get_table:ip6_mroute_setsockopt:do_ipv6_setsockopt:ipv6_setsockopt