RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ============================= WARNING: suspicious RCU usage 4.18.0-rc4+ #42 Not tainted ----------------------------- include/net/inet_sock.h:136 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor0/4801: #0: (____ptrval____) (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1474 [inline] #0: (____ptrval____) (sk_lock-AF_INET6){+.+.}, at: do_ip_setsockopt.isra.12+0x355/0x3e50 net/ipv4/ip_sockglue.c:643 stack backtrace: CPU: 1 PID: 4801 Comm: syz-executor0 Not tainted 4.18.0-rc4+ #42 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 lockdep_rcu_suspicious+0x14a/0x153 kernel/locking/lockdep.c:4562 ireq_opt_deref include/net/inet_sock.h:135 [inline] inet_csk_route_req+0x96b/0xdb0 net/ipv4/inet_connection_sock.c:538 dccp_v4_send_response+0xb4/0x6d0 net/dccp/ipv4.c:485 dccp_v4_conn_request+0xc6e/0x1380 net/dccp/ipv4.c:634 dccp_v6_conn_request+0xdb6/0x1660 net/dccp/ipv6.c:317 dccp_rcv_state_process+0x6f7/0x1a30 net/dccp/input.c:612 dccp_v4_do_rcv+0x102/0x180 net/dccp/ipv4.c:683 dccp_v6_do_rcv+0x935/0xb60 net/dccp/ipv6.c:579 sk_backlog_rcv include/net/sock.h:914 [inline] __release_sock+0x12f/0x3a0 net/core/sock.c:2342 release_sock+0xad/0x2c0 net/core/sock.c:2851 do_ip_setsockopt.isra.12+0x5de/0x3e50 net/ipv4/ip_sockglue.c:1185 compat_ip_setsockopt+0x68/0x140 net/ipv4/ip_sockglue.c:1277 compat_udp_setsockopt+0x62/0xa0 net/ipv4/udp.c:2512 compat_ipv6_setsockopt+0xcd/0x210 net/ipv6/ipv6_sockglue.c:941 inet_csk_compat_setsockopt+0x97/0x120 net/ipv4/inet_connection_sock.c:1036 compat_dccp_setsockopt+0x4c/0x80 net/dccp/proto.c:587 compat_sock_common_setsockopt+0xb4/0x150 net/core/sock.c:3051 __compat_sys_setsockopt+0x1b3/0x860 net/compat.c:404 __do_compat_sys_setsockopt net/compat.c:417 [inline] __se_compat_sys_setsockopt net/compat.c:414 [inline] __ia32_compat_sys_setsockopt+0xbd/0x150 net/compat.c:414 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x34d/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f15cb9 Code: 55 08 8b 88 64 cd ff ff 8b 98 68 cd ff ff 89 c8 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 1c 24 c3 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f7ecf0ac EFLAGS: 00000282 ORIG_RAX: 000000000000016e RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000000000 RDX: 0000000000000004 RSI: 0000000020013ff4 RDI: 000000000000000c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ============================= WARNING: suspicious RCU usage 4.18.0-rc4+ #42 Not tainted ----------------------------- include/net/inet_sock.h:136 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor0/4801: #0: (____ptrval____) (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1474 [inline] #0: (____ptrval____) (sk_lock-AF_INET6){+.+.}, at: do_ip_setsockopt.isra.12+0x355/0x3e50 net/ipv4/ip_sockglue.c:643 stack backtrace: CPU: 1 PID: 4801 Comm: syz-executor0 Not tainted 4.18.0-rc4+ #42 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 lockdep_rcu_suspicious+0x14a/0x153 kernel/locking/lockdep.c:4562 ireq_opt_deref include/net/inet_sock.h:135 [inline] dccp_v4_send_response+0x537/0x6d0 net/dccp/ipv4.c:496 dccp_v4_conn_request+0xc6e/0x1380 net/dccp/ipv4.c:634 dccp_v6_conn_request+0xdb6/0x1660 net/dccp/ipv6.c:317 dccp_rcv_state_process+0x6f7/0x1a30 net/dccp/input.c:612 dccp_v4_do_rcv+0x102/0x180 net/dccp/ipv4.c:683 dccp_v6_do_rcv+0x935/0xb60 net/dccp/ipv6.c:579 sk_backlog_rcv include/net/sock.h:914 [inline] __release_sock+0x12f/0x3a0 net/core/sock.c:2342 release_sock+0xad/0x2c0 net/core/sock.c:2851 do_ip_setsockopt.isra.12+0x5de/0x3e50 net/ipv4/ip_sockglue.c:1185 compat_ip_setsockopt+0x68/0x140 net/ipv4/ip_sockglue.c:1277 compat_udp_setsockopt+0x62/0xa0 net/ipv4/udp.c:2512 compat_ipv6_setsockopt+0xcd/0x210 net/ipv6/ipv6_sockglue.c:941 inet_csk_compat_setsockopt+0x97/0x120 net/ipv4/inet_connection_sock.c:1036 compat_dccp_setsockopt+0x4c/0x80 net/dccp/proto.c:587 compat_sock_common_setsockopt+0xb4/0x150 net/core/sock.c:3051 __compat_sys_setsockopt+0x1b3/0x860 net/compat.c:404 __do_compat_sys_setsockopt net/compat.c:417 [inline] __se_compat_sys_setsockopt net/compat.c:414 [inline] __ia32_compat_sys_setsockopt+0xbd/0x150 net/compat.c:414 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x34d/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f15cb9 Code: 55 08 8b 88 64 cd ff ff 8b 98 68 cd ff ff 89 c8 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 1c 24 c3 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f7ecf0ac EFLAGS: 00000282 ORIG_RAX: 000000000000016e