syzbot


INFO: task hung in get_super

Status: auto-closed as invalid on 2019/02/22 14:56
First crash: 2360d, last: 2332d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in get_super 1 372d 372d 0/3 auto-obsoleted due to no activity on 2024/02/08 07:44
upstream INFO: task hung in get_super (2) reiserfs 1 426d 426d 0/28 auto-obsoleted due to no activity on 2023/12/05 22:55
upstream INFO: task hung in get_super fs arm 6 625d 809d 0/28 auto-obsoleted due to no activity on 2023/05/20 18:34

Sample crash report:
IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
INFO: task syz-executor5:9523 blocked for more than 120 seconds.
      Not tainted 4.9.109-ga4230be #48
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor5   D28584  9523   7913 0x00000004
 ffff8801c4484800 0000000000000000 ffff8801c9301500 ffff8801d99b3000
 ffff8801db221c18 ffff8801b6db7580 ffffffff839e8a8d ffff8801d382e688
 0000000000000000 0000000000000000 0000000000000000 ffff8801db2224e8
Call Trace:
 [<ffffffff839ea08f>] schedule+0x7f/0x1b0 kernel/sched/core.c:3557
 [<ffffffff839f44b4>] rwsem_down_read_failed+0x1e4/0x320 kernel/locking/rwsem-xadd.c:260
 [<ffffffff81ee80d8>] call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 [<ffffffff839f33e2>] __down_read arch/x86/include/asm/rwsem.h:65 [inline]
 [<ffffffff839f33e2>] down_read+0x52/0xb0 kernel/locking/rwsem.c:24
 [<ffffffff8157acf9>] get_super.part.9+0x119/0x1f0 fs/super.c:665
 [<ffffffff8157adfb>] get_super+0x2b/0x50 include/linux/spinlock.h:302
 [<ffffffff81633c77>] fsync_bdev+0x17/0xc0 fs/block_dev.c:214
 [<ffffffff81e5b985>] invalidate_partition+0x35/0x60 block/genhd.c:1412
 [<ffffffff81e64f27>] drop_partitions block/partition-generic.c:423 [inline]
 [<ffffffff81e64f27>] rescan_partitions+0xc7/0x660 block/partition-generic.c:446
 [<ffffffff81e56404>] __blkdev_reread_part+0x164/0x1f0 block/ioctl.c:170
 [<ffffffff81e564b6>] blkdev_reread_part+0x26/0x40 block/ioctl.c:190
 [<ffffffff825c6f5c>] loop_reread_partitions+0x7c/0x90 drivers/block/loop.c:637
 [<ffffffff825c79ee>] loop_set_status+0xa7e/0xfe0 drivers/block/loop.c:1171
 [<ffffffff825c83ef>] loop_set_status64+0xbf/0x110 drivers/block/loop.c:1280
 [<ffffffff825cabf6>] lo_ioctl+0x406/0x1aa0 drivers/block/loop.c:1370
 [<ffffffff81e57a26>] __blkdev_driver_ioctl block/ioctl.c:294 [inline]
 [<ffffffff81e57a26>] blkdev_ioctl+0x7b6/0x1a70 block/ioctl.c:590
 [<ffffffff81632b8e>] block_ioctl+0xde/0x120 fs/block_dev.c:1688
 [<ffffffff815b2b9c>] vfs_ioctl fs/ioctl.c:43 [inline]
 [<ffffffff815b2b9c>] file_ioctl fs/ioctl.c:493 [inline]
 [<ffffffff815b2b9c>] do_vfs_ioctl+0x1ac/0x11a0 fs/ioctl.c:677
 [<ffffffff815b3c1f>] SYSC_ioctl fs/ioctl.c:694 [inline]
 [<ffffffff815b3c1f>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685
 [<ffffffff81006316>] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 [<ffffffff839f9993>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb

Showing all locks held in the system:
2 locks held by khungtaskd/519:
 #0:  (rcu_read_lock){......}, at: [<ffffffff8136662c>] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline]
 #0:  (rcu_read_lock){......}, at: [<ffffffff8136662c>] watchdog+0x11c/0xa20 kernel/hung_task.c:239
 #1:  (tasklist_lock){.+.+..}, at: [<ffffffff81425cb7>] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336
2 locks held by getty/3776:
 #0:  (&tty->ldisc_sem){++++++}, at: [<ffffffff839f7b32>] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367
 #1:  (&ldata->atomic_read_lock){+.+.+.}, at: [<ffffffff8211fce2>] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2133
3 locks held by syz-executor5/9523:
 #0:  (&lo->lo_ctl_mutex/1){+.+.+.}, at: [<ffffffff825ca87b>] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344
 #1:  (&bdev->bd_mutex){+.+.+.}, at: [<ffffffff81e564ae>] blkdev_reread_part+0x1e/0x40 block/ioctl.c:189
 #2:  (&type->s_umount_key#55){.+.+..}, at: [<ffffffff8157acf9>] get_super.part.9+0x119/0x1f0 fs/super.c:665
1 lock held by syz-executor5/9553:
 #0:  (&bdev->bd_mutex){+.+.+.}, at: [<ffffffff8163129c>] __blkdev_get+0x10c/0xd60 fs/block_dev.c:1268
1 lock held by syz-executor5/9555:
 #0:  (&lo->lo_ctl_mutex/1){+.+.+.}, at: [<ffffffff825ca87b>] lo_ioctl+0x8b/0x1aa0 drivers/block/loop.c:1344
1 lock held by syz-executor7/9552:
 #0:  (&bdev->bd_mutex){+.+.+.}, at: [<ffffffff8163129c>] __blkdev_get+0x10c/0xd60 fs/block_dev.c:1268
1 lock held by blkid/9538:
 #0:  (&bdev->bd_mutex){+.+.+.}, at: [<ffffffff8163129c>] __blkdev_get+0x10c/0xd60 fs/block_dev.c:1268

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

NMI backtrace for cpu 0
CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.109-ga4230be #48
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d97ffd08 ffffffff81eb3e29 0000000000000000 0000000000000000
 0000000000000000 0000000000000001 ffffffff810b9580 ffff8801d97ffd40
 ffffffff81ebf127 0000000000000000 0000000000000000 0000000000000003
Call Trace:
 [<ffffffff81eb3e29>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81eb3e29>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff81ebf127>] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99
 [<ffffffff81ebf0ba>] nmi_trigger_cpumask_backtrace+0x12a/0x14f lib/nmi_backtrace.c:60
 [<ffffffff810b9684>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37
 [<ffffffff81366bc4>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline]
 [<ffffffff81366bc4>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff81366bc4>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff81366bc4>] watchdog+0x6b4/0xa20 kernel/hung_task.c:239
 [<ffffffff8119d04d>] kthread+0x26d/0x300 kernel/kthread.c:211
 [<ffffffff839f9b5c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9518 Comm: syz-executor7 Not tainted 4.9.109-ga4230be #48
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801b6699800 task.stack: ffff8801b6860000
RIP: 0010:[<ffffffff8135e960>] c [<ffffffff8135e960>] check_kcov_mode kernel/kcov.c:66 [inline]
RIP: 0010:[<ffffffff8135e960>] c [<ffffffff8135e960>] __sanitizer_cov_trace_pc+0x20/0x50 kernel/kcov.c:100
RSP: 0018:ffff8801b6867688  EFLAGS: 00000246
RAX: ffff8801b6699800 RBX: 000000000000003f RCX: ffffc900026d4000
RDX: 0000000000000000 RSI: ffffffff81ec396c RDI: ffff8801b700b190
RBP: ffff8801b6867688 R08: ffff8801b669a110 R09: 0000000000000001
R10: ffff8801b6699800 R11: 1ffff10036cd341d R12: ffff8801b700b190
R13: ffff88018032f701 R14: dffffc0000000000 R15: ffff8801b700b188
FS:  00007facfa743700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd6f35a69b8 CR3: 00000001b78dd000 CR4: 00000000001606f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Stack:
 ffff8801b68676f8c ffffffff81ec396cc ffff8801b700b198c ffff8801b6867728c
 0000000000000000c ffffed0036e01633c ffff8801b700b190c 0000000000000024c
 ffff8801b6867780c 1ffff10036d0cee1c ffff8801b700b190c 0000000000000024c
Call Trace:
 [<ffffffff81ec396c>] entry_to_node include/linux/radix-tree.h:451 [inline]
 [<ffffffff81ec396c>] __radix_tree_lookup+0xcc/0x2f0 lib/radix-tree.c:696
 [<ffffffff81ec3c02>] radix_tree_lookup_slot+0x72/0xc0 lib/radix-tree.c:725
 [<ffffffff81438b3e>] find_get_entry+0x8e/0x540 mm/filemap.c:1095
 [<ffffffff81439f2b>] pagecache_get_page+0x4b/0x720 mm/filemap.c:1203
 [<ffffffff81623e32>] find_get_page_flags include/linux/pagemap.h:264 [inline]
 [<ffffffff81623e32>] __find_get_block_slow+0xc2/0x330 fs/buffer.c:212
 [<ffffffff816243de>] __find_get_block+0x23e/0x4c0 fs/buffer.c:1360
 [<ffffffff816251e9>] __getblk_slow fs/buffer.c:1101 [inline]
 [<ffffffff816251e9>] __getblk_gfp+0x189/0x710 fs/buffer.c:1386
 [<ffffffff81628b8d>] __bread_gfp+0x2d/0x270 fs/buffer.c:1420
 [<ffffffff818e7286>] sb_bread include/linux/buffer_head.h:300 [inline]
 [<ffffffff818e7286>] isofs_fill_super+0x8a6/0x2480 fs/isofs/inode.c:617
 [<ffffffff8157c3d7>] mount_bdev+0x2c7/0x390 fs/super.c:1100
 [<ffffffff818e3494>] isofs_mount+0x34/0x40 fs/isofs/inode.c:1509
 [<ffffffff8157e15c>] mount_fs+0x28c/0x370 fs/super.c:1206
 [<ffffffff815dd921>] vfs_kern_mount.part.29+0xd1/0x3d0 fs/namespace.c:991
 [<ffffffff815e5249>] vfs_kern_mount fs/namespace.c:973 [inline]
 [<ffffffff815e5249>] do_new_mount fs/namespace.c:2513 [inline]
 [<ffffffff815e5249>] do_mount+0x3c9/0x2740 fs/namespace.c:2835
 [<ffffffff815e7f9e>] SYSC_mount fs/namespace.c:3051 [inline]
 [<ffffffff815e7f9e>] SyS_mount+0xfe/0x110 fs/namespace.c:3028
 [<ffffffff81006316>] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 [<ffffffff839f9993>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
Code: c0f c1f c84 c00 c00 c00 c00 c00 c0f c1f c00 c55 c48 c89 ce5 c65 c48 c8b c04 c25 cc0 c7d c01 c00 c65 c8b c15 cfc c93 ccb c7e c81 ce2 c00 c01 c1f c00 c48 c8b c75 c08 c75 c2b c<8b> c90 c80 c12 c00 c00 c83 cfa c02 c75 c20 c48 c8b c88 c88 c12 c00 c00 c8b c80 c84 c

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/18 17:25 https://android.googlesource.com/kernel/common android-4.9 a4230beab30a 27c5f59f .config console log report ci-android-49-kasan-gce-root
2018/06/08 11:46 https://android.googlesource.com/kernel/common android-4.9 42a730adb6e2 f7b27b7a .config console log report ci-android-49-kasan-gce-root
2018/06/06 16:46 https://android.googlesource.com/kernel/common android-4.9 54f1dc05da62 41f9540d .config console log report ci-android-49-kasan-gce-root
2018/05/21 13:05 https://android.googlesource.com/kernel/common android-4.9 aef17a58e8ca f48c20b8 .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.