syzbot


INFO: task hung in __bread_gfp (2)

Status: auto-closed as invalid on 2020/07/20 01:01
Subsystems: jfs
[Documentation on labels]
First crash: 1670d, last: 1663d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in __bread_gfp (5) ntfs3 1 222d 222d 0/28 auto-obsoleted due to no activity on 2024/07/30 08:01
upstream INFO: task hung in __bread_gfp (3) fs 1 1129d 1129d 0/28 auto-closed as invalid on 2022/02/04 04:37
upstream INFO: task hung in __bread_gfp exfat 4 2346d 2441d 0/28 auto-closed as invalid on 2019/02/22 10:29
linux-5.15 INFO: task hung in __bread_gfp 3 234d 248d 0/3 auto-obsoleted due to no activity on 2024/07/28 07:35
android-49 INFO: task hung in __bread_gfp 2 2428d 2441d 0/3 auto-closed as invalid on 2019/02/22 14:34
upstream INFO: task hung in __bread_gfp (4) reiserfs C error 3 654d 715d 0/28 auto-obsoleted due to no activity on 2023/07/25 23:59

Sample crash report:
INFO: task syz-executor.3:26781 can't die for more than 143 seconds.
syz-executor.3  D27856 26781   7353 0x00004004
Call Trace:
 schedule+0xd0/0x2a0 kernel/sched/core.c:4163
 io_schedule+0x17/0x60 kernel/sched/core.c:5806
 bit_wait_io+0x12/0x90 kernel/sched/wait_bit.c:209
 __wait_on_bit+0x5e/0x190 kernel/sched/wait_bit.c:49
 out_of_line_wait_on_bit+0xd5/0x110 kernel/sched/wait_bit.c:64
 wait_on_bit_io include/linux/wait_bit.h:101 [inline]
 __wait_on_buffer fs/buffer.c:122 [inline]
 wait_on_buffer include/linux/buffer_head.h:354 [inline]
 __bread_slow fs/buffer.c:1249 [inline]
 __bread_gfp+0x2b2/0x370 fs/buffer.c:1430
 sb_bread include/linux/buffer_head.h:307 [inline]
 readSuper+0xa6/0x250 fs/jfs/jfs_mount.c:454
 chkSuper+0xa3/0xcd0 fs/jfs/jfs_mount.c:300
 jfs_mount+0x47/0x3d0 fs/jfs/jfs_mount.c:81
 jfs_fill_super+0x5ba/0xbc0 fs/jfs/super.c:562
 mount_bdev+0x305/0x3c0 fs/super.c:1417
 legacy_get_tree+0x105/0x220 fs/fs_context.c:622
 vfs_get_tree+0x89/0x2f0 fs/super.c:1547
 do_new_mount fs/namespace.c:2813 [inline]
 do_mount+0x1306/0x1b30 fs/namespace.c:3138
 __do_sys_mount fs/namespace.c:3347 [inline]
 __se_sys_mount fs/namespace.c:3324 [inline]
 __x64_sys_mount+0x18f/0x230 fs/namespace.c:3324
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x45ca29
Code: Bad RIP value.
RSP: 002b:00007f4658097c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000004f6280 RCX: 000000000045ca29
RDX: 0000000020000280 RSI: 0000000020000200 RDI: 00000000200001c0
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000751 R14: 00000000004ca3aa R15: 00007f46580986d4
INFO: task syz-executor.3:26781 blocked for more than 143 seconds.
      Not tainted 5.7.0-rc1-next-20200415-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D27856 26781   7353 0x00004004
Call Trace:
 schedule+0xd0/0x2a0 kernel/sched/core.c:4163
 io_schedule+0x17/0x60 kernel/sched/core.c:5806
 bit_wait_io+0x12/0x90 kernel/sched/wait_bit.c:209
 __wait_on_bit+0x5e/0x190 kernel/sched/wait_bit.c:49
 out_of_line_wait_on_bit+0xd5/0x110 kernel/sched/wait_bit.c:64
 wait_on_bit_io include/linux/wait_bit.h:101 [inline]
 __wait_on_buffer fs/buffer.c:122 [inline]
 wait_on_buffer include/linux/buffer_head.h:354 [inline]
 __bread_slow fs/buffer.c:1249 [inline]
 __bread_gfp+0x2b2/0x370 fs/buffer.c:1430
 sb_bread include/linux/buffer_head.h:307 [inline]
 readSuper+0xa6/0x250 fs/jfs/jfs_mount.c:454
 chkSuper+0xa3/0xcd0 fs/jfs/jfs_mount.c:300
 jfs_mount+0x47/0x3d0 fs/jfs/jfs_mount.c:81
 jfs_fill_super+0x5ba/0xbc0 fs/jfs/super.c:562
 mount_bdev+0x305/0x3c0 fs/super.c:1417
 legacy_get_tree+0x105/0x220 fs/fs_context.c:622
 vfs_get_tree+0x89/0x2f0 fs/super.c:1547
 do_new_mount fs/namespace.c:2813 [inline]
 do_mount+0x1306/0x1b30 fs/namespace.c:3138
 __do_sys_mount fs/namespace.c:3347 [inline]
 __se_sys_mount fs/namespace.c:3324 [inline]
 __x64_sys_mount+0x18f/0x230 fs/namespace.c:3324
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x45ca29
Code: Bad RIP value.
RSP: 002b:00007f4658097c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000004f6280 RCX: 000000000045ca29
RDX: 0000000020000280 RSI: 0000000020000200 RDI: 00000000200001c0
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000751 R14: 00000000004ca3aa R15: 00007f46580986d4
INFO: task syz-executor.3:26823 can't die for more than 143 seconds.
syz-executor.3  D28984 26823   7353 0x00004004
Call Trace:
 schedule+0xd0/0x2a0 kernel/sched/core.c:4163
 rwsem_down_write_slowpath+0x6eb/0xf80 kernel/locking/rwsem.c:1235
 __down_write kernel/locking/rwsem.c:1389 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1532
 grab_super+0xa3/0x260 fs/super.c:389
 sget+0x1c7/0x560 fs/super.c:605
 mount_bdev+0xf8/0x3c0 fs/super.c:1390
 legacy_get_tree+0x105/0x220 fs/fs_context.c:622
 vfs_get_tree+0x89/0x2f0 fs/super.c:1547
 do_new_mount fs/namespace.c:2813 [inline]
 do_mount+0x1306/0x1b30 fs/namespace.c:3138
 __do_sys_mount fs/namespace.c:3347 [inline]
 __se_sys_mount fs/namespace.c:3324 [inline]
 __x64_sys_mount+0x18f/0x230 fs/namespace.c:3324
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x45ca29
Code: Bad RIP value.
RSP: 002b:00007f4658055c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000004f6280 RCX: 000000000045ca29
RDX: 0000000020000280 RSI: 0000000020000200 RDI: 00000000200001c0
RBP: 000000000078c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000751 R14: 00000000004ca3aa R15: 00007f46580566d4
INFO: task syz-executor.3:26823 blocked for more than 144 seconds.
      Not tainted 5.7.0-rc1-next-20200415-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D28984 26823   7353 0x00004004
Call Trace:
 schedule+0xd0/0x2a0 kernel/sched/core.c:4163
 rwsem_down_write_slowpath+0x6eb/0xf80 kernel/locking/rwsem.c:1235
 __down_write kernel/locking/rwsem.c:1389 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1532
 grab_super+0xa3/0x260 fs/super.c:389
 sget+0x1c7/0x560 fs/super.c:605
 mount_bdev+0xf8/0x3c0 fs/super.c:1390
 legacy_get_tree+0x105/0x220 fs/fs_context.c:622
 vfs_get_tree+0x89/0x2f0 fs/super.c:1547
 do_new_mount fs/namespace.c:2813 [inline]
 do_mount+0x1306/0x1b30 fs/namespace.c:3138
 __do_sys_mount fs/namespace.c:3347 [inline]
 __se_sys_mount fs/namespace.c:3324 [inline]
 __x64_sys_mount+0x18f/0x230 fs/namespace.c:3324
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x45ca29
Code: Bad RIP value.
RSP: 002b:00007f4658055c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000004f6280 RCX: 000000000045ca29
RDX: 0000000020000280 RSI: 0000000020000200 RDI: 00000000200001c0
RBP: 000000000078c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000751 R14: 00000000004ca3aa R15: 00007f46580566d4

Showing all locks held in the system:
1 lock held by kworker/u4:3/141:
 #0: ffff8880ae7379d8 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0x9be/0xdb0 kernel/sched/fair.c:10512
1 lock held by khungtaskd/1168:
 #0: ffffffff899befc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5754
3 locks held by in:imklog/6748:
 #0: ffff8880a2cb93b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826
 #1: ffff8880ae7379d8 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1262 [inline]
 #1: ffff8880ae7379d8 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x233/0x1ff0 kernel/sched/core.c:4034
 #2: ffff8880ae722ec8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x304/0x410 kernel/sched/psi.c:817
2 locks held by agetty/6974:
 #0: ffff8880a2463098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267
 #1: ffffc90000f902e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x220/0x1b30 drivers/tty/n_tty.c:2156
1 lock held by syz-executor.3/26781:
 #0: ffff8880a222e0e0 (&type->s_umount_key#76/1){+.+.}-{3:3}, at: alloc_super+0x1b3/0x9d0 fs/super.c:229
2 locks held by syz-executor.3/26823:
 #0: ffff88808ae36890 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: mount_bdev+0x90/0x3c0 fs/super.c:1384
 #1: ffff8880a222e0e0 (&type->s_umount_key#77){+.+.}-{3:3}, at: grab_super+0xa3/0x260 fs/super.c:389

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

NMI backtrace for cpu 0
CPU: 0 PID: 1168 Comm: khungtaskd Not tainted 5.7.0-rc1-next-20200415-syzkaller #0
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+0x188/0x20d lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:147 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:249 [inline]
 watchdog+0xde3/0x14e0 kernel/hung_task.c:333
 kthread+0x388/0x470 kernel/kthread.c:268
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4136 Comm: systemd-journal Not tainted 5.7.0-rc1-next-20200415-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__kernel_text_address+0x9/0x30 kernel/extable.c:105
Code: ef e8 2b b8 31 00 0f b6 c0 eb e0 48 c7 c7 04 13 8b 8a e8 4a 8d 64 00 e9 6d ff ff ff 0f 1f 44 00 00 53 48 89 fb e8 17 ff ff ff <85> c0 75 17 48 81 fb 00 00 93 8b 72 0c 31 c0 48 81 fb 36 ac a7 8b
RSP: 0018:ffffc900052d7ab0 EFLAGS: 00000096
RAX: 0000000000000001 RBX: ffffffff814db83e RCX: 0000000000000000
RDX: 1ffff92000a5af64 RSI: ffffc900052d7998 RDI: ffffffff814db83e
RBP: ffffc900052d7b20 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000028547 R11: 000000000007001f R12: ffffc900052d7b88
R13: 0000000000000000 R14: ffff888092c62240 R15: 0000000000000000
FS:  00007f4f9905b8c0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4f96563000 CR3: 000000009300e000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 unwind_get_return_address arch/x86/kernel/unwind_orc.c:314 [inline]
 unwind_get_return_address+0x5a/0xa0 arch/x86/kernel/unwind_orc.c:309
 arch_stack_walk+0x84/0xd0 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:123
 save_stack+0x1b/0x40 mm/kasan/common.c:49
 set_track mm/kasan/common.c:57 [inline]
 kasan_set_free_info mm/kasan/common.c:317 [inline]
 __kasan_slab_free+0xf7/0x140 mm/kasan/common.c:456
 __cache_free mm/slab.c:3426 [inline]
 kmem_cache_free+0x7f/0x320 mm/slab.c:3694
 __put_cred+0x1de/0x250 kernel/cred.c:148
 put_cred include/linux/cred.h:287 [inline]
 do_faccessat+0x64d/0x7a0 fs/open.c:439
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x7f4f983179c7
Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007fff760b06e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007fff760b3710 RCX: 00007f4f983179c7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055d38adfb9a3
RBP: 00007fff760b0830 R08: 000055d38adf13e5 R09: 0000000000000018
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 000055d38bf918a0 R15: 00007fff760b0d20

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/21 00:54 linux-next ac935d227366 c61086ab .config console log report ci-upstream-linux-next-kasan-gce-root
2020/05/19 10:05 linux-next ac935d227366 684d3606 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/05/17 16:53 linux-next ac935d227366 37bccd4e .config console log report ci-upstream-linux-next-kasan-gce-root
2020/05/15 23:46 linux-next ac935d227366 d7f9fffa .config console log report ci-upstream-linux-next-kasan-gce-root
2020/05/14 11:14 linux-next ac935d227366 2d572622 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.