Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [bcachefs?] INFO: task hung in bch2_page_fault | 0 (1) | 2024/12/13 22:41 |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [bcachefs?] INFO: task hung in bch2_page_fault | 0 (1) | 2024/12/13 22:41 |
INFO: task syz.3.161:7157 blocked for more than 143 seconds. Not tainted 6.13.0-rc2-syzkaller-00159-gf932fb9b4074 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.161 state:D stack:24320 pid:7157 tgid:7117 ppid:5827 flags:0x00000004 Call Trace: <TASK> context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 __bch2_two_state_lock+0x229/0x2c0 fs/bcachefs/two_state_shared_lock.c:7 bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:55 [inline] bch2_page_fault+0x31f/0x960 fs/bcachefs/fs-io-pagecache.c:592 __do_fault+0x135/0x390 mm/memory.c:4907 do_read_fault mm/memory.c:5322 [inline] do_fault mm/memory.c:5456 [inline] do_pte_missing mm/memory.c:3979 [inline] handle_pte_fault+0x39eb/0x5ed0 mm/memory.c:5801 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6112 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8b0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:fault_in_readable+0x173/0x2d0 mm/gup.c:2244 Code: 00 fc ff df 4c 89 e8 4f 8d ac 25 ff 0f 00 00 49 81 e5 00 f0 ff ff 49 39 c5 72 7a e8 e7 da b7 ff 4c 39 eb 74 7d 4c 89 64 24 08 <44> 8a 23 43 0f b6 04 3e 84 c0 75 18 44 88 64 24 40 48 81 c3 00 10 RSP: 0018:ffffc90003cf7920 EFLAGS: 00050287 RAX: ffffffff81e78309 RBX: 0000000020001000 RCX: 0000000000080000 RDX: ffffc9000f05a000 RSI: 0000000000000042 RDI: 0000000000000043 RBP: ffffc90003cf79d8 R08: ffffffff81e7829c R09: ffffffff84b7a909 R10: 0000000000000002 R11: ffff88802bd40000 R12: 000000000000fdef R13: 0000000020010000 R14: 1ffff9200079ef2c R15: dffffc0000000000 fault_in_iov_iter_readable+0x229/0x280 lib/iov_iter.c:94 bch2_buffered_write fs/bcachefs/fs-io-buffered.c:983 [inline] bch2_write_iter+0x528/0x2c10 fs/bcachefs/fs-io-buffered.c:1054 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_pwrite64 fs/read_write.c:786 [inline] __do_sys_pwrite64 fs/read_write.c:794 [inline] __se_sys_pwrite64 fs/read_write.c:791 [inline] __x64_sys_pwrite64+0x1ac/0x240 fs/read_write.c:791 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8345b85d19 RSP: 002b:00007f834692e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f8345d76080 RCX: 00007f8345b85d19 RDX: 000000000000fdef RSI: 0000000020000140 RDI: 0000000000000008 RBP: 00007f8345c01a20 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fecc R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8345d76080 R15: 00007ffdec473828 </TASK> Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 1 lock held by dhcpcd/5486: #0: ffff8880b863e758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 2 locks held by getty/5581: #0: ffff88814dac10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 5 locks held by syz.3.161/7118: #0: ffff88807e0d2420 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff88805603a6c8 (&sb->s_type->i_mutex_key#32){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff88805603a6c8 (&sb->s_type->i_mutex_key#32){++++}-{4:4}, at: do_truncate+0x20c/0x310 fs/open.c:63 #2: ffff888069880a38 (&c->snapshot_create_lock){.+.+}-{4:4}, at: bch2_truncate+0x166/0x2d0 fs/bcachefs/io_misc.c:292 #3: ffff888069884398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline] #3: ffff888069884398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline] #3: ffff888069884398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7e1/0xd30 fs/bcachefs/btree_iter.c:3228 #4: ffff8880698a66d0 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x682/0x14e0 fs/bcachefs/btree_update_interior.c:1197 3 locks held by syz.3.161/7157: #0: ffff88807e0d2420 (sb_writers#27){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff88807e0d2420 (sb_writers#27){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675 #1: ffff8880563497c8 (&sb->s_type->i_mutex_key#32){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff8880563497c8 (&sb->s_type->i_mutex_key#32){++++}-{4:4}, at: bch2_write_iter+0x13a/0x2c10 fs/bcachefs/fs-io-buffered.c:1040 #2: ffff8880119d60e0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_trylock include/linux/mmap_lock.h:163 [inline] #2: ffff8880119d60e0 (&mm->mmap_lock){++++}-{4:4}, at: get_mmap_lock_carefully mm/memory.c:6149 [inline] #2: ffff8880119d60e0 (&mm->mmap_lock){++++}-{4:4}, at: lock_mm_and_find_vma+0x32/0x2f0 mm/memory.c:6209 2 locks held by dhcpcd/11053: #0: ffff88807fc3e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1617 [inline] #0: ffff88807fc3e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3267 #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by dhcpcd/11054: #0: ffff88807fa12258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1617 [inline] #0: ffff88807fa12258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3267 #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc2-syzkaller-00159-gf932fb9b4074 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK> Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 3548 Comm: kworker/u8:7 Not tainted 6.13.0-rc2-syzkaller-00159-gf932fb9b4074 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:clear_page_erms+0xb/0x20 arch/x86/lib/clear_page_64.S:50 Code: 48 8d 7f 40 75 d9 90 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa b9 00 10 00 00 31 c0 <f3> aa c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 RSP: 0018:ffffc9000d327390 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000dc0 RDX: ffff888034b0c000 RSI: 0000000000000004 RDI: ffff888034b0c240 RBP: 0000000000000004 R08: ffffea0000d2c237 R09: 0000000000000000 R10: ffffed1006961000 R11: fffff940001a5847 R12: 0000000000000001 R13: 0000000000000008 R14: ffffea0000d2c200 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005643e844f680 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <NMI> </NMI> <TASK> clear_page arch/x86/include/asm/page_64.h:54 [inline] clear_highpage_kasan_tagged include/linux/highmem.h:242 [inline] kernel_init_pages mm/page_alloc.c:1040 [inline] post_alloc_hook+0xf8/0x230 mm/page_alloc.c:1554 prep_new_page mm/page_alloc.c:1564 [inline] get_page_from_freelist+0x3651/0x37a0 mm/page_alloc.c:3474 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4751 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2269 alloc_slab_page+0x6a/0x110 mm/slub.c:2408 allocate_slab+0x5a/0x2b0 mm/slub.c:2574 new_slab mm/slub.c:2627 [inline] ___slab_alloc+0xc27/0x14a0 mm/slub.c:3815 __slab_alloc+0x58/0xa0 mm/slub.c:3905 __slab_alloc_node mm/slub.c:3980 [inline] slab_alloc_node mm/slub.c:4141 [inline] __do_kmalloc_node mm/slub.c:4282 [inline] __kmalloc_node_track_caller_noprof+0x2e9/0x4c0 mm/slub.c:4302 kmalloc_reserve+0x111/0x2a0 net/core/skbuff.c:609 __alloc_skb+0x1f3/0x440 net/core/skbuff.c:678 alloc_skb include/linux/skbuff.h:1323 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x261/0xb50 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK>
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/12/13 11:25 | upstream | f932fb9b4074 | 3547e30f | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/12/09 07:07 | upstream | 62b5a46999c7 | 9ac0fdc6 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/12/01 16:24 | upstream | bcc8eda6d349 | 68914665 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/11/29 16:04 | upstream | 7af08b57bcb9 | 5df23865 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/11/26 14:58 | upstream | 7eef7e306d3c | e9a9a9f2 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/10/25 22:51 | upstream | ae90f6a6170d | 045e728d | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/10/20 08:38 | upstream | f9e4825524aa | cd6fc0a3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/09/28 02:53 | upstream | 3630400697a3 | 440b26ec | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/09/27 15:19 | upstream | 075dbe9f6e3c | 9314348a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/09/25 15:07 | upstream | 684a64bf32b6 | 349a68c4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/09/25 14:19 | upstream | 684a64bf32b6 | 349a68c4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/09/24 14:57 | upstream | abf2050f51fd | 5643e0e9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/09/24 14:56 | upstream | abf2050f51fd | 5643e0e9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/09/23 22:35 | upstream | f8eb5bd9a818 | 89298aad | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/09/19 05:30 | upstream | 4a39ac5b7d62 | c673ca06 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/07/07 13:16 | upstream | 22f902dfc51e | bc4ebbb5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | INFO: task hung in bch2_page_fault | ||
2024/07/07 13:06 | upstream | 22f902dfc51e | bc4ebbb5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | INFO: task hung in bch2_page_fault | ||
2024/07/07 06:56 | upstream | 22f902dfc51e | 2a40360c | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/07/02 22:16 | upstream | 1dfe225e9af5 | 8373af66 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | INFO: task hung in bch2_page_fault | ||
2024/07/02 08:49 | upstream | 73e931504f8e | b294e901 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/06/13 12:08 | upstream | cea2a26553ac | 2aa5052f | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | INFO: task hung in bch2_page_fault | ||
2024/06/08 07:49 | upstream | 96e09b8f8166 | 82c05ab8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/06/05 12:06 | upstream | 32f88d65f01b | e1e2c66e | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | INFO: task hung in bch2_page_fault | ||
2024/06/05 09:34 | upstream | 32f88d65f01b | e1e2c66e | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/05/31 03:18 | upstream | 4a4be1ad3a6e | 34889ee3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/05/31 02:22 | upstream | 4a4be1ad3a6e | 34889ee3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/05/20 01:12 | upstream | 61307b7be41a | c0f1611a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/05/17 02:14 | upstream | 3c999d1ae3c7 | c2e07261 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-fs | INFO: task hung in bch2_page_fault | ||
2024/12/09 22:24 | linux-next | af2ea8ab7a54 | 9ac0fdc6 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | INFO: task hung in bch2_page_fault | ||
2024/09/28 16:13 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 5f5673607153 | 440b26ec | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | INFO: task hung in bch2_page_fault | ||
2024/07/25 20:01 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | c912bf709078 | 32fcf98f | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | INFO: task hung in bch2_page_fault |