Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable ============================= WARNING: suspicious RCU usage 4.15.0-rc9+ #279 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/2771: #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000d180827f>] lock_sock include/net/sock.h:1461 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000d180827f>] do_ipv6_setsockopt.isra.9+0x23d/0x39a0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 2771 Comm: syz-executor2 Not tainted 4.15.0-rc9+ #279 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 Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable 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:00007fc93e8a3c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452f19 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 00000000000004cb R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020568fe0 R11: 0000000000000212 R12: 00000000006f63a8 R13: 00000000ffffffff R14: 00007fc93e8a46d4 R15: 0000000000000000 ============================= WARNING: suspicious RCU usage 4.15.0-rc9+ #279 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/2771: #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000d180827f>] lock_sock include/net/sock.h:1461 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<00000000d180827f>] do_ipv6_setsockopt.isra.9+0x23d/0x39a0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 2771 Comm: syz-executor2 Not tainted 4.15.0-rc9+ #279 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:00007fc93e8a3c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452f19 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 00000000000004cb R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020568fe0 R11: 0000000000000212 R12: 00000000006f63a8 R13: 00000000ffffffff R14: 00007fc93e8a46d4 R15: 0000000000000000 binder: 2788:2796 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 2788:2796 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 2796 RLIMIT_NICE not set binder: 2788:2796 ioctl c0306201 2000dfd0 returned -11 binder: BINDER_SET_CONTEXT_MGR already set binder: 2788:2816 ioctl 40046207 0 returned -16 binder: 2788:2816 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 2816 RLIMIT_NICE not set binder: 2788:2812 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=24 sclass=netlink_tcpdiag_socket pig=2835 comm=syz-executor2 binder: 2831:2836 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 2831: binder_alloc_buf, no vma binder: 2831:2836 transaction failed 29189/-3, size 0-0 line 2903 binder_alloc: 2831: binder_alloc_buf, no vma binder: 2831:2836 transaction failed 29189/-3, size 24-0 line 2903 binder: BINDER_SET_CONTEXT_MGR already set binder: 2831:2846 ioctl 40046207 0 returned -16 binder_alloc: 2831: binder_alloc_buf, no vma binder: 2831:2846 transaction failed 29189/-3, size 0-0 line 2903 binder: 2831:2836 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 2831: binder_alloc_buf, no vma binder: 2831:2836 transaction failed 29189/-3, size 24-0 line 2903 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=24 sclass=netlink_tcpdiag_socket pig=2853 comm=syz-executor2 kauditd_printk_skb: 60 callbacks suppressed audit: type=1326 audit(1516908812.585:3294): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.617:3295): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=54 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.617:3296): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.622:3297): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=158 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.622:3298): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.622:3299): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.625:3300): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=257 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.632:3301): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.633:3302): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=9 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908812.642:3303): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=2960 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 QAT: Invalid ioctl QAT: Invalid ioctl irq bypass consumer (token 00000000ae0290ae) registration fails: -16 irq bypass consumer (token 00000000ae0290ae) registration fails: -16 netlink: 'syz-executor3': attribute type 21 has an invalid length. netlink: 'syz-executor3': attribute type 21 has an invalid length. SELinux: failed to load policy devpts: called with bogus options devpts: called with bogus options QAT: Invalid ioctl QAT: Invalid ioctl kvm [3445]: vcpu10, guest rIP: 0xfff0 unimplemented HWCR wrmsr: 0x14 binder: 3469:3475 transaction failed 29189/-22, size 0-0 line 2788 netlink: 12 bytes leftover after parsing attributes in process `syz-executor0'. openvswitch: netlink: Flow set message rejected, Key attribute missing. kvm [3445]: vcpu10, guest rIP: 0xfff0 unimplemented HWCR wrmsr: 0x14 binder: 3469:3488 transaction failed 29189/-22, size 0-0 line 2788 QAT: Invalid ioctl binder: undelivered TRANSACTION_ERROR: 29189 QAT: Invalid ioctl binder: undelivered TRANSACTION_ERROR: 29189 netlink: 'syz-executor1': attribute type 1 has an invalid length. netlink: 'syz-executor1': attribute type 1 has an invalid length. device eql entered promiscuous mode netlink: 'syz-executor7': attribute type 1 has an invalid length. netlink: 'syz-executor7': attribute type 1 has an invalid length. xprt_adjust_timeout: rq_timeout = 0! binder: BINDER_SET_CONTEXT_MGR already set binder: 3746:3763 ioctl 40046207 0 returned -16 binder: release 3746:3755 transaction 185 out, still active binder: unexpected work type, 4, not freed binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 185, target dead binder: 4015:4021 ioctl c0306201 2000dfd0 returned -11 rdma_op 000000000b83803d conn xmit_rdma (null) kauditd_printk_skb: 75 callbacks suppressed audit: type=1326 audit(1516908818.522:3379): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908818.524:3380): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908818.526:3381): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=257 compat=0 ip=0x452f19 code=0x7ffc0000 device eql entered promiscuous mode audit: type=1326 audit(1516908818.526:3382): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908818.537:3383): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=42 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908818.537:3384): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908818.538:3385): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908818.544:3386): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=2 compat=0 ip=0x40d211 code=0x7ffc0000 audit: type=1326 audit(1516908818.544:3387): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452f19 code=0x7ffc0000 audit: type=1326 audit(1516908818.544:3388): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=4211 comm="syz-executor7" exe="/root/syz-executor7" sig=0 arch=c000003e syscall=54 compat=0 ip=0x452f19 code=0x7ffc0000 PPPIOCDETACH file->f_count=2 openvswitch: netlink: ufid size 20 bytes exceeds the range (1, 16) openvswitch: netlink: ufid size 20 bytes exceeds the range (1, 16) IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready