syzbot


INFO: task hung in sync_inodes_sb

Status: closed as dup on 2018/09/08 15:37
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+9af766081cb7e2db43b0@syzkaller.appspotmail.com
First crash: 2338d, last: 2097d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in __blkdev_get (2) udf 11 2102d 2226d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in sync_inodes_sb origin:upstream missing-backport C error 225 14h31m 582d 0/3 upstream: reported C repro on 2023/03/10 02:13
upstream INFO: task hung in sync_inodes_sb (5) ext4 C error inconclusive 1647 12h11m 452d 0/28 upstream: reported C repro on 2023/07/18 04:00
upstream INFO: task hung in sync_inodes_sb (2) fs 4 2000d 2017d 0/28 auto-closed as invalid on 2019/10/19 16:22
upstream INFO: task hung in sync_inodes_sb (3) fs mm C done 6 1743d 1751d 15/28 fixed on 2020/02/14 01:19
linux-4.14 INFO: task hung in sync_inodes_sb 1 1712d 1712d 0/1 auto-closed as invalid on 2020/06/02 17:26
android-49 INFO: task hung in sync_inodes_sb 11 2237d 2316d 0/3 auto-closed as invalid on 2019/02/24 06:19
android-49 INFO: task hung in sync_inodes_sb (2) 2 1826d 1988d 0/3 auto-closed as invalid on 2020/02/10 00:14
upstream INFO: task hung in sync_inodes_sb (4) nilfs C done inconclusive 345 466d 1421d 23/28 fixed on 2023/07/04 09:17
linux-6.1 INFO: task hung in sync_inodes_sb origin:upstream missing-backport C 498 11h52m 582d 0/3 upstream: reported C repro on 2023/03/10 02:07
linux-4.14 INFO: task hung in sync_inodes_sb (2) vfs C 11 606d 1373d 0/1 upstream: reported C repro on 2021/01/07 19:48
linux-4.19 INFO: task hung in sync_inodes_sb xfs C error 13 624d 1464d 0/1 upstream: reported C repro on 2020/10/09 07:19

Sample crash report:
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
INFO: task syz-executor4:24153 blocked for more than 140 seconds.
      Not tainted 5.0.0-rc2+ #26
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor4   D26952 24153  24036 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2831 [inline]
 __schedule+0x897/0x1e60 kernel/sched/core.c:3472
 schedule+0xfe/0x350 kernel/sched/core.c:3516
 wb_wait_for_completion+0x1e0/0x2d0 fs/fs-writeback.c:221
 sync_inodes_sb+0x335/0x490 fs/fs-writeback.c:2417
 sync_inodes_one_sb+0x57/0x70 fs/sync.c:74
 iterate_supers+0x149/0x290 fs/super.c:634
 ksys_sync+0xdf/0x1d0 fs/sync.c:113
 __ia32_sys_sync+0xe/0x20 fs/sync.c:124
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457ec9
Code: Bad RIP value.
RSP: 002b:00007f1a5080bc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 000000000073bfa8 RCX: 0000000000457ec9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1a5080c6d4
R13: 00000000004c42be R14: 00000000004db5a0 R15: 00000000ffffffff

Showing all locks held in the system:
1 lock held by khungtaskd/1040:
 #0: 0000000085e820e7 (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4389
1 lock held by rsyslogd/7958:
 #0: 00000000972ee0e3 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795
2 locks held by getty/8048:
 #0: 00000000e1959bdb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000006e9ec6b6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/8049:
 #0: 00000000d5d3ec97 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000701e19bc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/8050:
 #0: 00000000649edb47 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000cd2c2c58 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/8051:
 #0: 000000000cc8f3f2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000008554df07 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/8052:
 #0: 00000000180103e3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000004d8179fb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/8053:
 #0: 00000000bed145a3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000c8c24ed1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/8054:
 #0: 0000000065ac6c58 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 0000000067bc25dc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
5 locks held by kworker/u4:7/9551:
1 lock held by syz-executor5/15409:
1 lock held by syz-executor5/15491:
1 lock held by syz-executor5/15528:
1 lock held by syz-executor1/15542:
1 lock held by syz-executor4/24153:
 #0: 00000000700c0683 (&type->s_umount_key#55){++++}, at: iterate_supers+0xe2/0x290 fs/super.c:632

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1040 Comm: khungtaskd Not tainted 5.0.0-rc2+ #26
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+0x1db/0x2d0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0xbbb/0x1170 kernel/hung_task.c:287
 kthread+0x357/0x430 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 15542 Comm: syz-executor1 Not tainted 5.0.0-rc2+ #26
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:snd_pcm_plugin_client_channels+0x60/0x80 sound/core/oss/pcm_plugin.c:144
Code: 48 89 da 4d 8b a4 24 90 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 14 4c 89 23 4c 89 e8 5b 41 5c 41 5d <5d> c3 e8 19 09 ce fb eb cd 48 89 df e8 af 09 ce fb eb e2 0f 1f 00
RSP: 0018:ffff888056a47950 EFLAGS: 00000246
RAX: 0000000000001000 RBX: ffff88808d725d00 RCX: dffffc0000000000
RDX: 1ffff1100ad48f36 RSI: ffffffff85f7d997 RDI: ffff88809e655f90
RBP: ffff888056a47950 R08: ffff88805a3d60c0 R09: ffffed100b065a09
R10: ffff888056a47ad8 R11: ffff88805832d047 R12: 0000000000001000
R13: ffff88809e655f00 R14: ffff888056a479f0 R15: 0000000000000000
FS:  00007f28ed45d700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600400 CR3: 000000008dfe5000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 snd_pcm_plug_read_transfer+0x175/0x3b0 sound/core/oss/pcm_plugin.c:643
 snd_pcm_oss_read2+0x22b/0x460 sound/core/oss/pcm_oss.c:1474
 snd_pcm_oss_read1 sound/core/oss/pcm_oss.c:1512 [inline]
 snd_pcm_oss_read+0x4bb/0x7f0 sound/core/oss/pcm_oss.c:2752
 __vfs_read+0x116/0xb20 fs/read_write.c:416
 vfs_read+0x194/0x3e0 fs/read_write.c:452
 ksys_read+0x105/0x260 fs/read_write.c:578
 __do_sys_read fs/read_write.c:588 [inline]
 __se_sys_read fs/read_write.c:586 [inline]
 __x64_sys_read+0x73/0xb0 fs/read_write.c:586
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457ec9
Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f28ed45cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9
RDX: 0000000000000008 RSI: 0000000020000180 RDI: 0000000000000006
RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f28ed45d6d4
R13: 00000000004c4a3d R14: 00000000004d81f8 R15: 00000000ffffffff

Crashes (58):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/14 22:43 upstream 3719876809e7 ebacf5cb .config console log report ci-upstream-kasan-gce-root
2019/01/08 08:29 upstream 3bd6e94bec12 37dd2683 .config console log report ci-upstream-kasan-gce-smack-root
2019/01/06 12:36 upstream b5aef86e089a 94f8adb5 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/04 19:58 upstream 96d4f267e40f 0127e3ba .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/03 01:27 upstream 85f78456f286 06a2b89f .config console log report ci-upstream-kasan-gce-root
2019/01/02 13:27 upstream 8e143b90e4d4 f0491811 .config console log report ci-upstream-kasan-gce-root
2018/12/26 12:52 upstream d8924c0d76aa 8a41a0ad .config console log report ci-upstream-kasan-gce-smack-root
2018/12/19 05:48 upstream ddfbab46539f 4edaba93 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/10 23:58 upstream f5d582777bcb 4093e33b .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/10 01:46 upstream 0844895a2e51 96cc4c50 .config console log report ci-upstream-kasan-gce-root
2018/12/08 00:14 upstream 5f179793f0a7 65ed2472 .config console log report ci-upstream-kasan-gce-root
2018/12/06 00:07 upstream d08970904582 764b42c4 .config console log report ci-upstream-kasan-gce-root
2018/12/05 23:12 upstream d08970904582 764b42c4 .config console log report ci-upstream-kasan-gce-root
2018/12/04 20:34 upstream 0072a0c14d5b 6ad0ae61 .config console log report ci-upstream-kasan-gce-root
2018/11/29 06:14 upstream 121b018f8c74 4b6d14f2 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/25 09:13 upstream e195ca6cb6f2 3d3ec907 .config console log report ci-upstream-kasan-gce-selinux-root
2018/11/25 03:45 upstream e195ca6cb6f2 ecc7c870 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/24 22:21 upstream 7c98a4261827 ecc7c870 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/23 07:21 upstream edeca3a769ad 87815d9d .config console log report ci-upstream-kasan-gce-selinux-root
2018/11/22 08:58 upstream 92b419289cee 2ee77802 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/21 06:18 upstream c8ce94b8fe53 5d9a3924 .config console log report ci-upstream-kasan-gce-root
2018/11/19 10:39 upstream 9ff01193a20d adf636a8 .config console log report ci-upstream-kasan-gce-root
2018/11/18 15:49 upstream 1ce80e0fe98e adf636a8 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/17 17:49 upstream 1ce80e0fe98e b08ee62a .config console log report ci-upstream-kasan-gce-root
2018/11/14 22:32 upstream d41217aac0a5 5f5f6d14 .config console log report ci-upstream-kasan-gce-root
2018/11/13 06:01 upstream ccda4af0f4b9 74dbb806 .config console log report ci-upstream-kasan-gce-root
2018/11/11 09:36 upstream e255aee5b66c f3c4e618 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/07 12:21 upstream 8053e5b93eca 8bd6bd63 .config console log report ci-upstream-kasan-gce-root
2018/11/05 19:40 upstream 651022382c7f 8bd6bd63 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/02 03:39 upstream e468f5c06b5e 1f38e9ae .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/31 19:40 upstream 59fc453b21f7 89781090 .config console log report ci-upstream-kasan-gce-root
2018/10/28 10:43 upstream 69d5b97c5973 6f9b225a .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/22 14:55 upstream 84df9525b0c2 ecb386fe .config console log report ci-upstream-kasan-gce-root
2018/10/20 09:25 upstream 270b77a0f30e ecb386fe .config console log report ci-upstream-kasan-gce-root
2018/09/21 07:24 upstream 234b69e3e089 37079712 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/02 14:32 upstream 360bd62dc494 a4718693 .config console log report ci-upstream-kasan-gce-root
2018/08/14 23:42 upstream d0055f351e64 0e6dcb88 .config console log report ci-upstream-kasan-gce-root
2018/05/19 16:04 upstream 73fcb1a370c7 849705db .config console log report ci-upstream-kasan-gce-root
2019/01/11 05:38 linux-next b808822a75a3 80dde172 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/10 06:15 linux-next 6cab33afc3dd 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/04 00:05 linux-next a4983672f9ca 7da23925 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/03 00:03 linux-next 4cd1b60def51 06a2b89f .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/29 23:59 linux-next 6a1d293238c1 35e3f847 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/25 01:32 linux-next 6a1d293238c1 8a41a0ad .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/06 22:29 linux-next 442b8cea2477 3ab38479 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/02 07:51 linux-next 442b8cea2477 5a581673 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/28 18:27 linux-next 442b8cea2477 4b6d14f2 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/25 01:47 linux-next 442b8cea2477 ecc7c870 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/12 13:10 linux-next 442b8cea2477 7b5f8621 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/26 10:40 linux-next 8c60c36d0b8c a8292de9 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/26 03:24 linux-next 8c60c36d0b8c a8292de9 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/14 20:37 linux-next 774ea0551a29 caf12900 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/09 18:47 linux-next 570b7bdeaf18 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/07 08:47 linux-next 12ffaa1197f5 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/05 05:41 linux-next 25bcda3e8b9f 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/29 10:56 linux-next 4794a36bf08d 41e4b329 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/04 22:05 linux-next f2b6e66e9885 a4718693 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/23 09:08 linux-next 455fb5ec1df1 95b5c82b .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.