syzbot


INFO: task hung in __writeback_inodes_sb_nr (2)

Status: auto-closed as invalid on 2020/11/03 06:13
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 784d, last: 784d
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in __writeback_inodes_sb_nr 53 1352d 1615d 0/24 closed as dup on 2018/09/08 15:33
android-49 INFO: task hung in __writeback_inodes_sb_nr 26 1449d 1592d 0/3 auto-closed as invalid on 2019/04/08 13:33
android-414 INFO: task hung in __writeback_inodes_sb_nr 1 1387d 1263d 0/1 auto-closed as invalid on 2019/06/09 16:55
upstream INFO: task hung in __writeback_inodes_sb_nr (5) C done 5 90d 228d 23/24 internal: reported C repro on 2022/02/12 04:17
upstream INFO: task hung in __writeback_inodes_sb_nr (4) 4 236d 290d 0/24 closed as invalid on 2022/02/08 10:10
upstream INFO: task hung in __writeback_inodes_sb_nr (3) 2 503d 600d 0/24 auto-closed as invalid on 2021/08/11 17:49
linux-4.14 INFO: task hung in __writeback_inodes_sb_nr 1 851d 851d 0/1 auto-closed as invalid on 2020/09/27 19:31

Sample crash report:
INFO: task syz-executor.5:941 blocked for more than 143 seconds.
      Not tainted 5.8.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D24056   941   7361 0x00004002
Call Trace:
 context_switch kernel/sched/core.c:3778 [inline]
 __schedule+0x8e5/0x21e0 kernel/sched/core.c:4527
 schedule+0xd0/0x2a0 kernel/sched/core.c:4602
 wb_wait_for_completion+0x17b/0x230 fs/fs-writeback.c:208
 __writeback_inodes_sb_nr+0x1dc/0x280 fs/fs-writeback.c:2469
 try_to_writeback_inodes_sb+0x94/0xc0 fs/fs-writeback.c:2517
 ext4_nonda_switch+0x1aa/0x1f0 fs/ext4/inode.c:2898
 ext4_da_write_begin+0x181/0x11d0 fs/ext4/inode.c:2939
 generic_perform_write+0x20a/0x4f0 mm/filemap.c:3388
 ext4_buffered_write_iter+0x235/0x4a0 fs/ext4/file.c:270
 ext4_file_write_iter+0x1f3/0x13d0 fs/ext4/file.c:655
 call_write_iter include/linux/fs.h:1868 [inline]
 do_iter_readv_writev+0x532/0x7b0 fs/read_write.c:713
 do_iter_write+0x188/0x5f0 fs/read_write.c:1018
 vfs_iter_write+0x70/0xa0 fs/read_write.c:1059
 iter_file_splice_write+0x721/0xbe0 fs/splice.c:750
 do_splice_from fs/splice.c:846 [inline]
 direct_splice_actor+0x171/0x2f0 fs/splice.c:1016
 splice_direct_to_actor+0x38c/0x980 fs/splice.c:971
 do_splice_direct+0x1b3/0x280 fs/splice.c:1059
 do_sendfile+0x559/0xc30 fs/read_write.c:1540
 __do_sys_sendfile64 fs/read_write.c:1601 [inline]
 __se_sys_sendfile64 fs/read_write.c:1587 [inline]
 __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1587
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cce9
Code: Bad RIP value.
RSP: 002b:00007ff82f6b3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000026b80 RCX: 000000000045cce9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003
RBP: 000000000078bf48 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffc9f68237f R14: 00007ff82f6b49c0 R15: 000000000078bf0c
INFO: task syz-executor.5:959 blocked for more than 146 seconds.
      Not tainted 5.8.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D25040   959   7361 0x00004002
Call Trace:
 context_switch kernel/sched/core.c:3778 [inline]
 __schedule+0x8e5/0x21e0 kernel/sched/core.c:4527
 schedule+0xd0/0x2a0 kernel/sched/core.c:4602
 wb_wait_for_completion+0x17b/0x230 fs/fs-writeback.c:208
 __writeback_inodes_sb_nr+0x1dc/0x280 fs/fs-writeback.c:2469
 try_to_writeback_inodes_sb+0x94/0xc0 fs/fs-writeback.c:2517
 ext4_nonda_switch+0x1aa/0x1f0 fs/ext4/inode.c:2898
 ext4_da_write_begin+0x181/0x11d0 fs/ext4/inode.c:2939
 generic_perform_write+0x20a/0x4f0 mm/filemap.c:3388
 ext4_buffered_write_iter+0x235/0x4a0 fs/ext4/file.c:270
 ext4_file_write_iter+0x1f3/0x13d0 fs/ext4/file.c:655
 call_write_iter include/linux/fs.h:1868 [inline]
 do_iter_readv_writev+0x532/0x7b0 fs/read_write.c:713
 do_iter_write+0x188/0x5f0 fs/read_write.c:1018
 vfs_iter_write+0x70/0xa0 fs/read_write.c:1059
 iter_file_splice_write+0x721/0xbe0 fs/splice.c:750
 do_splice_from fs/splice.c:846 [inline]
 direct_splice_actor+0x171/0x2f0 fs/splice.c:1016
 splice_direct_to_actor+0x38c/0x980 fs/splice.c:971
 do_splice_direct+0x1b3/0x280 fs/splice.c:1059
 do_sendfile+0x559/0xc30 fs/read_write.c:1540
 __do_sys_sendfile64 fs/read_write.c:1601 [inline]
 __se_sys_sendfile64 fs/read_write.c:1587 [inline]
 __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1587
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cce9
Code: Bad RIP value.
RSP: 002b:00007ff82f6b3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000026b80 RCX: 000000000045cce9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000003
RBP: 000000000078bf48 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffc9f68237f R14: 00007ff82f6b49c0 R15: 000000000078bf0c
INFO: task syz-executor.5:966 blocked for more than 149 seconds.
      Not tainted 5.8.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D25136   966   7361 0x00004002
Call Trace:
 context_switch kernel/sched/core.c:3778 [inline]
 __schedule+0x8e5/0x21e0 kernel/sched/core.c:4527
 schedule+0xd0/0x2a0 kernel/sched/core.c:4602
 wb_wait_for_completion+0x17b/0x230 fs/fs-writeback.c:208
 __writeback_inodes_sb_nr+0x1dc/0x280 fs/fs-writeback.c:2469
 try_to_writeback_inodes_sb+0x94/0xc0 fs/fs-writeback.c:2517
 ext4_nonda_switch+0x1aa/0x1f0 fs/ext4/inode.c:2898
 ext4_da_write_begin+0x181/0x11d0 fs/ext4/inode.c:2939
 generic_perform_write+0x20a/0x4f0 mm/filemap.c:3388
 ext4_buffered_write_iter+0x235/0x4a0 fs/ext4/file.c:270
 ext4_file_write_iter+0x1f3/0x13d0 fs/ext4/file.c:655
 call_write_iter include/linux/fs.h:1868 [inline]
 do_iter_readv_writev+0x532/0x7b0 fs/read_write.c:713
 do_iter_write+0x188/0x5f0 fs/read_write.c:1018
 vfs_iter_write+0x70/0xa0 fs/read_write.c:1059
 iter_file_splice_write+0x721/0xbe0 fs/splice.c:750
 do_splice_from fs/splice.c:846 [inline]
 direct_splice_actor+0x171/0x2f0 fs/splice.c:1016
 splice_direct_to_actor+0x38c/0x980 fs/splice.c:971
 do_splice_direct+0x1b3/0x280 fs/splice.c:1059
 do_sendfile+0x559/0xc30 fs/read_write.c:1540
 __do_sys_sendfile64 fs/read_write.c:1601 [inline]
 __se_sys_sendfile64 fs/read_write.c:1587 [inline]
 __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1587
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cce9
Code: Bad RIP value.
RSP: 002b:00007ff82f6b3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000026b80 RCX: 000000000045cce9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000003
RBP: 000000000078bf48 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffc9f68237f R14: 00007ff82f6b49c0 R15: 000000000078bf0c
INFO: task syz-executor.5:977 blocked for more than 151 seconds.
      Not tainted 5.8.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D24960   977   7361 0x00004002
Call Trace:
 context_switch kernel/sched/core.c:3778 [inline]
 __schedule+0x8e5/0x21e0 kernel/sched/core.c:4527
 schedule+0xd0/0x2a0 kernel/sched/core.c:4602
 wb_wait_for_completion+0x17b/0x230 fs/fs-writeback.c:208
 __writeback_inodes_sb_nr+0x1dc/0x280 fs/fs-writeback.c:2469
 try_to_writeback_inodes_sb+0x94/0xc0 fs/fs-writeback.c:2517
 ext4_nonda_switch+0x1aa/0x1f0 fs/ext4/inode.c:2898
 ext4_da_write_begin+0x181/0x11d0 fs/ext4/inode.c:2939
 generic_perform_write+0x20a/0x4f0 mm/filemap.c:3388
 ext4_buffered_write_iter+0x235/0x4a0 fs/ext4/file.c:270
 ext4_file_write_iter+0x1f3/0x13d0 fs/ext4/file.c:655
 call_write_iter include/linux/fs.h:1868 [inline]
 do_iter_readv_writev+0x532/0x7b0 fs/read_write.c:713
 do_iter_write+0x188/0x5f0 fs/read_write.c:1018
 vfs_iter_write+0x70/0xa0 fs/read_write.c:1059
 iter_file_splice_write+0x721/0xbe0 fs/splice.c:750
 do_splice_from fs/splice.c:846 [inline]
 direct_splice_actor+0x171/0x2f0 fs/splice.c:1016
 splice_direct_to_actor+0x38c/0x980 fs/splice.c:971
 do_splice_direct+0x1b3/0x280 fs/splice.c:1059
 do_sendfile+0x559/0xc30 fs/read_write.c:1540
 __do_sys_sendfile64 fs/read_write.c:1601 [inline]
 __se_sys_sendfile64 fs/read_write.c:1587 [inline]
 __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1587
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cce9
Code: Bad RIP value.
RSP: 002b:00007ff82f6b3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000026b80 RCX: 000000000045cce9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000003
RBP: 000000000078bf48 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffc9f68237f R14: 00007ff82f6b49c0 R15: 000000000078bf0c

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2020/08/05 06:08 upstream c0842fbc1b18 80a06902 .config log report
* Struck through repros no longer work on HEAD.