=============================
WARNING: suspicious RCU usage
4.17.0-rc2+ #18 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
2 locks held by syz-executor0/18128:
#0: (ptrval) (shrinker_rwsem){++++}, at: shrink_slab.part.39+0xe6/0xf90 mm/vmscan.c:509
#1: (ptrval) (rcu_read_lock){....}, at: list_lru_count_one+0xc4/0x440 mm/list_lru.c:183
stack backtrace:
CPU: 0 PID: 18128 Comm: syz-executor0 Not tainted 4.17.0-rc2+ #18
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:lock_acquire+0x257/0x520 kernel/locking/lockdep.c:3923
RSP: 0018:ffff8801b5617240 EFLAGS: 00000286 ORIG_RAX: ffffffffffffffd9
RAX: dffffc0000000000 RBX: 1ffff10036ac2e4d RCX: 0000000000000000
RDX: 1ffffffff11a315d RSI: ffff8801d76d8a38 RDI: 0000000000000286
RBP: ffff8801b5617330 R08: 0000000000000008 R09: 0000000000000001
R10: ffff8801d76d8a60 R11: ffff8801d76d8200 R12: ffff8801d76d8200
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:246 [inline]
rcu_read_lock include/linux/rcupdate.h:632 [inline]
__list_lru_count_one mm/list_lru.c:172 [inline]
list_lru_count_one+0xfe/0x440 mm/list_lru.c:183
list_lru_shrink_count include/linux/list_lru.h:118 [inline]
super_cache_count+0x16b/0x280 fs/super.c:135
do_shrink_slab mm/vmscan.c:374 [inline]
shrink_slab.part.39+0x330/0xf90 mm/vmscan.c:531
shrink_slab+0xa1/0xc0 mm/vmscan.c:506
shrink_node+0x4f2/0x1740 mm/vmscan.c:2561
shrink_zones mm/vmscan.c:2794 [inline]
do_try_to_free_pages+0x3c9/0x1240 mm/vmscan.c:2856
try_to_free_mem_cgroup_pages+0x475/0xc50 mm/vmscan.c:3146
reclaim_high.constprop.67+0x12f/0x1d0 mm/memcontrol.c:1862
mem_cgroup_handle_over_high+0x8d/0x130 mm/memcontrol.c:1887
tracehook_notify_resume include/linux/tracehook.h:193 [inline]
exit_to_usermode_loop+0x274/0x310 arch/x86/entry/common.c:166
prepare_exit_to_usermode+0x32e/0x390 arch/x86/entry/common.c:196
retint_user+0x8/0x18
RIP: 0033:0x40b8d8
RSP: 002b:00007ffd981883d8 EFLAGS: 00010246
RAX: 0000000002680c00 RBX: 00007ffd981883e0 RCX: 00000000007032c0
RDX: 000000000040b710 RSI: 00000000007032b0 RDI: 0000000002680c20
RBP: 00007ffd98188420 R08: 0000000000000001 R09: 0000000002680940
R10: 0000000002680c10 R11: 0000000000000202 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
BUG: sleeping function called from invalid context at mm/slab.h:421
in_atomic(): 1, irqs_disabled(): 1, pid: 18128, name: syz-executor0
2 locks held by syz-executor0/18128:
#0: (ptrval) (shrinker_rwsem){++++}, at: shrink_slab.part.39+0xe6/0xf90 mm/vmscan.c:509
#1: (ptrval) (rcu_read_lock){....}, at: list_lru_count_one+0xc4/0x440 mm/list_lru.c:183
irq event stamp: 710
hardirqs last enabled at (709): [] free_unref_page_list+0xc9a/0x12c0 mm/page_alloc.c:2849
hardirqs last disabled at (710): [] interrupt_entry+0xb5/0xf0 arch/x86/entry/entry_64.S:625
softirqs last enabled at (652): [] __do_softirq+0x778/0xaf5 kernel/softirq.c:311
softirqs last disabled at (633): [] invoke_softirq kernel/softirq.c:365 [inline]
softirqs last disabled at (633): [] irq_exit+0x1d1/0x200 kernel/softirq.c:405
CPU: 0 PID: 18128 Comm: syz-executor0 Not tainted 4.17.0-rc2+ #18
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:lock_acquire+0x257/0x520 kernel/locking/lockdep.c:3923
RSP: 0018:ffff8801b5617240 EFLAGS: 00000286 ORIG_RAX: ffffffffffffffd9
RAX: dffffc0000000000 RBX: 1ffff10036ac2e4d RCX: 0000000000000000
RDX: 1ffffffff11a315d RSI: ffff8801d76d8a38 RDI: 0000000000000286
RBP: ffff8801b5617330 R08: 0000000000000008 R09: 0000000000000001
R10: ffff8801d76d8a60 R11: ffff8801d76d8200 R12: ffff8801d76d8200
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:246 [inline]
rcu_read_lock include/linux/rcupdate.h:632 [inline]
__list_lru_count_one mm/list_lru.c:172 [inline]
list_lru_count_one+0xfe/0x440 mm/list_lru.c:183
list_lru_shrink_count include/linux/list_lru.h:118 [inline]
super_cache_count+0x16b/0x280 fs/super.c:135
do_shrink_slab mm/vmscan.c:374 [inline]
shrink_slab.part.39+0x330/0xf90 mm/vmscan.c:531
shrink_slab+0xa1/0xc0 mm/vmscan.c:506
shrink_node+0x4f2/0x1740 mm/vmscan.c:2561
shrink_zones mm/vmscan.c:2794 [inline]
do_try_to_free_pages+0x3c9/0x1240 mm/vmscan.c:2856
try_to_free_mem_cgroup_pages+0x475/0xc50 mm/vmscan.c:3146
reclaim_high.constprop.67+0x12f/0x1d0 mm/memcontrol.c:1862
mem_cgroup_handle_over_high+0x8d/0x130 mm/memcontrol.c:1887
tracehook_notify_resume include/linux/tracehook.h:193 [inline]
exit_to_usermode_loop+0x274/0x310 arch/x86/entry/common.c:166
prepare_exit_to_usermode+0x32e/0x390 arch/x86/entry/common.c:196
retint_user+0x8/0x18
RIP: 0033:0x40b8d8
RSP: 002b:00007ffd981883d8 EFLAGS: 00010246
RAX: 0000000002680c00 RBX: 00007ffd981883e0 RCX: 00000000007032c0
RDX: 000000000040b710 RSI: 00000000007032b0 RDI: 0000000002680c20
RBP: 00007ffd98188420 R08: 0000000000000001 R09: 0000000002680940
R10: 0000000002680c10 R11: 0000000000000202 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
random: crng init done
BTRFS: device label /gQAxh[?-&`"K&
Ji/Y_z(;Q4Q.Id5kݧJJೀIJW|E(iͻCV#p^
vH؛
,jfm(WZj(-۾Hz;DMTypIz'|Mqt?hi
g)| :墅#+=1Wd*{4H D-Gkog9 devid 10737418240 transid 5 /dev/loop6
BTRFS error (device loop6): superblock checksum mismatch
BTRFS error (device loop6): open_ctree failed
BTRFS error (device loop6): superblock checksum mismatch
BTRFS error (device loop6): open_ctree failed
F2FS-fs (loop7): Magic Mismatch, valid(0xf2f52010) - read(0x0)
F2FS-fs (loop7): Can't find valid F2FS filesystem in 1th superblock
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
F2FS-fs (loop7): invalid crc value
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
F2FS-fs (loop7): invalid crc value
F2FS-fs (loop7): Failed to get valid F2FS checkpoint
F2FS-fs (loop7): Magic Mismatch, valid(0xf2f52010) - read(0x0)
F2FS-fs (loop7): Can't find valid F2FS filesystem in 1th superblock
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
F2FS-fs (loop7): invalid crc value
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
F2FS-fs (loop7): invalid crc value
F2FS-fs (loop7): Failed to get valid F2FS checkpoint
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
BTRFS error (device loop6): superblock checksum mismatch
BTRFS error (device loop6): open_ctree failed
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
BTRFS error (device loop6): superblock checksum mismatch
BTRFS error (device loop6): open_ctree failed
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=8200, limit=20
attempt to access beyond end of device
loop7: rw=12288, want=12296, limit=20
BTRFS error (device loop6): superblock checksum mismatch
BTRFS error (device loop6): open_ctree failed
capability: warning: `syz-executor6' uses deprecated v2 capabilities in a way that may be insecure
binder: 18530:18533 got transaction with invalid offset (0, min 0 max 0) or object.
binder: 18530:18533 transaction failed 29201/-22, size 0-8 line 3026
binder: BINDER_SET_CONTEXT_MGR already set
binder: 18530:18533 ioctl 40046207 0 returned -16
binder: undelivered TRANSACTION_ERROR: 29201
binder: 18540:18542 got transaction with invalid offset (0, min 0 max 0) or object.
binder: 18540:18542 transaction failed 29201/-22, size 0-8 line 3026
binder: undelivered TRANSACTION_ERROR: 29201
binder: 18546:18547 got transaction with invalid offset (0, min 0 max 0) or object.
binder: 18546:18547 transaction failed 29201/-22, size 0-8 line 3026
binder: undelivered TRANSACTION_ERROR: 29201
binder: 18577:18583 got transaction with invalid offset (0, min 0 max 0) or object.
binder: 18577:18583 transaction failed 29201/-22, size 0-8 line 3026
binder: undelivered TRANSACTION_ERROR: 29201