=============================
WARNING: suspicious RCU usage
4.17.0-rc2+ #24 Not tainted
-----------------------------
kernel/sched/core.c:6153 Illegal context switch in RCU-sched read-side critical section!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
6 locks held by syz-executor7/4586:
#0: (ptrval) (sb_writers#4){.+.+}, at: sb_start_write include/linux/fs.h:1550 [inline]
#0: (ptrval) (sb_writers#4){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386
#1: (ptrval) (&type->i_mutex_dir_key/1){+.+.}, at: inode_lock_nested include/linux/fs.h:748 [inline]
#1: (ptrval) (&type->i_mutex_dir_key/1){+.+.}, at: filename_create+0x1aa/0x5a0 fs/namei.c:3606
#2: (ptrval) (jbd2_handle){++++}, at: start_this_handle+0x581/0x1250 fs/jbd2/transaction.c:385
#3: (ptrval) (&ei->i_data_sem){++++}, at: ext4_map_blocks+0x871/0x1b40 fs/ext4/inode.c:629
#4: (ptrval) (&sb->s_type->i_lock_key#20){+.+.}, at: spin_lock include/linux/spinlock.h:310 [inline]
#4: (ptrval) (&sb->s_type->i_lock_key#20){+.+.}, at: __mark_inode_dirty+0x738/0x1530 fs/fs-writeback.c:2150
#5: (ptrval) (rcu_read_lock_sched){....}, at: wb_get include/linux/backing-dev-defs.h:250 [inline]
#5: (ptrval) (rcu_read_lock_sched){....}, at: locked_inode_to_wb_and_lock_list+0x14a/0xab0 fs/fs-writeback.c:295
stack backtrace:
CPU: 0 PID: 4586 Comm: syz-executor7 Not tainted 4.17.0-rc2+ #24
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1b9/0x294 lib/dump_stack.c:113
lockdep_rcu_suspicious+0x14a/0x153 kernel/locking/lockdep.c:4592
___might_sleep+0x2aa/0x320 kernel/sched/core.c:6153
__might_sleep+0x95/0x190 kernel/sched/core.c:6141
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3378 [inline]
__do_kmalloc mm/slab.c:3716 [inline]
__kmalloc+0x2b9/0x760 mm/slab.c:3727
kmalloc_array include/linux/slab.h:631 [inline]
kcalloc include/linux/slab.h:642 [inline]
numa_crng_init drivers/char/random.c:798 [inline]
crng_reseed+0x427/0x920 drivers/char/random.c:923
credit_entropy_bits+0x98d/0xa30 drivers/char/random.c:708
add_interrupt_randomness+0x494/0x860 drivers/char/random.c:1254
handle_irq_event_percpu+0xf9/0x1c0 kernel/irq/handle.c:191
handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206
handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791
generic_handle_irq_desc include/linux/irqdesc.h:159 [inline]
handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77
do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245
common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642
RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline]
RIP: 0010:write_comp_data+0x22/0x70 kernel/kcov.c:122
RSP: 0018:ffff8801a18dea48 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffd9
RAX: 0000000000000000 RBX: ffff88019c003240 RCX: ffffffff81cc3298
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: ffff8801a18dea48 R08: ffff8801a18d21c0 R09: ffffed003b5c46c2
R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: dffffc0000000000
R13: ffff88019b3215f0 R14: ffff8801a18deb78 R15: 0000000000000000
__sanitizer_cov_trace_const_cmp8+0x18/0x20 kernel/kcov.c:195
__ref_is_percpu include/linux/percpu-refcount.h:160 [inline]
percpu_ref_get_many include/linux/percpu-refcount.h:182 [inline]
percpu_ref_get include/linux/percpu-refcount.h:200 [inline]
wb_get include/linux/backing-dev-defs.h:251 [inline]
locked_inode_to_wb_and_lock_list+0x208/0xab0 fs/fs-writeback.c:295
__mark_inode_dirty+0xe03/0x1530 fs/fs-writeback.c:2190
mark_inode_dirty include/linux/fs.h:2027 [inline]
dquot_alloc_space include/linux/quotaops.h:308 [inline]
dquot_alloc_block include/linux/quotaops.h:325 [inline]
ext4_mb_new_blocks+0x716/0x4730 fs/ext4/mballoc.c:4524
ext4_ext_map_blocks+0x2d63/0x6270 fs/ext4/extents.c:4461
ext4_map_blocks+0x8d9/0x1b40 fs/ext4/inode.c:636
ext4_getblk+0x105/0x600 fs/ext4/inode.c:966
ext4_bread+0x8d/0x2a0 fs/ext4/inode.c:1016
ext4_append+0x14e/0x370 fs/ext4/namei.c:66
ext4_init_new_dir fs/ext4/namei.c:2588 [inline]
ext4_mkdir+0x52a/0xe50 fs/ext4/namei.c:2635
vfs_mkdir+0x42e/0x6b0 fs/namei.c:3787
do_mkdirat+0x266/0x2f0 fs/namei.c:3810
__do_sys_mkdir fs/namei.c:3826 [inline]
__se_sys_mkdir fs/namei.c:3824 [inline]
__x64_sys_mkdir+0x5c/0x80 fs/namei.c:3824
do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x454db7
RSP: 002b:00007fff9f6b9a58 EFLAGS: 00000202 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000000000000078 RCX: 0000000000454db7
RDX: 00007fff9f6ba735 RSI: 00000000000001ff RDI: 00007fff9f6ba730
RBP: 00007fff9f6b9a80 R08: 0000000000000000 R09: 0000000000000005
R10: 0000000000000064 R11: 0000000000000202 R12: 0000000000000013
R13: 0000000000000000 R14: 00000000007000c0 R15: 0000000000001380
BUG: sleeping function called from invalid context at mm/slab.h:421
in_atomic(): 1, irqs_disabled(): 1, pid: 4586, name: syz-executor7
6 locks held by syz-executor7/4586:
#0: (ptrval) (sb_writers#4){.+.+}, at: sb_start_write include/linux/fs.h:1550 [inline]
#0: (ptrval) (sb_writers#4){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386
#1: (ptrval) (&type->i_mutex_dir_key/1){+.+.}, at: inode_lock_nested include/linux/fs.h:748 [inline]
#1: (ptrval) (&type->i_mutex_dir_key/1){+.+.}, at: filename_create+0x1aa/0x5a0 fs/namei.c:3606
#2: (ptrval) (jbd2_handle){++++}, at: start_this_handle+0x581/0x1250 fs/jbd2/transaction.c:385
#3: (ptrval) (&ei->i_data_sem){++++}, at: ext4_map_blocks+0x871/0x1b40 fs/ext4/inode.c:629
#4: (ptrval) (&sb->s_type->i_lock_key#20){+.+.}, at: spin_lock include/linux/spinlock.h:310 [inline]
#4: (ptrval) (&sb->s_type->i_lock_key#20){+.+.}, at: __mark_inode_dirty+0x738/0x1530 fs/fs-writeback.c:2150
#5: (ptrval) (rcu_read_lock_sched){....}, at: wb_get include/linux/backing-dev-defs.h:250 [inline]
#5: (ptrval) (rcu_read_lock_sched){....}, at: locked_inode_to_wb_and_lock_list+0x14a/0xab0 fs/fs-writeback.c:295
irq event stamp: 861772
hardirqs last enabled at (861771): [] lookup_bh_lru fs/buffer.c:1271 [inline]
hardirqs last enabled at (861771): [] __find_get_block+0x2b8/0xe50 fs/buffer.c:1283
hardirqs last disabled at (861772): [] interrupt_entry+0xb5/0xf0 arch/x86/entry/entry_64.S:625
softirqs last enabled at (861680): [] tcp_close+0xaa4/0x12b0 net/ipv4/tcp.c:2452
softirqs last disabled at (861672): [] sock_orphan include/net/sock.h:1717 [inline]
softirqs last disabled at (861672): [] tcp_close+0x6ed/0x12b0 net/ipv4/tcp.c:2387
CPU: 0 PID: 4586 Comm: syz-executor7 Not tainted 4.17.0-rc2+ #24
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1b9/0x294 lib/dump_stack.c:113
___might_sleep.cold.87+0x11f/0x13a kernel/sched/core.c:6188
__might_sleep+0x95/0x190 kernel/sched/core.c:6141
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3378 [inline]
__do_kmalloc mm/slab.c:3716 [inline]
__kmalloc+0x2b9/0x760 mm/slab.c:3727
kmalloc_array include/linux/slab.h:631 [inline]
kcalloc include/linux/slab.h:642 [inline]
numa_crng_init drivers/char/random.c:798 [inline]
crng_reseed+0x427/0x920 drivers/char/random.c:923
credit_entropy_bits+0x98d/0xa30 drivers/char/random.c:708
add_interrupt_randomness+0x494/0x860 drivers/char/random.c:1254
handle_irq_event_percpu+0xf9/0x1c0 kernel/irq/handle.c:191
handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206
handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791
generic_handle_irq_desc include/linux/irqdesc.h:159 [inline]
handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77
do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245
common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642
RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline]
RIP: 0010:write_comp_data+0x22/0x70 kernel/kcov.c:122
RSP: 0018:ffff8801a18dea48 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffd9
RAX: 0000000000000000 RBX: ffff88019c003240 RCX: ffffffff81cc3298
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: ffff8801a18dea48 R08: ffff8801a18d21c0 R09: ffffed003b5c46c2
R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: dffffc0000000000
R13: ffff88019b3215f0 R14: ffff8801a18deb78 R15: 0000000000000000
__sanitizer_cov_trace_const_cmp8+0x18/0x20 kernel/kcov.c:195
__ref_is_percpu include/linux/percpu-refcount.h:160 [inline]
percpu_ref_get_many include/linux/percpu-refcount.h:182 [inline]
percpu_ref_get include/linux/percpu-refcount.h:200 [inline]
wb_get include/linux/backing-dev-defs.h:251 [inline]
locked_inode_to_wb_and_lock_list+0x208/0xab0 fs/fs-writeback.c:295
__mark_inode_dirty+0xe03/0x1530 fs/fs-writeback.c:2190
mark_inode_dirty include/linux/fs.h:2027 [inline]
dquot_alloc_space include/linux/quotaops.h:308 [inline]
dquot_alloc_block include/linux/quotaops.h:325 [inline]
ext4_mb_new_blocks+0x716/0x4730 fs/ext4/mballoc.c:4524
ext4_ext_map_blocks+0x2d63/0x6270 fs/ext4/extents.c:4461
ext4_map_blocks+0x8d9/0x1b40 fs/ext4/inode.c:636
ext4_getblk+0x105/0x600 fs/ext4/inode.c:966
ext4_bread+0x8d/0x2a0 fs/ext4/inode.c:1016
ext4_append+0x14e/0x370 fs/ext4/namei.c:66
ext4_init_new_dir fs/ext4/namei.c:2588 [inline]
ext4_mkdir+0x52a/0xe50 fs/ext4/namei.c:2635
vfs_mkdir+0x42e/0x6b0 fs/namei.c:3787
do_mkdirat+0x266/0x2f0 fs/namei.c:3810
__do_sys_mkdir fs/namei.c:3826 [inline]
__se_sys_mkdir fs/namei.c:3824 [inline]
__x64_sys_mkdir+0x5c/0x80 fs/namei.c:3824
do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x454db7
RSP: 002b:00007fff9f6b9a58 EFLAGS: 00000202 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000000000000078 RCX: 0000000000454db7
RDX: 00007fff9f6ba735 RSI: 00000000000001ff RDI: 00007fff9f6ba730
RBP: 00007fff9f6b9a80 R08: 0000000000000000 R09: 0000000000000005
R10: 0000000000000064 R11: 0000000000000202 R12: 0000000000000013
R13: 0000000000000000 R14: 00000000007000c0 R15: 0000000000001380
random: crng init done
gfs2: gfs2 mount does not exist
devpts: called with bogus options
gfs2: path_lookup on ./file2 returned error -2
devpts: called with bogus options
gfs2: path_lookup on ./file2 returned error -2
IPVS: ftp: loaded support on port[0] = 21
autofs4:pid:10000:autofs4_fill_super: called with bogus options
tmpfs: No value for mount option '
L'
tmpfs: No value for mount option '
L'
autofs4:pid:10000:autofs4_fill_super: called with bogus options
gfs2: gfs2 mount does not exist
ceph: device name is missing path (no : separator in ./file0)
hM==: renamed from lo
gfs2: gfs2 mount does not exist
IPVS: ftp: loaded support on port[0] = 21
tmpfs: Bad mount option 4`i*lS ljyGn&s~b@34?p>˵dTptTٺ:p`_P'w#abm./;1xP7
tmpfs: Bad mount option 4`i*lS ljyGn&s~b@34?p>˵dTptTٺ:p`_P'w#abm./;1xP7
xprt_adjust_timeout: rq_timeout = 0!
IPVS: ftp: loaded support on port[0] = 21
xprt_adjust_timeout: rq_timeout = 0!
can: request_module (can-proto-0) failed.
can: request_module (can-proto-0) failed.