Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable ============================= WARNING: suspicious RCU usage 4.15.0-rc9+ #217 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-executor7/13937: #0: (sk_lock-AF_INET6){+.+.}, at: [<000000003eb73148>] lock_sock include/net/sock.h:1463 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<000000003eb73148>] do_ipv6_setsockopt.isra.8+0x23d/0x39d0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 13937 Comm: syz-executor7 Not tainted 4.15.0-rc9+ #217 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+0x824/0xca0 net/ipv4/inet_connection_sock.c:544 dccp_v4_send_response+0xa7/0x650 net/dccp/ipv4.c:485 dccp_v4_conn_request+0x9ee/0x11b0 net/dccp/ipv4.c:633 dccp_v6_conn_request+0xd30/0x1410 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+0x86a/0xa70 net/dccp/ipv6.c:578 sk_backlog_rcv include/net/sock.h:908 [inline] __release_sock+0x124/0x360 net/core/sock.c:2274 release_sock+0xa4/0x2a0 net/core/sock.c:2789 do_ipv6_setsockopt.isra.8+0x50a/0x39d0 net/ipv6/ipv6_sockglue.c:898 ipv6_setsockopt+0xd7/0x150 net/ipv6/ipv6_sockglue.c:922 dccp_setsockopt+0x85/0xd0 net/dccp/proto.c:576 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2978 SYSC_setsockopt net/socket.c:1849 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1828 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f268a556c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000453299 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 00000000000003bf R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020988fe0 R11: 0000000000000212 R12: 00000000006f4a88 R13: 00000000ffffffff R14: 00007f268a5576d4 R15: 0000000000000000 ============================= WARNING: suspicious RCU usage 4.15.0-rc9+ #217 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-executor7/13937: #0: (sk_lock-AF_INET6){+.+.}, at: [<000000003eb73148>] lock_sock include/net/sock.h:1463 [inline] #0: (sk_lock-AF_INET6){+.+.}, at: [<000000003eb73148>] do_ipv6_setsockopt.isra.8+0x23d/0x39d0 net/ipv6/ipv6_sockglue.c:167 stack backtrace: CPU: 1 PID: 13937 Comm: syz-executor7 Not tainted 4.15.0-rc9+ #217 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+0x9ee/0x11b0 net/dccp/ipv4.c:633 dccp_v6_conn_request+0xd30/0x1410 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+0x86a/0xa70 net/dccp/ipv6.c:578 sk_backlog_rcv include/net/sock.h:908 [inline] __release_sock+0x124/0x360 net/core/sock.c:2274 release_sock+0xa4/0x2a0 net/core/sock.c:2789 do_ipv6_setsockopt.isra.8+0x50a/0x39d0 net/ipv6/ipv6_sockglue.c:898 ipv6_setsockopt+0xd7/0x150 net/ipv6/ipv6_sockglue.c:922 dccp_setsockopt+0x85/0xd0 net/dccp/proto.c:576 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2978 SYSC_setsockopt net/socket.c:1849 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1828 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f268a556c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000453299 RDX: 0000000000000020 RSI: 0000000000000029 RDI: 0000000000000013 RBP: 00000000000003bf R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020988fe0 R11: 0000000000000212 R12: 00000000006f4a88 R13: 00000000ffffffff R14: 00007f268a5576d4 R15: 0000000000000000 audit: type=1400 audit(1517392510.369:64): avc: denied { getattr } for pid=14090 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 netlink: 'syz-executor0': attribute type 18 has an invalid length. audit: type=1400 audit(1517392511.211:65): avc: denied { create } for pid=14323 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=netlink_fib_lookup_socket permissive=1 tc_dump_action: action bad kind audit: type=1400 audit(1517392511.243:66): avc: denied { write } for pid=14323 comm="syz-executor0" path="socket:[28131]" dev="sockfs" ino=28131 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_fib_lookup_socket permissive=1 netlink: 58 bytes leftover after parsing attributes in process `syz-executor7'. xt_DSCP: dscp fc out of range xt_DSCP: dscp fc out of range netlink: 58 bytes leftover after parsing attributes in process `syz-executor7'. IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready vcan0: Invalid MTU -2147483648 requested, hw min 0 vcan0: Invalid MTU -2147483648 requested, hw min 0 Cannot find add_set index 0 as target Cannot find add_set index 0 as target netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 'syz-executor0': attribute type 17 has an invalid length. netlink: 'syz-executor2': attribute type 6 has an invalid length. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 'syz-executor0': attribute type 17 has an invalid length. rdma_op 000000004e4f9f85 conn xmit_rdma (null) netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 'syz-executor2': attribute type 6 has an invalid length. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. TCP: request_sock_TCPv6: Possible SYN flooding on port 20030. Sending cookies. Check SNMP counters. xt_HMARK: spi-set and port-set can't be combined xt_HMARK: spi-set and port-set can't be combined openvswitch: netlink: Flow get message rejected, Key attribute missing. netlink: 4 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor3'. syz2: Invalid MTU 1 requested, hw min 68 syz2: Invalid MTU 1 requested, hw min 68 netlink: 'syz-executor6': attribute type 8 has an invalid length. netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. syz5: FDB only supports static addresses netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. syz5: FDB only supports static addresses IPv6: : Disabled Multicast RS sctp: [Deprecated]: syz-executor6 (pid 15252) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor6 (pid 15259) Use of int in maxseg socket option. Use struct sctp_assoc_value instead dccp_v4_rcv: dropped packet with invalid checksum dccp_v4_rcv: dropped packet with invalid checksum audit: type=1400 audit(1517392515.171:67): avc: denied { accept } for pid=15398 comm="syz-executor5" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_crypto_socket permissive=1 openvswitch: netlink: Message has 4 unknown bytes. audit: type=1400 audit(1517392515.617:68): avc: denied { bind } for pid=15531 comm="syz-executor4" 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 sock: process `syz-executor6' is using obsolete getsockopt SO_BSDCOMPAT ip_tunnel: non-ECT from 0.0.0.0 with TOS=0x1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=14053 sclass=netlink_route_socket pig=15806 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=14053 sclass=netlink_route_socket pig=15808 comm=syz-executor3 ip_tunnel: non-ECT from 0.0.0.0 with TOS=0x1 audit: type=1400 audit(1517392517.267:69): avc: denied { write } for pid=15958 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket permissive=1 IPVS: ftp: loaded support on port[0] = 21 netlink: 'syz-executor2': attribute type 21 has an invalid length. netlink: 'syz-executor2': attribute type 21 has an invalid length. nla_parse: 2 callbacks suppressed netlink: 16 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor2'. audit: type=1400 audit(1517392518.431:70): avc: denied { net_bind_service } for pid=16275 comm="syz-executor6" capability=10 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17169 sclass=netlink_route_socket pig=16317 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17169 sclass=netlink_route_socket pig=16333 comm=syz-executor4 netlink: 4 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor4'. sctp: [Deprecated]: syz-executor0 (pid 16408) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor0 (pid 16408) Use of int in maxseg socket option. Use struct sctp_assoc_value instead