============================= WARNING: suspicious RCU usage 4.15.0+ #307 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-executor0/30946: #0: (rcu_read_lock){....}, at: [<0000000019820f82>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 0 PID: 30946 Comm: syz-executor0 Not tainted 4.15.0+ #307 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:4592 rcu_preempt_sleep_check include/linux/rcupdate.h:301 [inline] ___might_sleep+0x385/0x470 kernel/sched/core.c:6093 __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:00007fc6c2e93c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fc6c2e946d4 RCX: 0000000000453a59 RDX: 0000000000000901 RSI: 00000000204c7000 RDI: 0000000000000015 RBP: 000000000071bea0 R08: 000000002055cff0 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b9 R14: 00000000006f71f8 R15: 0000000000000000 BUG: sleeping function called from invalid context at mm/slab.h:420 in_atomic(): 1, irqs_disabled(): 0, pid: 30946, name: syz-executor0 1 lock held by syz-executor0/30946: #0: (rcu_read_lock){....}, at: [<0000000019820f82>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 0 PID: 30946 Comm: syz-executor0 Not tainted 4.15.0+ #307 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:00007fc6c2e93c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fc6c2e946d4 RCX: 0000000000453a59 RDX: 0000000000000901 RSI: 00000000204c7000 RDI: 0000000000000015 RBP: 000000000071bea0 R08: 000000002055cff0 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b9 R14: 00000000006f71f8 R15: 0000000000000000 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=40886 sclass=netlink_route_socket pig=30952 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=40886 sclass=netlink_route_socket pig=30960 comm=syz-executor2 device eql entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=31137 comm=syz-executor3 x86/PAT: syz-executor3:31274 map pfn RAM range req write-combining for [mem 0x1d90a0000-0x1d90a3fff], got write-back TCP: request_sock_TCPv6: Possible SYN flooding on port 20026. Sending cookies. Check SNMP counters. x86/PAT: syz-executor3:31291 map pfn RAM range req write-combining for [mem 0x1d90a0000-0x1d90a3fff], got write-back rpcbind: RPC call returned error 22 rpcbind: RPC call returned error 22 xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported 8021q: VLANs not supported on lo 8021q: VLANs not supported on lo audit: type=1400 audit(1518300649.341:87): avc: denied { map } for pid=31677 comm="syz-executor3" path="/dev/usbmon0" dev="devtmpfs" ino=9072 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usbmon_device_t:s0 tclass=chr_file permissive=1 cgroup: cgroup2: unknown option "¿?¨K_ŠÆEŽQDkœè6ŲRšq+¦ÕRÈJó _Áà>—@H ñ¡h" x_tables: ip6_tables: eui64 match: used from hooks INPUT/OUTPUT, but only valid from PREROUTING/INPUT/FORWARD x_tables: ip6_tables: eui64 match: used from hooks INPUT/OUTPUT, but only valid from PREROUTING/INPUT/FORWARD audit: type=1326 audit(1518300650.437:88): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=31938 comm="syz-executor7" exe="/root/syz-executor7" sig=9 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0x0 audit: type=1326 audit(1518300650.531:89): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=31938 comm="syz-executor7" exe="/root/syz-executor7" sig=9 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0x0 xt_connbytes: Forcing CT accounting to be enabled xt_TPROXY: Can be used only in combination with either -p tcp or -p udp xt_connbytes: Forcing CT accounting to be enabled FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 xt_TPROXY: Can be used only in combination with either -p tcp or -p udp CPU: 1 PID: 32108 Comm: syz-executor2 Tainted: G W 4.15.0+ #307 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 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc mm/slab.c:3365 [inline] __do_kmalloc mm/slab.c:3703 [inline] __kmalloc+0x63/0x760 mm/slab.c:3714 kmalloc include/linux/slab.h:517 [inline] rw_copy_check_uvector+0x205/0x280 fs/read_write.c:754 import_iovec+0xc8/0x430 lib/iov_iter.c:1398 copy_msghdr_from_user+0x39b/0x590 net/socket.c:1965 ___sys_sendmsg+0x13c/0x8b0 net/socket.c:1991 __sys_sendmsg+0xe5/0x210 net/socket.c:2080 SYSC_sendmsg net/socket.c:2091 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2087 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007fc637fd0c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc637fd16d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 000000002001b000 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 00000000000004a6 R14: 00000000006f7030 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 32130 Comm: syz-executor2 Tainted: G W 4.15.0+ #307 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 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:2955 [inline] prepare_alloc_pages mm/page_alloc.c:4194 [inline] __alloc_pages_nodemask+0x327/0xdd0 mm/page_alloc.c:4233 __alloc_pages include/linux/gfp.h:456 [inline] __alloc_pages_node include/linux/gfp.h:469 [inline] kmem_getpages mm/slab.c:1410 [inline] cache_grow_begin+0x72/0x570 mm/slab.c:2665 cache_alloc_refill mm/slab.c:3032 [inline] ____cache_alloc mm/slab.c:3114 [inline] __do_cache_alloc mm/slab.c:3336 [inline] slab_alloc mm/slab.c:3371 [inline] __do_kmalloc mm/slab.c:3703 [inline] __kmalloc+0x408/0x760 mm/slab.c:3714 kmalloc include/linux/slab.h:517 [inline] rw_copy_check_uvector+0x205/0x280 fs/read_write.c:754 import_iovec+0xc8/0x430 lib/iov_iter.c:1398 copy_msghdr_from_user+0x39b/0x590 net/socket.c:1965 ___sys_sendmsg+0x13c/0x8b0 net/socket.c:1991 __sys_sendmsg+0xe5/0x210 net/socket.c:2080 SYSC_sendmsg net/socket.c:2091 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2087 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007fc637fd0c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc637fd16d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 000000002001b000 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 00000000000004a6 R14: 00000000006f7030 R15: 0000000000000001 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 xt_HL: TTL: invalid or unknown mode 3 CPU: 1 PID: 32164 Comm: syz-executor2 Tainted: G W 4.15.0+ #307 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 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc mm/slab.c:3365 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3539 dst_alloc+0x11f/0x1a0 net/core/dst.c:104 __ip6_dst_alloc+0x35/0x90 net/ipv6/route.c:361 ip6_rt_cache_alloc+0x118/0x640 net/ipv6/route.c:1058 ip6_pol_route+0x2580/0x3770 net/ipv6/route.c:1722 ip6_pol_route_output+0x4c/0x60 net/ipv6/route.c:1863 fib6_rule_action+0x31c/0x9f0 net/ipv6/fib6_rules.c:133 fib_rules_lookup+0x3a7/0xa90 net/core/fib_rules.c:279 fib6_rule_lookup+0x441/0x600 net/ipv6/fib6_rules.c:75 ip6_route_output_flags+0x260/0x2f0 net/ipv6/route.c:1891 ip6_dst_lookup_tail+0xcea/0x18b0 net/ipv6/ip6_output.c:992 ip6_dst_lookup_flow+0xc8/0x270 net/ipv6/ip6_output.c:1093 rawv6_sendmsg+0x106f/0x40c0 net/ipv6/raw.c:908 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+0x767/0x8b0 net/socket.c:2046 __sys_sendmsg+0xe5/0x210 net/socket.c:2080 SYSC_sendmsg net/socket.c:2091 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2087 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007fc637fd0c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc637fd16d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 000000002001b000 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 00000000000004a6 R14: 00000000006f7030 R15: 0000000000000002 SELinux: failed to load policy SELinux: unrecognized netlink message: protocol=6 nlmsg_type=59973 sclass=netlink_xfrm_socket pig=32436 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=59973 sclass=netlink_xfrm_socket pig=32449 comm=syz-executor4 sctp: [Deprecated]: syz-executor1 (pid 32478) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor1 (pid 32481) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead netlink: 'syz-executor4': attribute type 16 has an invalid length. xt_HMARK: hash modulus can't be zero xt_HMARK: hash modulus can't be zero syz4: FDB only supports static addresses syz4: FDB only supports static addresses IPVS: ftp: loaded support on port[0] = 21 audit: type=1400 audit(1518300654.663:90): avc: denied { map } for pid=32673 comm="syz-executor0" path="/proc/3284/net/sockstat6" dev="proc" ino=4026533305 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_net_t:s0 tclass=file permissive=1 netlink: 'syz-executor1': attribute type 33 has an invalid length. audit: type=1400 audit(1518300654.727:91): avc: denied { map } for pid=32673 comm="syz-executor0" path="/proc/3284" dev="proc" ino=79266 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=dir permissive=1 audit: type=1400 audit(1518300654.727:92): avc: denied { execute } for pid=32673 comm="syz-executor0" path="/proc/3284" dev="proc" ino=79266 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=dir permissive=1 binder: 32712 RLIMIT_NICE not set QAT: Device 2 not found QAT: Device 2 not found audit: type=1400 audit(1518300655.359:93): avc: denied { listen } for pid=352 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_netfilter_socket permissive=1