=============================
WARNING: suspicious RCU usage
4.17.0-rc2+ #24 Not tainted
-----------------------------
include/linux/rcupdate.h:304 Illegal context switch in RCU read-side critical section!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
6 locks held by syz-executor0/4593:
#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: do_rmdir+0x37b/0x610 fs/namei.c:3899
#2: (ptrval) (sb_internal){.+.+}, at: sb_start_intwrite include/linux/fs.h:1597 [inline]
#2: (ptrval) (sb_internal){.+.+}, at: ext4_evict_inode+0x720/0x1aa0 fs/ext4/inode.c:250
#3: (ptrval) (jbd2_handle){.+.+}, at: start_this_handle+0x581/0x1250 fs/jbd2/transaction.c:385
#4: (ptrval) (rcu_read_lock){....}, at: __list_add include/linux/list.h:64 [inline]
#4: (ptrval) (rcu_read_lock){....}, at: list_add include/linux/list.h:79 [inline]
#4: (ptrval) (rcu_read_lock){....}, at: jbd2_write_access_granted.part.8+0x0/0x420 fs/jbd2/transaction.c:2544
#5: (ptrval) (rcu_callback){....}, at: __rcu_reclaim kernel/rcu/rcu.h:168 [inline]
#5: (ptrval) (rcu_callback){....}, at: rcu_do_batch kernel/rcu/tree.c:2675 [inline]
#5: (ptrval) (rcu_callback){....}, at: invoke_rcu_callbacks kernel/rcu/tree.c:2930 [inline]
#5: (ptrval) (rcu_callback){....}, at: __rcu_process_callbacks kernel/rcu/tree.c:2897 [inline]
#5: (ptrval) (rcu_callback){....}, at: rcu_process_callbacks+0xa2c/0x15f0 kernel/rcu/tree.c:2914
stack backtrace:
CPU: 0 PID: 4593 Comm: syz-executor0 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
rcu_preempt_sleep_check include/linux/rcupdate.h:303 [inline]
___might_sleep+0x26d/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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:783 [inline]
RIP: 0010:kmem_cache_free+0xb3/0x2d0 mm/slab.c:3757
RSP: 0018:ffff8801dae079d0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffffd9
RAX: 0000000000000007 RBX: ffff8801d6f77500 RCX: 1ffff10035ad7162
RDX: 0000000000000000 RSI: ffff8801ad6b8b40 RDI: 0000000000000286
RBP: ffff8801dae079f0 R08: ffff8801ad6b8a78 R09: 0000000000000002
R10: ffff8801ad6b8240 R11: 0000000000000000 R12: ffff8801da988940
R13: 0000000000000286 R14: ffffffff81bf5fff R15: ffff8801dae07c60
file_free_rcu+0x6f/0x90 fs/file_table.c:49
__rcu_reclaim kernel/rcu/rcu.h:178 [inline]
rcu_do_batch kernel/rcu/tree.c:2675 [inline]
invoke_rcu_callbacks kernel/rcu/tree.c:2930 [inline]
__rcu_process_callbacks kernel/rcu/tree.c:2897 [inline]
rcu_process_callbacks+0x941/0x15f0 kernel/rcu/tree.c:2914
__do_softirq+0x2e0/0xaf5 kernel/softirq.c:285
invoke_softirq kernel/softirq.c:365 [inline]
irq_exit+0x1d1/0x200 kernel/softirq.c:405
exiting_irq arch/x86/include/asm/apic.h:525 [inline]
smp_apic_timer_interrupt+0x17e/0x710 arch/x86/kernel/apic/apic.c:1052
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x1b/0x20 kernel/kcov.c:176
RSP: 0018:ffff8801ad6cf288 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 1ffff10035ad9e54 RCX: ffffffff82188904
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8801ad6cf328 R08: ffff8801ad6b8240 R09: ffffed003b5c46c2
R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: ffff8801d4fb53f0
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8801b2a56160
jbd2_write_access_granted fs/jbd2/transaction.c:1096 [inline]
jbd2_journal_get_write_access+0x91/0xc0 fs/jbd2/transaction.c:1086
__ext4_journal_get_write_access+0x5e/0xa0 fs/ext4/ext4_jbd2.c:169
ext4_free_inode+0xbc5/0x1970 fs/ext4/ialloc.c:301
ext4_evict_inode+0xc21/0x1aa0 fs/ext4/inode.c:333
evict+0x4a6/0x960 fs/inode.c:557
iput_final fs/inode.c:1519 [inline]
iput+0x62d/0xa80 fs/inode.c:1545
dentry_unlink_inode+0x49a/0x620 fs/dcache.c:376
d_delete+0x1d7/0x220 fs/dcache.c:2426
vfs_rmdir+0x38b/0x470 fs/namei.c:3863
do_rmdir+0x523/0x610 fs/namei.c:3911
__do_sys_rmdir fs/namei.c:3929 [inline]
__se_sys_rmdir fs/namei.c:3927 [inline]
__x64_sys_rmdir+0x36/0x40 fs/namei.c:3927
do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4556e7
RSP: 002b:00007ffd1d691288 EFLAGS: 00000206 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00000000004556e7
RDX: 0000000000000000 RSI: 00007ffd1d693030 RDI: 00007ffd1d693030
RBP: 00007ffd1d693030 R08: 0000000000000000 R09: 0000000000000001
R10: 000000000000000a R11: 0000000000000206 R12: 0000000000a70940
R13: 0000000000000000 R14: 00000000000001b5 R15: 000000000001db74
BUG: sleeping function called from invalid context at mm/slab.h:421
in_atomic(): 1, irqs_disabled(): 1, pid: 4593, name: syz-executor0
6 locks held by syz-executor0/4593:
#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: do_rmdir+0x37b/0x610 fs/namei.c:3899
#2: (ptrval) (sb_internal){.+.+}, at: sb_start_intwrite include/linux/fs.h:1597 [inline]
#2: (ptrval) (sb_internal){.+.+}, at: ext4_evict_inode+0x720/0x1aa0 fs/ext4/inode.c:250
#3: (ptrval) (jbd2_handle){.+.+}, at: start_this_handle+0x581/0x1250 fs/jbd2/transaction.c:385
#4: (ptrval) (rcu_read_lock){....}, at: __list_add include/linux/list.h:64 [inline]
#4: (ptrval) (rcu_read_lock){....}, at: list_add include/linux/list.h:79 [inline]
#4: (ptrval) (rcu_read_lock){....}, at: jbd2_write_access_granted.part.8+0x0/0x420 fs/jbd2/transaction.c:2544
#5: (ptrval) (rcu_callback){....}, at: __rcu_reclaim kernel/rcu/rcu.h:168 [inline]
#5: (ptrval) (rcu_callback){....}, at: rcu_do_batch kernel/rcu/tree.c:2675 [inline]
#5: (ptrval) (rcu_callback){....}, at: invoke_rcu_callbacks kernel/rcu/tree.c:2930 [inline]
#5: (ptrval) (rcu_callback){....}, at: __rcu_process_callbacks kernel/rcu/tree.c:2897 [inline]
#5: (ptrval) (rcu_callback){....}, at: rcu_process_callbacks+0xa2c/0x15f0 kernel/rcu/tree.c:2914
irq event stamp: 895315
hardirqs last enabled at (895314): [] kmem_cache_free+0xa0/0x2d0 mm/slab.c:3757
hardirqs last disabled at (895315): [] interrupt_entry+0xb5/0xf0 arch/x86/entry/entry_64.S:625
softirqs last enabled at (894852): [] __do_softirq+0x778/0xaf5 kernel/softirq.c:311
softirqs last disabled at (895291): [] invoke_softirq kernel/softirq.c:365 [inline]
softirqs last disabled at (895291): [] irq_exit+0x1d1/0x200 kernel/softirq.c:405
CPU: 0 PID: 4593 Comm: syz-executor0 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:783 [inline]
RIP: 0010:kmem_cache_free+0xb3/0x2d0 mm/slab.c:3757
RSP: 0018:ffff8801dae079d0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffffd9
RAX: 0000000000000007 RBX: ffff8801d6f77500 RCX: 1ffff10035ad7162
RDX: 0000000000000000 RSI: ffff8801ad6b8b40 RDI: 0000000000000286
RBP: ffff8801dae079f0 R08: ffff8801ad6b8a78 R09: 0000000000000002
R10: ffff8801ad6b8240 R11: 0000000000000000 R12: ffff8801da988940
R13: 0000000000000286 R14: ffffffff81bf5fff R15: ffff8801dae07c60
file_free_rcu+0x6f/0x90 fs/file_table.c:49
__rcu_reclaim kernel/rcu/rcu.h:178 [inline]
rcu_do_batch kernel/rcu/tree.c:2675 [inline]
invoke_rcu_callbacks kernel/rcu/tree.c:2930 [inline]
__rcu_process_callbacks kernel/rcu/tree.c:2897 [inline]
rcu_process_callbacks+0x941/0x15f0 kernel/rcu/tree.c:2914
__do_softirq+0x2e0/0xaf5 kernel/softirq.c:285
invoke_softirq kernel/softirq.c:365 [inline]
irq_exit+0x1d1/0x200 kernel/softirq.c:405
exiting_irq arch/x86/include/asm/apic.h:525 [inline]
smp_apic_timer_interrupt+0x17e/0x710 arch/x86/kernel/apic/apic.c:1052
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x1b/0x20 kernel/kcov.c:176
RSP: 0018:ffff8801ad6cf288 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 1ffff10035ad9e54 RCX: ffffffff82188904
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8801ad6cf328 R08: ffff8801ad6b8240 R09: ffffed003b5c46c2
R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: ffff8801d4fb53f0
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8801b2a56160
jbd2_write_access_granted fs/jbd2/transaction.c:1096 [inline]
jbd2_journal_get_write_access+0x91/0xc0 fs/jbd2/transaction.c:1086
__ext4_journal_get_write_access+0x5e/0xa0 fs/ext4/ext4_jbd2.c:169
ext4_free_inode+0xbc5/0x1970 fs/ext4/ialloc.c:301
ext4_evict_inode+0xc21/0x1aa0 fs/ext4/inode.c:333
evict+0x4a6/0x960 fs/inode.c:557
iput_final fs/inode.c:1519 [inline]
iput+0x62d/0xa80 fs/inode.c:1545
dentry_unlink_inode+0x49a/0x620 fs/dcache.c:376
d_delete+0x1d7/0x220 fs/dcache.c:2426
vfs_rmdir+0x38b/0x470 fs/namei.c:3863
do_rmdir+0x523/0x610 fs/namei.c:3911
__do_sys_rmdir fs/namei.c:3929 [inline]
__se_sys_rmdir fs/namei.c:3927 [inline]
__x64_sys_rmdir+0x36/0x40 fs/namei.c:3927
do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4556e7
RSP: 002b:00007ffd1d691288 EFLAGS: 00000206 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00000000004556e7
RDX: 0000000000000000 RSI: 00007ffd1d693030 RDI: 00007ffd1d693030
RBP: 00007ffd1d693030 R08: 0000000000000000 R09: 0000000000000001
R10: 000000000000000a R11: 0000000000000206 R12: 0000000000a70940
R13: 0000000000000000 R14: 00000000000001b5 R15: 000000000001db74
random: crng init done
EXT4-fs (sda1): re-mounted. Opts:
gfs2: gfs2 mount does not exist
“‘hMþ=ôå=²¨: renamed from lo
IPVS: ftp: loaded support on port[0] = 21
gfs2: gfs2 mount does not exist
“‘hMþ=ôå=²¨: renamed from lo
gfs2: gfs2 mount does not exist
IPVS: ftp: loaded support on port[0] = 21