Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable BUG: please report to dccp@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:425/tfrc_rx_hist_sample_rtt() CPU: 1 PID: 5419 Comm: syz-executor4 Not tainted 4.15.0+ #222 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 tfrc_rx_hist_sample_rtt+0x407/0x4d0 net/dccp/ccids/lib/packet_history.c:422 ccid3_hc_rx_packet_recv+0x696/0xeb3 net/dccp/ccids/ccid3.c:765 ccid_hc_rx_packet_recv net/dccp/ccid.h:185 [inline] dccp_deliver_input_to_ccids+0xd9/0x250 net/dccp/input.c:180 dccp_rcv_established+0x88/0xb0 net/dccp/input.c:378 dccp_v4_do_rcv+0x135/0x160 net/dccp/ipv4.c:653 sk_backlog_rcv include/net/sock.h:908 [inline] __sk_receive_skb+0x33e/0xc10 net/core/sock.c:513 dccp_v4_rcv+0xf5f/0x1c80 net/dccp/ipv4.c:874 ip_local_deliver_finish+0x2f1/0xc50 net/ipv4/ip_input.c:216 NF_HOOK include/linux/netfilter.h:288 [inline] ip_local_deliver+0x1ce/0x6e0 net/ipv4/ip_input.c:257 dst_input include/net/dst.h:449 [inline] ip_rcv_finish+0xa36/0x2040 net/ipv4/ip_input.c:397 NF_HOOK include/linux/netfilter.h:288 [inline] ip_rcv+0xc5a/0x1840 net/ipv4/ip_input.c:493 __netif_receive_skb_core+0x1a41/0x3460 net/core/dev.c:4547 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4612 process_backlog+0x203/0x740 net/core/dev.c:5292 napi_poll net/core/dev.c:5690 [inline] net_rx_action+0x792/0x1910 net/core/dev.c:5756 __do_softirq+0x2d7/0xb85 kernel/softirq.c:285 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1042 do_softirq.part.19+0x14d/0x190 kernel/softirq.c:329 do_softirq kernel/softirq.c:177 [inline] __local_bh_enable_ip+0x1ee/0x230 kernel/softirq.c:182 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:726 [inline] ip_finish_output2+0x962/0x1550 net/ipv4/ip_output.c:231 ip_finish_output+0x864/0xd10 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:277 [inline] ip_output+0x1d2/0x860 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:443 [inline] ip_local_out+0x95/0x160 net/ipv4/ip_output.c:124 ip_queue_xmit+0x8c0/0x18e0 net/ipv4/ip_output.c:504 dccp_transmit_skb+0x9ac/0x10f0 net/dccp/output.c:142 dccp_xmit_packet+0x215/0x740 net/dccp/output.c:281 dccp_write_xmit+0x17d/0x1d0 net/dccp/output.c:363 dccp_sendmsg+0x95f/0xdc0 net/dccp/proto.c:813 inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:764 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 ___sys_sendmsg+0x320/0x8b0 net/socket.c:2046 __sys_sendmmsg+0x1ee/0x620 net/socket.c:2136 SYSC_sendmmsg net/socket.c:2167 [inline] SyS_sendmmsg+0x35/0x60 net/socket.c:2162 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007fb9e1486c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007fb9e14876d4 RCX: 0000000000453a59 RDX: 0000000000000003 RSI: 0000000020eb4f58 RDI: 0000000000000015 RBP: 000000000071c010 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000040000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004a5 R14: 00000000006f7018 R15: 0000000000000002 dccp_close: ABORT with 8218 bytes unread device syz0 entered promiscuous mode insert transport fail, errno -17 dccp_v6_rcv: dropped packet with invalid checksum audit: type=1400 audit(1518347514.999:21): avc: denied { map_create } for pid=5481 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=bpf permissive=1 device syz0 left promiscuous mode syz-executor1 (5462) used greatest stack depth: 14688 bytes left dccp_v6_rcv: dropped packet with invalid checksum xt_connbytes: Forcing CT accounting to be enabled ipt_CLUSTERIP: Please specify destination IP ipt_CLUSTERIP: Please specify destination IP netlink: 'syz-executor1': attribute type 21 has an invalid length. netlink: 'syz-executor1': attribute type 21 has an invalid length. Cannot find add_set index 7 as target Cannot find add_set index 7 as target netlink: 508 bytes leftover after parsing attributes in process `syz-executor4'. sctp: [Deprecated]: syz-executor1 (pid 5763) Use of int in maxseg socket option. Use struct sctp_assoc_value instead netlink: 508 bytes leftover after parsing attributes in process `syz-executor4'. sctp: [Deprecated]: syz-executor1 (pid 5763) Use of int in maxseg socket option. Use struct sctp_assoc_value instead SELinux: unrecognized netlink message: protocol=0 nlmsg_type=3840 sclass=netlink_route_socket pig=5823 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=3840 sclass=netlink_route_socket pig=5823 comm=syz-executor0 syz-executor5 uses obsolete (PF_INET,SOCK_PACKET) IPv4: Oversized IP packet from 127.0.0.1 IPv4: Oversized IP packet from 127.0.0.1 IPv4: Oversized IP packet from 127.0.0.1 IPv4: Oversized IP packet from 127.0.0.1 xt_policy: output policy not valid in PREROUTING and INPUT xt_policy: output policy not valid in PREROUTING and INPUT x_tables: ip_tables: recent.0 match: invalid size 216 (kernel) != (user) 232 netlink: 40 bytes leftover after parsing attributes in process `syz-executor5'. x_tables: ip_tables: recent.0 match: invalid size 216 (kernel) != (user) 232 netlink: 40 bytes leftover after parsing attributes in process `syz-executor5'. dccp_invalid_packet: invalid packet type netlink: 'syz-executor7': attribute type 21 has an invalid length. netlink: 4 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 'syz-executor7': attribute type 21 has an invalid length. netlink: 4 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 'syz-executor1': attribute type 21 has an invalid length. netlink: 'syz-executor1': attribute type 21 has an invalid length. xt_cgroup: invalid path, errno=-2 xt_cgroup: invalid path, errno=-2 ============================= WARNING: suspicious RCU usage 4.15.0+ #222 Not tainted ----------------------------- ./include/linux/rcupdate.h:302 Illegal context switch in RCU read-side critical section! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor3/6481: #0: (rcu_read_lock){....}, at: [<00000000a17dd16a>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 0 PID: 6481 Comm: syz-executor3 Not tainted 4.15.0+ #222 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 BUG: sleeping function called from invalid context at mm/slab.h:420 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:4592 in_atomic(): 1, irqs_disabled(): 0, pid: 6498, name: syz-executor3 rcu_preempt_sleep_check include/linux/rcupdate.h:301 [inline] ___might_sleep+0x385/0x470 kernel/sched/core.c:6093 1 lock held by syz-executor3/6498: __might_sleep+0x95/0x190 kernel/sched/core.c:6081 slab_pre_alloc_hook mm/slab.h:420 [inline] slab_alloc mm/slab.c:3365 [inline] kmem_cache_alloc_trace+0x299/0x740 mm/slab.c:3605 #0: kmalloc include/linux/slab.h:512 [inline] kzalloc include/linux/slab.h:701 [inline] rds_loop_conn_alloc+0xc8/0x380 net/rds/loop.c:126 ( __rds_conn_create+0x112f/0x1b50 net/rds/connection.c:227 rcu_read_lock ){....} rds_conn_create_outgoing+0x3f/0x50 net/rds/connection.c:309 rds_sendmsg+0xda3/0x2390 net/rds/send.c:1126 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 SYSC_sendto+0x361/0x5c0 net/socket.c:1747 , at: [<00000000a17dd16a>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 SyS_sendto+0x40/0x50 net/socket.c:1715 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007f9464af6c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f9464af76d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 00000000208b9000 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 00000000202b4000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b9 R14: 00000000006f71f8 R15: 0000000000000000 CPU: 1 PID: 6498 Comm: syz-executor3 Not tainted 4.15.0+ #222 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 ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6128 __might_sleep+0x95/0x190 kernel/sched/core.c:6081 slab_pre_alloc_hook mm/slab.h:420 [inline] slab_alloc mm/slab.c:3365 [inline] kmem_cache_alloc_trace+0x299/0x740 mm/slab.c:3605 kmalloc include/linux/slab.h:512 [inline] kzalloc include/linux/slab.h:701 [inline] rds_loop_conn_alloc+0xc8/0x380 net/rds/loop.c:126 __rds_conn_create+0x112f/0x1b50 net/rds/connection.c:227 rds_conn_create_outgoing+0x3f/0x50 net/rds/connection.c:309 rds_sendmsg+0xda3/0x2390 net/rds/send.c:1126 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 SYSC_sendto+0x361/0x5c0 net/socket.c:1747 SyS_sendto+0x40/0x50 net/socket.c:1715 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007f9464ab4c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f9464ab56d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 00000000208b9000 RDI: 0000000000000014 RBP: 000000000071c010 R08: 00000000202b4000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b9 R14: 00000000006f71f8 R15: 0000000000000002 kauditd_printk_skb: 7 callbacks suppressed audit: type=1400 audit(1518347519.519:29): avc: denied { map } for pid=6568 comm="syz-executor4" path=2F616E6F6E5F6875676570616765202864656C6574656429 dev="hugetlbfs" ino=16586 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:hugetlbfs_t:s0 tclass=file permissive=1 IPVS: length: 24 != 8 syz-executor3 (6614) used greatest stack depth: 13312 bytes left xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables device syz5 entered promiscuous mode Cannot find add_set index 5 as target device syz5 left promiscuous mode Cannot find add_set index 5 as target audit: type=1400 audit(1518347520.196:30): avc: denied { create } for pid=6726 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_iscsi_socket permissive=1 audit: type=1400 audit(1518347520.258:31): avc: denied { create } for pid=6751 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_connector_socket permissive=1 audit: type=1400 audit(1518347520.281:32): avc: denied { write } for pid=6751 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_connector_socket permissive=1 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=0 sclass=netlink_xfrm_socket pig=6781 comm=syz-executor7 xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables device syz3 entered promiscuous mode netlink: 'syz-executor5': attribute type 21 has an invalid length. netlink: 'syz-executor5': attribute type 1 has an invalid length. audit: type=1400 audit(1518347521.291:33): avc: denied { read } for pid=7034 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 audit: type=1400 audit(1518347521.361:34): avc: denied { getopt } for pid=7057 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_generic_socket permissive=1 tc_dump_action: action bad kind ipt_ECN: unsupported ECN operation fe tc_dump_action: action bad kind ipt_ECN: unsupported ECN operation fe audit: type=1400 audit(1518347521.591:35): avc: denied { setopt } for pid=7114 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_generic_socket permissive=1 netlink: 'syz-executor0': attribute type 13 has an invalid length. netlink: 'syz-executor0': attribute type 13 has an invalid length. ip6t_srh: unknown srh invflags 3E20 xt_TPROXY: Can be used only in combination with either -p tcp or -p udp xt_TPROXY: Can be used only in combination with either -p tcp or -p udp xt_HMARK: proto mask must be zero with L3 mode audit: type=1400 audit(1518347522.138:36): avc: denied { create } for pid=7267 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_crypto_socket permissive=1 xt_HMARK: proto mask must be zero with L3 mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7289 comm=syz-executor2 audit: type=1400 audit(1518347522.335:37): avc: denied { ioctl } for pid=7318 comm="syz-executor3" path="socket:[18192]" dev="sockfs" ino=18192 ioctlcmd=0x8914 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 net_ratelimit: 1 callbacks suppressed dccp_close: ABORT with 426 bytes unread x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 audit: type=1400 audit(1518347523.085:38): avc: denied { getattr } for pid=7534 comm="syz-executor2" 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 ip_tunnel: non-ECT from 0.0.0.0 with TOS=0x3 ip_tunnel: non-ECT from 0.0.0.0 with TOS=0x3 sctp: [Deprecated]: syz-executor2 (pid 7781) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor2 (pid 7802) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead