loop0: detected capacity change from 0 to 40427
F2FS-fs (loop0): Image doesn't support compression
F2FS-fs (loop0): build fault injection rate: 690
F2FS-fs (loop0): build fault injection type: 0x35f7
F2FS-fs (loop0): invalid crc value
F2FS-fs (loop0): f2fs_recover_fsync_data: recovery fsync data, check_only: 0
F2FS-fs (loop0): Start checkpoint disabled!
F2FS-fs (loop0): f2fs_disable_checkpoint() finish, err:0
F2FS-fs (loop0): Mounted with checkpoint version = 48b305e6
syz.0.0: attempt to access beyond end of device
loop0: rw=10241, sector=45096, nr_sectors = 8 limit=40427
overlayfs: cleanup of 'work/#1' failed (-5)
overlayfs: cleanup of 'work/#2' failed (-5)
overlayfs: failed to set xattr on upper
overlayfs: ...falling back to redirect_dir=nofollow.
overlayfs: ...falling back to index=off.
overlayfs: ...falling back to uuid=null.
BUG: sleeping function called from invalid context at fs/inode.c:1928
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5331, name: syz.0.0
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
1 lock held by syz.0.0/5331:
#0: ffff88804c936340 (&sb->s_type->i_lock_key#35){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline]
#0: ffff88804c936340 (&sb->s_type->i_lock_key#35){+.+.}-{3:3}, at: f2fs_drop_inode+0x67e/0x950 fs/f2fs/super.c:1822
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 0 UID: 0 PID: 5331 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
__might_resched+0x495/0x610 kernel/sched/core.c:8925
iput+0x2b/0xc50 fs/inode.c:1928
f2fs_drop_inode+0x686/0x950 fs/f2fs/super.c:1823
iput_final fs/inode.c:1884 [inline]
iput+0x6d9/0xc50 fs/inode.c:1966
__dentry_kill+0x209/0x660 fs/dcache.c:669
dput+0x19f/0x2b0 fs/dcache.c:911
__fput+0x68e/0xa70 fs/file_table.c:476
task_work_run+0x1d4/0x260 kernel/task_work.c:227
get_signal+0x11ec/0x1340 kernel/signal.c:2807
arch_do_signal_or_restart+0xa0/0x790 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop+0x72/0x130 kernel/entry/common.c:40
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f16f798eec9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f16f88c2038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: 0000000000000000 RBX: 00007f16f7be5fa0 RCX: 00007f16f798eec9
RDX: 0000200000000b80 RSI: 0000200000000000 RDI: 0000000000000000
RBP: 00007f16f7a11f91 R08: 0000200000000380 R09: 0000000000000000
R10: 0000000000200008 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f16f7be6038 R14: 00007f16f7be5fa0 R15: 00007fff88d0eb88
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5331 at fs/inode.c:1933 iput+0x38c/0xc50 fs/inode.c:1933
Modules linked in:
CPU: 0 UID: 0 PID: 5331 Comm: syz.0.0 Tainted: G W syzkaller #0 PREEMPT(full)
Tainted: [W]=WARN
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:iput+0x38c/0xc50 fs/inode.c:1933
Code: 80 3d 53 0f 49 0d 01 0f 85 b2 00 00 00 e8 0c 73 80 ff 4c 89 f7 be 10 00 00 00 e8 cf 85 06 00 e9 2c fd ff ff e8 f5 72 80 ff 90 <0f> 0b 90 e9 70 fd ff ff e8 e7 72 80 ff 90 0f 0b 90 e9 d7 fe ff ff
RSP: 0018:ffffc9000d40f970 EFLAGS: 00010293
RAX: ffffffff823f30ab RBX: 0000000000000001 RCX: ffff8880006b2480
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88804c936378 R08: ffffffff92983047 R09: 1ffffffff2530608
R10: dffffc0000000000 R11: fffffbfff2530609 R12: ffff88804c9364a8
R13: dffffc0000000000 R14: ffff88804c9362a8 R15: 1ffffffff1f3cc32
FS: 00007f16f88c26c0(0000) GS:ffff88808d304000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f8f59ee540 CR3: 000000001f50e000 CR4: 0000000000352ef0
Call Trace:
f2fs_drop_inode+0x686/0x950 fs/f2fs/super.c:1823
iput_final fs/inode.c:1884 [inline]
iput+0x6d9/0xc50 fs/inode.c:1966
__dentry_kill+0x209/0x660 fs/dcache.c:669
dput+0x19f/0x2b0 fs/dcache.c:911
__fput+0x68e/0xa70 fs/file_table.c:476
task_work_run+0x1d4/0x260 kernel/task_work.c:227
get_signal+0x11ec/0x1340 kernel/signal.c:2807
arch_do_signal_or_restart+0xa0/0x790 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop+0x72/0x130 kernel/entry/common.c:40
exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f16f798eec9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f16f88c2038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: 0000000000000000 RBX: 00007f16f7be5fa0 RCX: 00007f16f798eec9
RDX: 0000200000000b80 RSI: 0000200000000000 RDI: 0000000000000000
RBP: 00007f16f7a11f91 R08: 0000200000000380 R09: 0000000000000000
R10: 0000000000200008 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f16f7be6038 R14: 00007f16f7be5fa0 R15: 00007fff88d0eb88