============================= WARNING: suspicious RCU usage 4.15.0+ #217 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-executor7/6864: #0: (rcu_read_lock){....}, at: [<0000000076b4640e>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 0 PID: 6864 Comm: syz-executor7 Not tainted 4.15.0+ #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: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+0x2a2/0x760 mm/slab.c:3539 rds_tcp_conn_alloc+0xa7/0x4e0 net/rds/tcp.c:296 __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_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ee/0xfa1 arch/x86/entry/common.c:392 entry_SYSENTER_compat+0x54/0x63 arch/x86/entry/entry_64_compat.S:129 RIP: 0023:0xf7fecc79 RSP: 002b:00000000f77e809c EFLAGS: 00000286 ORIG_RAX: 0000000000000171 RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 0000000020fc2000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000002069affb RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 BUG: sleeping function called from invalid context at mm/slab.h:420 in_atomic(): 1, irqs_disabled(): 0, pid: 6864, name: syz-executor7 1 lock held by syz-executor7/6864: #0: (rcu_read_lock){....}, at: [<0000000076b4640e>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 0 PID: 6864 Comm: syz-executor7 Not tainted 4.15.0+ #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 ___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+0x2a2/0x760 mm/slab.c:3539 rds_tcp_conn_alloc+0xa7/0x4e0 net/rds/tcp.c:296 __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_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ee/0xfa1 arch/x86/entry/common.c:392 entry_SYSENTER_compat+0x54/0x63 arch/x86/entry/entry_64_compat.S:129 RIP: 0023:0xf7fecc79 RSP: 002b:00000000f77e809c EFLAGS: 00000286 ORIG_RAX: 0000000000000171 RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 0000000020fc2000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000002069affb RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 9pnet_virtio: no channels available for device ./file0 9pnet_virtio: no channels available for device ./file0 can: request_module (can-proto-6) failed. can: request_module (can-proto-6) failed. binder: 7062:7074 BC_FREE_BUFFER u0000000020000000 matched unreturned buffer binder: BINDER_SET_CONTEXT_MGR already set binder: 7062:7074 ioctl 40046207 0 returned -16 binder_alloc: 7062: binder_alloc_buf, no vma binder: 7062:7087 transaction failed 29189/-3, size 0-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 7062:7074 transaction 11 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 11, target dead audit: type=1400 audit(1518289626.839:45): avc: denied { getattr } for pid=7116 comm="syz-executor2" path="socket:[21331]" dev="sockfs" ino=21331 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 audit: type=1400 audit(1518289626.839:46): avc: denied { setgid } for pid=7116 comm="syz-executor2" capability=6 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 audit: type=1400 audit(1518289626.938:47): avc: denied { setopt } for pid=7116 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_generic_socket permissive=1 syz-executor0 uses obsolete (PF_INET,SOCK_PACKET) binder: 7253 RLIMIT_NICE not set binder: 7253 RLIMIT_NICE not set binder: release 7252:7253 transaction 14 in, still active binder: send failed reply for transaction 14 to 7252:7256 binder: BINDER_SET_CONTEXT_MGR already set binder: 7252:7253 ioctl 40046207 0 returned -16 binder: 7256 RLIMIT_NICE not set binder_alloc: 7252: binder_alloc_buf, no vma binder: 7252:7256 transaction failed 29189/-3, size 0-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=20271 sclass=netlink_route_socket pig=7274 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=20271 sclass=netlink_route_socket pig=7274 comm=syz-executor2 netlink: 'syz-executor0': attribute type 3 has an invalid length. kernel msg: ebtables bug: please report to author: Wrong len argument netlink: 'syz-executor0': attribute type 3 has an invalid length. audit: type=1400 audit(1518289628.127:48): avc: denied { map } for pid=7350 comm="syz-executor4" path="/dev/dsp1" dev="devtmpfs" ino=1151 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sound_device_t:s0 tclass=chr_file permissive=1 binder: 7387:7394 ioctl 81 209cdf77 returned -22 QAT: failed to copy from user cfg_data. audit: type=1400 audit(1518289628.273:49): avc: denied { transfer } for pid=7387 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=binder permissive=1 kernel msg: ebtables bug: please report to author: Wrong len argument QAT: failed to copy from user cfg_data. binder: 7387:7411 ioctl 4008641a 20973000 returned -22 binder: 7387:7394 ioctl 81 209cdf77 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder_alloc: 7387: binder_alloc_buf, no vma binder: 7387:7428 transaction failed 29189/-3, size 40-8 line 2957 binder: 7387:7411 ioctl 40046207 0 returned -16 binder: 7387:7431 ioctl 4008641a 20973000 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 7387:7394 transaction 17 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 17, target dead audit: type=1400 audit(1518289628.664:50): avc: denied { write } for pid=7456 comm="syz-executor1" name="net" dev="proc" ino=23117 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(1518289628.667:51): avc: denied { add_name } for pid=7456 comm="syz-executor1" name="pfkey" 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(1518289628.667:52): avc: denied { create } for pid=7456 comm="syz-executor1" name="pfkey" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:insmod_t:s0 tclass=file permissive=1 device eql entered promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode audit: type=1400 audit(1518289630.314:53): avc: denied { read } for pid=7802 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 device lo entered promiscuous mode device lo left promiscuous mode device syz5 entered promiscuous mode device syz5 left promiscuous mode device syz5 entered promiscuous mode audit: type=1400 audit(1518289631.002:54): avc: denied { fsetid } for pid=7925 comm="syz-executor3" capability=4 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 autofs4:pid:7985:check_dev_ioctl_version: ioctl control interface version mismatch: kernel(1.1), user(3590324411.0), cmd(0x0000937e) autofs4:pid:7985:validate_dev_ioctl: invalid device control module version supplied for cmd(0x0000937e) autofs4:pid:7985:check_dev_ioctl_version: ioctl control interface version mismatch: kernel(1.1), user(3590324411.0), cmd(0x0000937e) autofs4:pid:7985:validate_dev_ioctl: invalid device control module version supplied for cmd(0x0000937e) snd_dummy snd_dummy.0: control 120:0:0:Î:0 is already present snd_dummy snd_dummy.0: control 120:0:0:Î:0 is already present netlink: 'syz-executor4': attribute type 1 has an invalid length. netlink: 'syz-executor4': attribute type 1 has an invalid length. netlink: 28 bytes leftover after parsing attributes in process `syz-executor3'. can: request_module (can-proto-6) failed. can: request_module (can-proto-6) failed. netlink: 28 bytes leftover after parsing attributes in process `syz-executor3'. IPv4: Oversized IP packet from 127.0.0.1 x86/PAT: syz-executor2:8280 map pfn RAM range req write-combining for [mem 0x1b7540000-0x1b7543fff], got write-back x86/PAT: syz-executor2:8280 map pfn RAM range req write-combining for [mem 0x1a61b0000-0x1a61b3fff], got write-back IPv4: Oversized IP packet from 127.0.0.1 QAT: Invalid ioctl QAT: Invalid ioctl audit: type=1400 audit(1518289632.900:55): avc: denied { net_admin } for pid=4102 comm="syz-executor3" capability=12 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 capability: warning: `syz-executor5' uses deprecated v2 capabilities in a way that may be insecure audit: type=1400 audit(1518289632.953:56): avc: denied { net_admin } for pid=4105 comm="syz-executor7" capability=12 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 audit: type=1400 audit(1518289632.990:57): avc: denied { map } for pid=8372 comm="modprobe" path="/bin/kmod" dev="sda1" ino=1440 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 kauditd_printk_skb: 3 callbacks suppressed audit: type=1400 audit(1518289633.231:61): avc: denied { create } for pid=8399 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_generic_socket permissive=1 audit: type=1400 audit(1518289633.326:62): avc: denied { dac_read_search } for pid=8401 comm="syz-executor0" capability=2 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 audit: type=1400 audit(1518289633.327:63): avc: denied { net_raw } for pid=8418 comm="syz-executor4" capability=13 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 x_tables: ip_tables: set.4 match: invalid size 48 (kernel) != (user) 40 sctp: [Deprecated]: syz-executor7 (pid 8451) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead audit: type=1400 audit(1518289633.542:64): avc: denied { create } for pid=8445 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(1518289633.572:65): avc: denied { write } for pid=8445 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 x_tables: ip_tables: set.4 match: invalid size 48 (kernel) != (user) 40 audit: type=1400 audit(1518289633.691:66): avc: denied { read } for pid=8472 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_generic_socket permissive=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=18176 sclass=netlink_route_socket pig=8492 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=18176 sclass=netlink_route_socket pig=8492 comm=syz-executor1 audit: type=1400 audit(1518289633.916:67): avc: denied { create } for pid=8511 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_crypto_socket permissive=1 audit: type=1400 audit(1518289633.945:68): avc: denied { map } for pid=8523 comm="syz-executor7" path=2F6D656D66643A706F73FB202864656C6574656429 dev="tmpfs" ino=27548 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmpfs_t:s0 tclass=file permissive=1 audit: type=1400 audit(1518289633.954:69): avc: denied { write } for pid=8511 comm="syz-executor1" path="socket:[28291]" dev="sockfs" ino=28291 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 audit: type=1400 audit(1518289633.960:70): avc: denied { dyntransition } for pid=8511 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0 tclass=process permissive=1 device eql entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=54162 sclass=netlink_route_socket pig=8663 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=54162 sclass=netlink_route_socket pig=8663 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=54162 sclass=netlink_route_socket pig=8686 comm=syz-executor3