syzbot


INFO: task hung in __writeback_inodes_sb_nr (2)

Status: auto-closed as invalid on 2020/11/03 06:13
Subsystems: ext4
[Documentation on labels]
First crash: 1579d, last: 1579d
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in __writeback_inodes_sb_nr fs 53 2147d 2410d 0/28 closed as dup on 2018/09/08 15:33
android-49 INFO: task hung in __writeback_inodes_sb_nr 26 2244d 2387d 0/3 auto-closed as invalid on 2019/04/08 13:33
android-414 INFO: task hung in __writeback_inodes_sb_nr 1 2182d 2058d 0/1 auto-closed as invalid on 2019/06/09 16:55
upstream INFO: task hung in __writeback_inodes_sb_nr (5) ext4 C done 48 652d 1023d 22/28 fixed on 2023/02/24 13:50
linux-5.15 INFO: task hung in __writeback_inodes_sb_nr origin:lts-only C done 1496 18d 633d 0/3 upstream: reported C repro on 2023/03/09 17:32
linux-6.1 INFO: task hung in __writeback_inodes_sb_nr (2) origin:lts-only C error 11 2d05h 337d 0/3 upstream: reported C repro on 2023/12/30 04:30
linux-4.19 INFO: task hung in __writeback_inodes_sb_nr ext4 4 647d 794d 0/1 upstream: reported on 2022/09/28 21:19
linux-6.1 INFO: task hung in __writeback_inodes_sb_nr 1 471d 471d 0/3 auto-obsoleted due to no activity on 2023/11/26 06:37
upstream INFO: task hung in __writeback_inodes_sb_nr (6) bcachefs C done 2089 11m 533d 1/28 upstream: reported C repro on 2023/06/17 00:33
upstream INFO: task hung in __writeback_inodes_sb_nr (4) ext4 4 1031d 1085d 0/28 closed as invalid on 2022/02/08 10:10
upstream INFO: task hung in __writeback_inodes_sb_nr (3) ext4 2 1298d 1395d 0/28 auto-closed as invalid on 2021/08/11 17:49
linux-4.14 INFO: task hung in __writeback_inodes_sb_nr (2) 2 763d 764d 0/1 auto-obsoleted due to no activity on 2023/02/27 15:30
linux-4.14 INFO: task hung in __writeback_inodes_sb_nr 1 1645d 1645d 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/05 06:08 upstream c0842fbc1b18 80a06902 .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.