Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable device syz2 entered promiscuous mode device syz2 left promiscuous mode ============================= WARNING: suspicious RCU usage 4.15.0-rc6+ #245 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-executor1/6823: #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000bf37274f>] lock_sock include/net/sock.h:1461 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000bf37274f>] do_ipv6_setsockopt.isra.9+0x23d/0x39a0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 6823 Comm: syz-executor1 Not tainted 4.15.0-rc6+ #245 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 lockdep_rcu_suspicious+0x123/0x170 kernel/locking/lockdep.c:4585 ireq_opt_deref include/net/inet_sock.h:135 [inline] inet_csk_route_req+0x82a/0xca0 net/ipv4/inet_connection_sock.c:544 dccp_v4_send_response+0xa7/0x650 net/dccp/ipv4.c:485 dccp_v4_conn_request+0x9f4/0x11b0 net/dccp/ipv4.c:633 dccp_v6_conn_request+0xd30/0x1350 net/dccp/ipv6.c:317 dccp_rcv_state_process+0x574/0x1620 net/dccp/input.c:612 dccp_v4_do_rcv+0xf1/0x160 net/dccp/ipv4.c:682 dccp_v6_do_rcv+0x823/0x9c0 net/dccp/ipv6.c:578 sk_backlog_rcv include/net/sock.h:907 [inline] __release_sock+0x124/0x360 net/core/sock.c:2264 release_sock+0xa4/0x2a0 net/core/sock.c:2779 do_ipv6_setsockopt.isra.9+0x50a/0x39a0 net/ipv6/ipv6_sockglue.c:898 ipv6_setsockopt+0xd7/0x150 net/ipv6/ipv6_sockglue.c:922 dccp_setsockopt+0x85/0xd0 net/dccp/proto.c:573 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1829 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1808 entry_SYSCALL_64_fastpath+0x23/0x9a RIP: 0033:0x452ac9 RSP: 002b:00007fe622ca3c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 0000000000000572 R08: 0000000000000020 R09: 0000000000000000 R10: 000000002074efe0 R11: 0000000000000212 R12: 00000000006f6350 R13: 00000000ffffffff R14: 00007fe622ca46d4 R15: 0000000000000000 ============================= WARNING: suspicious RCU usage 4.15.0-rc6+ #245 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-executor1/6823: #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000bf37274f>] lock_sock include/net/sock.h:1461 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000bf37274f>] do_ipv6_setsockopt.isra.9+0x23d/0x39a0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 6823 Comm: syz-executor1 Not tainted 4.15.0-rc6+ #245 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 lockdep_rcu_suspicious+0x123/0x170 kernel/locking/lockdep.c:4585 ireq_opt_deref include/net/inet_sock.h:135 [inline] dccp_v4_send_response+0x4b6/0x650 net/dccp/ipv4.c:496 dccp_v4_conn_request+0x9f4/0x11b0 net/dccp/ipv4.c:633 dccp_v6_conn_request+0xd30/0x1350 net/dccp/ipv6.c:317 dccp_rcv_state_process+0x574/0x1620 net/dccp/input.c:612 dccp_v4_do_rcv+0xf1/0x160 net/dccp/ipv4.c:682 dccp_v6_do_rcv+0x823/0x9c0 net/dccp/ipv6.c:578 sk_backlog_rcv include/net/sock.h:907 [inline] __release_sock+0x124/0x360 net/core/sock.c:2264 release_sock+0xa4/0x2a0 net/core/sock.c:2779 do_ipv6_setsockopt.isra.9+0x50a/0x39a0 net/ipv6/ipv6_sockglue.c:898 ipv6_setsockopt+0xd7/0x150 net/ipv6/ipv6_sockglue.c:922 dccp_setsockopt+0x85/0xd0 net/dccp/proto.c:573 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1829 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1808 entry_SYSCALL_64_fastpath+0x23/0x9a RIP: 0033:0x452ac9 RSP: 002b:00007fe622ca3c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 0000000000000572 R08: 0000000000000020 R09: 0000000000000000 R10: 000000002074efe0 R11: 0000000000000212 R12: 00000000006f6350 R13: 00000000ffffffff R14: 00007fe622ca46d4 R15: 0000000000000000 QAT: Invalid ioctl QAT: Invalid ioctl netlink: 'syz-executor0': attribute type 3 has an invalid length. netlink: 'syz-executor0': attribute type 3 has an invalid length. netlink: 21 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 21 bytes leftover after parsing attributes in process `syz-executor0'. capability: warning: `syz-executor1' uses deprecated v2 capabilities in a way that may be insecure cgroup: cgroup2: unknown option "" cgroup: cgroup2: unknown option "" binder: undelivered death notification, 0000000000000000 binder: BINDER_SET_CONTEXT_MGR already set binder: 7329:7352 ioctl 40046207 0 returned -16 binder: undelivered death notification, 0000000000000000 sctp: [Deprecated]: syz-executor4 (pid 7378) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead device syz7 entered promiscuous mode binder: 7373:7379 BC_ACQUIRE_DONE u0000000000000000 node 23 cookie mismatch 0000000000000004 != 0000000000000000 binder: BINDER_SET_CONTEXT_MGR already set binder: 7373:7379 ioctl 40046207 0 returned -16 binder: 7373:7379 BC_ACQUIRE_DONE u0000000000000000 no match sctp: [Deprecated]: syz-executor4 (pid 7378) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead kauditd_printk_skb: 118 callbacks suppressed audit: type=1400 audit(1514874177.877:917): avc: denied { lock } for pid=7485 comm="syz-executor6" path="socket:[20966]" dev="sockfs" ino=20966 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 audit: type=1400 audit(1514874178.057:918): avc: denied { transfer } for pid=7537 comm="syz-executor0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 binder: 7537:7542 ioctl c0306201 20a88fd0 returned -14 binder_alloc: binder_alloc_mmap_handler: 7537 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 7537:7542 ioctl 40046207 0 returned -16 binder_alloc: 7537: binder_alloc_buf, no vma binder: 7537:7542 transaction failed 29189/-3, size 40-8 line 2903 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 7537:7542 transaction 25 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 25, target dead device eql entered promiscuous mode audit: type=1400 audit(1514874179.523:919): avc: denied { setfcap } for pid=7869 comm="syz-executor2" capability=31 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 binder: 7914:7927 got transaction with invalid offset (0, min 64 max 80) or object. binder: 7914:7927 transaction failed 29201/-22, size 80-24 line 2966 binder_alloc: binder_alloc_mmap_handler: 7914 20000000-20002000 already mapped failed -16 sctp: [Deprecated]: syz-executor7 (pid 7945) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead binder: BINDER_SET_CONTEXT_MGR already set binder: 7914:7927 ioctl 40046207 0 returned -16 binder_alloc: 7914: binder_alloc_buf, no vma binder: 7914:7937 transaction failed 29189/-3, size 80-24 line 2903 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 syz-executor2 uses obsolete (PF_INET,SOCK_PACKET) audit: type=1326 audit(1514874179.973:920): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=7962 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514874179.973:921): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=7962 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514874179.976:922): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=7962 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=222 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514874179.977:923): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=7962 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514874179.977:924): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=7962 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=226 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514874179.978:925): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=7962 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452ac9 code=0x7ffc0000 audit: type=1326 audit(1514874179.978:926): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=7962 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=276 compat=0 ip=0x452ac9 code=0x7ffc0000 dccp_v6_rcv: dropped packet with invalid checksum netlink: 'syz-executor7': attribute type 1 has an invalid length. netlink: 'syz-executor7': attribute type 1 has an invalid length. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=18194 sclass=netlink_route_socket pig=8130 comm=syz-executor5 device eql entered promiscuous mode binder: 8143 RLIMIT_NICE not set binder: 8140:8143 ioctl c0306201 2000a000 returned -11 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=18194 sclass=netlink_route_socket pig=8146 comm=syz-executor5 binder: 8134:8144 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 8152 RLIMIT_NICE not set binder: 8140:8143 ioctl 40046207 0 returned -16 binder_alloc: 8140: binder_alloc_buf, no vma binder: 8140:8152 transaction failed 29189/-3, size 0-0 line 2903 binder: 8134:8148 DecRefs 0 refcount change on invalid ref 3 ret -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 8140:8157 transaction 39 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 39, target dead binder: release 8204:8206 transaction 44 out, still active binder: unexpected work type, 4, not freed binder: undelivered TRANSACTION_COMPLETE binder: invalid inc weak node for 45 binder: 8204:8206 IncRefs 0 refcount change on invalid ref 1 ret -22 binder_alloc: binder_alloc_mmap_handler: 8204 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 8204:8206 ioctl 40046207 0 returned -16 binder_alloc: 8204: binder_alloc_buf, no vma binder: 8204:8208 transaction failed 29189/-3, size 40-8 line 2903 binder: undelivered TRANSACTION_ERROR: 29189 binder: send failed reply for transaction 44, target dead device gre0 entered promiscuous mode netlink: 5 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor2'. device eql entered promiscuous mode netlink: 11 bytes leftover after parsing attributes in process `syz-executor2'. binder: 8675:8681 got new transaction with bad transaction stack, transaction 49 has target 8675:0 binder: 8675:8681 transaction failed 29201/-71, size 0-0 line 2815 binder: BINDER_SET_CONTEXT_MGR already set binder: 8675:8697 ioctl 40046207 0 returned -16 binder_alloc: 8675: binder_alloc_buf, no vma binder: 8675:8697 transaction failed 29189/-3, size 40-8 line 2903 kauditd_printk_skb: 35 callbacks suppressed audit: type=1400 audit(1514874183.044:962): avc: denied { ioctl } for pid=8706 comm="syz-executor0" path="socket:[23418]" dev="sockfs" ino=23418 ioctlcmd=0x89e2 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=sock_file permissive=1 audit: type=1400 audit(1514874183.050:963): avc: denied { setopt } for pid=8705 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 8675:8681 transaction 49 out, still active binder: unexpected work type, 4, not freed binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: send failed reply for transaction 49, target dead netlink: 5 bytes leftover after parsing attributes in process `syz-executor2'. binder: 8881:8883 ERROR: BC_REGISTER_LOOPER called without request binder: 8883 RLIMIT_NICE not set binder: 8883 RLIMIT_NICE not set binder: 8883 RLIMIT_NICE not set binder: BINDER_SET_CONTEXT_MGR already set binder: 8881:8898 ioctl 40046207 0 returned -16 binder: 8881:8883 ERROR: BC_REGISTER_LOOPER called without request binder: 8883 RLIMIT_NICE not set binder_alloc: 8881: binder_alloc_buf, no vma binder: 8881:8911 transaction failed 29189/-3, size 0-0 line 2903 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 56, process died.