Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable ============================= WARNING: suspicious RCU usage 4.15.0-rc8+ #266 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-executor2/17807: #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000f6332286>] lock_sock include/net/sock.h:1461 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000f6332286>] do_ipv6_setsockopt.isra.9+0x23d/0x39a0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 17807 Comm: syz-executor2 Not tainted 4.15.0-rc8+ #266 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:1831 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1810 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x452e39 RSP: 002b:00007f1675876c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f1675877700 RCX: 0000000000452e39 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 0000000000a2f870 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020aa1000 R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a2f7ef R14: 00007f16758779c0 R15: 0000000000000002 ============================= WARNING: suspicious RCU usage 4.15.0-rc8+ #266 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-executor2/17807: #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000f6332286>] lock_sock include/net/sock.h:1461 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000f6332286>] do_ipv6_setsockopt.isra.9+0x23d/0x39a0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 17807 Comm: syz-executor2 Not tainted 4.15.0-rc8+ #266 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:1831 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1810 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x452e39 RSP: 002b:00007f1675876c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f1675877700 RCX: 0000000000452e39 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 0000000000a2f870 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020aa1000 R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a2f7ef R14: 00007f16758779c0 R15: 0000000000000002 binder: 17895 RLIMIT_NICE not set binder: send failed reply for transaction 96 to 17891:17908 binder: BINDER_SET_CONTEXT_MGR already set binder: 17891:17908 ioctl 40046207 0 returned -16 binder: 17895 RLIMIT_NICE not set binder_alloc: 17891: binder_alloc_buf, no vma binder: 17891:17925 transaction failed 29189/-3, size 0-0 line 2903 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189 sctp: [Deprecated]: syz-executor3 (pid 18002) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead sctp: [Deprecated]: syz-executor3 (pid 18013) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. binder_alloc: 18223: binder_alloc_buf, no vma binder: 18223:18240 transaction failed 29189/-3, size 0-0 line 2903 netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. binder: BINDER_SET_CONTEXT_MGR already set binder: 18223:18246 ioctl 40046207 0 returned -16 binder_alloc: 18223: binder_alloc_buf, no vma binder: 18223:18254 transaction failed 29189/-3, size 0-0 line 2903 netlink: 3 bytes leftover after parsing attributes in process `syz-executor1'. binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 QAT: Invalid ioctl binder: 18296 RLIMIT_NICE not set QAT: Invalid ioctl binder: undelivered transaction 102, process died. binder: BINDER_SET_CONTEXT_MGR already set binder: 18294:18302 ioctl 40046207 0 returned -16 kauditd_printk_skb: 95 callbacks suppressed audit: type=1400 audit(1516247587.562:1449): avc: denied { setpcap } for pid=18306 comm="syz-executor2" capability=8 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: undelivered TRANSACTION_COMPLETE binder: BINDER_SET_CONTEXT_MGR already set binder: 18324:18338 ioctl 40046207 0 returned -16 binder_alloc: 18324: binder_alloc_buf, no vma binder: 18324:18350 transaction failed 29189/-3, size 0-0 line 2903 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 18324:18326 transaction 104 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 104, target dead QAT: failed to copy from user cfg_data. QAT: failed to copy from user cfg_data. PPPIOCDETACH file->f_count=2 audit: type=1326 audit(1516247588.178:1450): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247588.204:1451): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=41 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247588.204:1452): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247588.209:1453): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247588.211:1454): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=307 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247588.212:1455): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247588.212:1456): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247588.212:1457): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=9 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247588.217:1458): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18438 comm="syz-executor4" exe="/root/syz-executor4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 dccp_invalid_packet: invalid packet type Dead loop on virtual device ip6_vti0, fix it urgently! Dead loop on virtual device ip6_vti0, fix it urgently! sock: sock_set_timeout: `syz-executor5' (pid 18878) tries to set negative timeout encrypted_key: insufficient parameters specified encrypted_key: insufficient parameters specified autofs4:pid:18970:validate_dev_ioctl: invalid path supplied for cmd(0x0000937e) autofs4:pid:18978:validate_dev_ioctl: invalid path supplied for cmd(0x0000937e) print_req_error: I/O error, dev loop0, sector 0 print_req_error: I/O error, dev loop0, sector 0 kvm: vcpu 0: requested 68374 ns lapic timer period limited to 500000 ns kvm: vcpu 0: requested 68374 ns lapic timer period limited to 500000 ns QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl l2tp_core: tunl 2: fd 20 wrong protocol, got 1, expected 17 QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl l2tp_core: tunl 2: fd 21 wrong protocol, got 1, expected 17 rtc_cmos 00:00: Alarms can be up to one day in the future rtc_cmos 00:00: Alarms can be up to one day in the future can: request_module (can-proto-6) failed. can: request_module (can-proto-6) failed. QAT: Invalid ioctl QAT: Invalid ioctl kauditd_printk_skb: 144 callbacks suppressed audit: type=1326 audit(1516247592.911:1603): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19566 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.911:1604): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19566 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.918:1605): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19566 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=85 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.918:1606): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19566 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.918:1607): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19566 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.918:1608): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19568 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.918:1609): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19568 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=85 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.918:1610): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19568 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.918:1611): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19568 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=41 compat=0 ip=0x452e39 code=0x7ffc0000 audit: type=1326 audit(1516247592.918:1612): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19568 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452e39 code=0x7ffc0000 binder: 19894:19900 tried to acquire reference to desc 0, got 1 instead binder: 19894:19900 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0