syzbot


INFO: task hung in grab_super
Status: closed as dup on 2018/07/18 11:42
Reported-by: syzbot+f425456ea8aa16b40d20@syzkaller.appspotmail.com
First crash: 1409d, last: 272d
Duplicate of (1):
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in flush_work C error 306 1371d 1480d
similar bugs (6):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 INFO: task hung in grab_super 4 1304d 1142d 0/1 auto-closed as invalid on 2019/04/28 15:34
linux-4.14 INFO: task hung in grab_super C error 239 51d 1134d 0/1 upstream: reported C repro on 2019/04/19 12:37
android-414 INFO: task hung in grab_super (2) 2 1044d 1065d 0/1 auto-closed as invalid on 2019/11/15 12:55
android-49 INFO: task hung in grab_super 1 1382d 1382d 0/3 auto-closed as invalid on 2019/02/22 13:19
linux-4.19 INFO: task hung in grab_super C error 220 10d 1135d 0/1 upstream: reported C repro on 2019/04/18 03:33
android-49 INFO: task hung in grab_super (2) 1 1010d 1010d 0/3 auto-closed as invalid on 2019/12/19 00:51

Sample crash report:
INFO: task syz-executor538:8110 blocked for more than 143 seconds.
      Not tainted 5.1.0-rc6+ #89
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor538 D28952  8110   7940 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2877 [inline]
 __schedule+0x813/0x1cc0 kernel/sched/core.c:3518
 schedule+0x92/0x180 kernel/sched/core.c:3562
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:582 [inline]
 rwsem_down_write_failed+0x774/0xc30 kernel/locking/rwsem-xadd.c:611
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x53/0x90 kernel/locking/rwsem.c:72
 grab_super+0xb4/0x290 fs/super.c:385
 sget_userns+0x1ab/0x560 fs/super.c:601
 sget+0x10c/0x150 fs/super.c:660
 mount_bdev+0xff/0x3c0 fs/super.c:1319
 udf_mount+0x35/0x40 fs/udf/super.c:131
 legacy_get_tree+0xf2/0x200 fs/fs_context.c:584
 vfs_get_tree+0x123/0x450 fs/super.c:1481
 do_new_mount fs/namespace.c:2622 [inline]
 do_mount+0x1436/0x2c40 fs/namespace.c:2942
 ksys_mount+0xdb/0x150 fs/namespace.c:3151
 __do_sys_mount fs/namespace.c:3165 [inline]
 __se_sys_mount fs/namespace.c:3162 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3162
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44abd9
Code: 73 65 74 74 69 6e 67 00 00 49 6e 76 61 6c 69 64 20 22 24 41 63 74 69 6f 6e 51 75 65 75 65 44 65 71 75 65 75 65 54 69 6d 65 42 <65> 67 69 6e 22 2c 20 65 72 72 6f 72 20 25 64 2e 20 49 67 6e 6f 72
RSP: 002b:00007fb9bfbe2db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000006dcc48 RCX: 000000000044abd9
RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000020000080
RBP: 00000000006dcc40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc4c
R13: 00007ffdfc4a9d8f R14: 00007fb9bfbe39c0 R15: 0000000000000001

Showing all locks held in the system:
1 lock held by khungtaskd/1034:
 #0: 000000004749f638 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5057
3 locks held by udevd/3874:
1 lock held by rsyslogd/7792:
 #0: 0000000087b839a2 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801
2 locks held by getty/7914:
 #0: 00000000ca28c403 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000008c85a92b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7915:
 #0: 00000000597adbb1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000619a6e03 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7916:
 #0: 000000009e45b8d0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000fb7e13b9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7917:
 #0: 000000006acabd7b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000004c7dc31e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7918:
 #0: 0000000052bace17 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000293172de (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7919:
 #0: 00000000bb80924d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000a2b33058 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7920:
 #0: 0000000017b7b423 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 0000000035cbffac (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
1 lock held by syz-executor538/7956:
2 locks held by syz-executor538/8016:
2 locks held by syz-executor538/8098:
2 locks held by syz-executor538/8110:
 #0: 0000000076de43f3 (&bdev->bd_fsfreeze_mutex){+.+.}, at: mount_bdev+0x93/0x3c0 fs/super.c:1313
 #1: 00000000dafe6c9d (&type->s_umount_key#52){+.+.}, at: grab_super+0xb4/0x290 fs/super.c:385
2 locks held by blkid/11128:
 #0: 00000000cdf94dc0 (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xbb/0x810 fs/block_dev.c:1833
 #1: 00000000c5b54113 (loop_ctl_mutex){+.+.}, at: __loop_clr_fd+0x88/0xd60 drivers/block/loop.c:1046
1 lock held by syz-executor538/11137:
 #0: 00000000cdf94dc0 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1660 fs/block_dev.c:1513
1 lock held by syz-executor538/11144:
 #0: 00000000cdf94dc0 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1660 fs/block_dev.c:1513
2 locks held by syz-executor538/11132:
 #0: 00000000a3b7c3de (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xbb/0x810 fs/block_dev.c:1833
 #1: 00000000c5b54113 (loop_ctl_mutex){+.+.}, at: lo_release+0x1f/0x200 drivers/block/loop.c:1755
1 lock held by syz-executor538/11142:
 #0: 00000000f66a1384 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1660 fs/block_dev.c:1513
2 locks held by syz-executor538/11133:
 #0: 000000001dcbb302 (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xbb/0x810 fs/block_dev.c:1833
 #1: 00000000c5b54113 (loop_ctl_mutex){+.+.}, at: lo_release+0x1f/0x200 drivers/block/loop.c:1755
1 lock held by syz-executor538/11140:
 #0: 00000000093397ee (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1660 fs/block_dev.c:1513
2 locks held by blkid/11138:
 #0: 00000000093397ee (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1660 fs/block_dev.c:1513
 #1: 00000000c5b54113 (loop_ctl_mutex){+.+.}, at: lo_open+0x1d/0xd0 drivers/block/loop.c:1736
2 locks held by blkid/11139:
 #0: 00000000f66a1384 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1660 fs/block_dev.c:1513
 #1: 00000000c5b54113 (loop_ctl_mutex){+.+.}, at: lo_open+0x1d/0xd0 drivers/block/loop.c:1736

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

NMI backtrace for cpu 1
CPU: 1 PID: 1034 Comm: khungtaskd Not tainted 5.1.0-rc6+ #89
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+0x172/0x1f0 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:204 [inline]
 watchdog+0x9b7/0xec0 kernel/hung_task.c:288
 kthread+0x357/0x430 kernel/kthread.c:253
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 1 to CPUs 0:

Crashes (206):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2019/04/29 00:09 upstream 9520b5324b0e b617407b .config log report syz C
ci-upstream-kasan-gce-root 2019/02/28 19:34 upstream 7d762d69145a 09aeeba4 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/02/06 20:47 upstream 8834f5600cf3 d25487bc .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/01/20 03:17 upstream b0efca46b570 353f32ea .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/01/19 18:23 upstream 2339e91d0e66 8aa587b0 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/01/13 20:21 upstream e1706720408e c3f3344c .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/01/13 18:40 upstream e1706720408e c3f3344c .config log report syz C
ci-upstream-kasan-gce-selinux-root 2018/12/15 04:48 upstream eb6cf9f8cb9d 7624ddd6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/08/28 02:55 upstream 1a6436f37512 d5a29e53 .config log report info INFO: task hung in grab_super
ci-upstream-kasan-gce-root 2019/05/02 15:01 upstream 459e3a21535a 7516d9fa .config log report
ci-upstream-kasan-gce-root 2019/04/26 06:06 upstream 8113a85f8720 b617407b .config log report
ci-upstream-kasan-gce-root 2019/04/23 04:32 upstream 085b7755808a 53199d6e .config log report
ci-upstream-kasan-gce-smack-root 2019/04/21 10:42 upstream 9e5de623a0cb b0e8efcb .config log report
ci-upstream-kasan-gce-smack-root 2019/04/20 22:33 upstream 371dd432ab39 b0e8efcb .config log report
ci-upstream-kasan-gce-smack-root 2019/04/20 16:28 upstream 371dd432ab39 b0e8efcb .config log report
ci-upstream-kasan-gce-root 2019/04/20 00:59 upstream 3ecafda911f4 b0e8efcb .config log report
ci-upstream-kasan-gce-smack-root 2019/04/19 11:31 upstream 6d906f998179 b0e8efcb .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/19 03:17 upstream 6d906f998179 b0e8efcb .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/17 18:12 upstream 444fe9913539 b0e8efcb .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/14 14:38 upstream 4443f8e6ac77 505ab413 .config log report
ci-upstream-kasan-gce-smack-root 2019/04/13 09:07 upstream 8ee15f324866 c402d8f1 .config log report
ci-upstream-kasan-gce-root 2019/04/13 03:39 upstream 8ee15f324866 c402d8f1 .config log report
ci-upstream-kasan-gce-root 2019/04/12 23:13 upstream 8ee15f324866 c402d8f1 .config log report
ci-upstream-kasan-gce-smack-root 2019/04/11 17:58 upstream 582549e3fbe1 13030ef8 .config log report
ci-upstream-kasan-gce-root 2019/04/04 21:07 upstream 145f47c7381d 6a475fff .config log report
ci-upstream-kasan-gce-smack-root 2019/04/04 08:31 upstream 8ed86627f715 d6fc4177 .config log report
ci-upstream-kasan-gce-root 2019/04/03 14:09 upstream a816fd6b49b6 dfd3394d .config log report
ci-upstream-kasan-gce-smack-root 2019/04/02 20:45 upstream 5e7a8ca31926 dfd3394d .config log report
ci-upstream-kasan-gce-root 2019/03/27 10:23 upstream 65ae689329c5 55684ce1 .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/26 21:47 upstream a3ac7917b730 55684ce1 .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/26 06:37 upstream a3ac7917b730 55684ce1 .config log report
ci-upstream-kasan-gce-smack-root 2019/03/25 22:58 upstream 8c2ffd917477 55684ce1 .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/25 13:48 upstream 8c2ffd917477 2c86e0a5 .config log report
ci-upstream-kasan-gce-root 2019/03/24 05:42 upstream a5ed1e96cafd a2cef203 .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/23 06:08 upstream fd1f297b794c 3361bde5 .config log report
ci-upstream-kasan-gce-smack-root 2019/03/16 13:29 upstream 9c7dc824d9a4 bab43553 .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/12 01:24 upstream a089e4fed5c5 12365b99 .config log report
ci-upstream-kasan-gce-root 2019/03/04 06:08 upstream 1c163f4c7b3f 1c0e457a .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/03 20:37 upstream c027c7cf1577 1c0e457a .config log report
ci-upstream-kasan-gce-root 2019/03/03 19:33 upstream c027c7cf1577 1c0e457a .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/02 23:01 upstream c93d9218ea56 1c0e457a .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/02 15:23 upstream a215ce8f0e00 1c0e457a .config log report
ci-upstream-kasan-gce-root 2019/03/01 19:47 upstream 7d762d69145a 68d9e495 .config log report
ci-upstream-kasan-gce-root 2018/07/18 09:08 upstream 3c53776e29f8 6d5bd5b5 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/27 05:44 linux-next 3ddfa8af5dc9 b617407b .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/22 00:06 linux-next 3f018f4a019a b0e8efcb .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/27 14:44 linux-next a392ee45bae7 4e668495 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/26 11:02 linux-next 9e864317704b 55684ce1 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/25 10:30 linux-next e382d91f5f80 2c86e0a5 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/25 00:34 linux-next e382d91f5f80 acbc5b7d .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/24 22:12 linux-next e382d91f5f80 acbc5b7d .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/20 00:58 linux-next 75e6a83b189c 2458c1c6 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/16 05:06 linux-next cf08baa29613 bab43553 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/13 00:38 linux-next cf08baa29613 a71bfb62 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/11 22:34 linux-next cf08baa29613 12365b99 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/09 12:01 linux-next cf08baa29613 12365b99 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/09 01:50 linux-next cf08baa29613 12365b99 .config log report
ci-upstream-kmsan-gce 2018/07/20 07:26 https://github.com/google/kmsan.git master cf8cd3cd03e2 49f35839 .config log report