Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable ============================= WARNING: suspicious RCU usage 4.15.0-rc9+ #282 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-executor5/21271: #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000d4f57243>] lock_sock include/net/sock.h:1461 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000d4f57243>] do_ipv6_setsockopt.isra.9+0x23d/0x39a0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 21271 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #282 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:0x452f19 RSP: 002b:00007f46a9f4bc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452f19 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 00000000000005cb R08: 0000000000000020 R09: 0000000000000000 R10: 00000000207dffe0 R11: 0000000000000212 R12: 00000000006f7ba8 R13: 00000000ffffffff R14: 00007f46a9f4c6d4 R15: 0000000000000000 ============================= WARNING: suspicious RCU usage 4.15.0-rc9+ #282 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-executor5/21271: #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000d4f57243>] lock_sock include/net/sock.h:1461 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000d4f57243>] do_ipv6_setsockopt.isra.9+0x23d/0x39a0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 21271 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #282 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:0x452f19 RSP: 002b:00007f46a9f4bc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452f19 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 00000000000005cb R08: 0000000000000020 R09: 0000000000000000 R10: 00000000207dffe0 R11: 0000000000000212 R12: 00000000006f7ba8 R13: 00000000ffffffff R14: 00007f46a9f4c6d4 R15: 0000000000000000 audit: type=1326 audit(1517060096.894:1365): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21398 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060096.894:1366): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21398 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060096.894:1367): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21398 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=11 compat=0 ip=0x452f19 code=0x7ffc0000 autofs4:pid:21632:check_dev_ioctl_version: ioctl control interface version mismatch: kernel(1.1), user(3590324411.0), cmd(0x0000937e) autofs4:pid:21632:validate_dev_ioctl: invalid device control module version supplied for cmd(0x0000937e) autofs4:pid:21644:check_dev_ioctl_version: ioctl control interface version mismatch: kernel(1.1), user(3590324411.0), cmd(0x0000937e) autofs4:pid:21644:validate_dev_ioctl: invalid device control module version supplied for cmd(0x0000937e) futex_wake_op: syz-executor3 tries to shift op by -1; fix this program device eql entered promiscuous mode netlink: 'syz-executor6': attribute type 33 has an invalid length. netlink: 'syz-executor6': attribute type 33 has an invalid length. binder: 21880 RLIMIT_NICE not set binder: 21880 RLIMIT_NICE not set binder: 21877:21893 got new transaction with bad transaction stack, transaction 142 has target 21877:0 binder: 21877:21893 transaction failed 29201/-71, size 0-0 line 2815 binder: release 21877:21893 transaction 142 out, still active binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: BINDER_SET_CONTEXT_MGR already set binder: 21877:21902 ioctl 40046207 0 returned -16 binder: 21893 RLIMIT_NICE not set binder_alloc: 21877: binder_alloc_buf, no vma binder: 21877:21902 transaction failed 29189/-3, size 0-0 line 2903 binder_alloc: 21877: binder_alloc_buf, no vma binder: 21877:21893 transaction failed 29189/-3, size 0-0 line 2903 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 21877:21880 transaction 142 in, still active binder: send failed reply for transaction 142, target dead kauditd_printk_skb: 35 callbacks suppressed audit: type=1326 audit(1517060099.687:1403): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.719:1404): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=85 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.719:1405): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.720:1406): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.721:1407): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=9 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.725:1408): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.726:1409): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=298 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.727:1410): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.728:1411): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=41 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1517060099.729:1412): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=21951 comm="syz-executor2" exe="/root/syz-executor2" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22019 comm=syz-executor2 device eql entered promiscuous mode QAT: Invalid ioctl QAT: Invalid ioctl binder: 22121:22131 BC_CLEAR_DEATH_NOTIFICATION death notification cookie mismatch 0000000000000000 != 0000000000000003 binder: 22121:22131 ERROR: BC_REGISTER_LOOPER called after BC_ENTER_LOOPER binder: 22131 RLIMIT_NICE not set binder: 22121:22137 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 22121:22131 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 22121:22131 ERROR: BC_REGISTER_LOOPER called after BC_ENTER_LOOPER binder: 22121:22131 IncRefs 0 refcount change on invalid ref 0 ret -22 binder: 22131 RLIMIT_NICE not set device eql entered promiscuous mode IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready binder: 22361:22379 ioctl ae03 101 returned -22 binder: 22361:22379 ioctl 891a 20ef9000 returned -22 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready binder: BINDER_SET_CONTEXT_MGR already set binder: 22361:22379 ioctl 40046207 0 returned -16 binder_alloc: 22361: binder_alloc_buf, no vma binder: 22361:22392 transaction failed 29189/-3, size 0-0 line 2903 binder: 22361:22392 ioctl ae03 101 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 22361:22379 transaction 149 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 149, target dead netlink: 'syz-executor0': attribute type 3 has an invalid length. netlink: 'syz-executor0': attribute type 3 has an invalid length. netlink: 'syz-executor5': attribute type 1 has an invalid length. netlink: 'syz-executor5': attribute type 1 has an invalid length. binder: 22864:22867 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 22864:22874 Acquire 1 refcount change on invalid ref 0 ret -22 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=31791 sclass=netlink_xfrm_socket pig=22943 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=31791 sclass=netlink_xfrm_socket pig=22943 comm=syz-executor4 device syz7 entered promiscuous mode netlink: 'syz-executor3': attribute type 1 has an invalid length. 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