ci starts bisection 2023-04-22 12:01:56.697920364 +0000 UTC m=+179511.480580477 bisecting fixing commit since fff5a5e7f528b2ed2c335991399a766c2cf01103 building syzkaller on f94b4a29b579b3de9aab3b41915e3663e6f7094e ensuring issue is reproducible on original commit fff5a5e7f528b2ed2c335991399a766c2cf01103 testing commit fff5a5e7f528b2ed2c335991399a766c2cf01103 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 437ec80e8727e72df0875b74a4fc62fd84a07d37a093a06ab074a3f9d721d873 all runs: crashed: INFO: task hung in hfs_mdb_commit testing current HEAD 8e41e0a575664d26bb87e012c39435c4c3914ed9 testing commit 8e41e0a575664d26bb87e012c39435c4c3914ed9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bc4269146b0a7cd92f5de537e915bbbae4137c47161caa207deee9416d51b5f7 all runs: crashed: INFO: task hung in hfs_mdb_commit revisions tested: 2, total time: 39m23.645838894s (build: 26m34.450521782s, test: 12m15.330736534s) the crash still happens on HEAD commit msg: Revert "ACPICA: Events: Support fixed PCIe wake event" crash: INFO: task hung in hfs_mdb_commit INFO: task kworker/0:4:5088 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:4 state:D stack:26248 pid:5088 ppid:2 flags:0x00004000 Workqueue: events_long flush_mdb Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc51/0x5720 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 io_schedule+0xbe/0x130 kernel/sched/core.c:8887 bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0x11f/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xd9/0x110 kernel/sched/wait_bit.c:117 lock_buffer include/linux/buffer_head.h:400 [inline] hfs_mdb_commit+0xdfb/0x1170 fs/hfs/mdb.c:271 process_one_work+0x865/0x1400 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.0:5453 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23656 pid:5453 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc51/0x5720 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 io_schedule+0xbe/0x130 kernel/sched/core.c:8887 bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0x11f/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xd9/0x110 kernel/sched/wait_bit.c:117 lock_buffer include/linux/buffer_head.h:400 [inline] hfs_mdb_commit+0x8b5/0x1170 fs/hfs/mdb.c:325 hfs_sync_fs+0x9/0x10 fs/hfs/super.c:35 sync_filesystem.part.0+0x63/0x170 fs/sync.c:56 generic_shutdown_super+0x68/0x420 fs/super.c:473 kill_block_super+0x94/0xd0 fs/super.c:1407 deactivate_locked_super+0x7f/0x130 fs/super.c:331 cleanup_mnt+0x253/0x360 fs/namespace.c:1177 task_work_run+0x12f/0x220 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f34ca08d567 RSP: 002b:00007fff4c565258 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f34ca08d567 RDX: 00007fff4c565327 RSI: 000000000000000a RDI: 00007fff4c565320 RBP: 00007fff4c565320 R08: 00000000ffffffff R09: 00007fff4c5650f0 R10: 00005555563e7903 R11: 0000000000000246 R12: 00007f34ca0e6b74 R13: 00007fff4c5663e0 R14: 00005555563e7810 R15: 00007fff4c566420 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8b78a870 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8b78a570 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/27: #0: ffffffff8b78b3c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 2 locks held by getty/4751: #0: ffff88814aaa2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x23/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb73/0x1040 drivers/tty/n_tty.c:2177 2 locks held by kworker/0:4/5088: #0: ffff888011471538 ((wq_completion)events_long){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011471538 ((wq_completion)events_long){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011471538 ((wq_completion)events_long){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011471538 ((wq_completion)events_long){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888011471538 ((wq_completion)events_long){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888011471538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x78a/0x1400 kernel/workqueue.c:2361 #1: ffffc90003b7fdb8 ((work_completion)(&(&sbi->mdb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 1 lock held by syz-executor.0/5453: #0: ffff88801fd140e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x63/0x80 fs/super.c:361 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x64/0xb0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x175/0x200 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1d4/0x210 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x9f9/0xcf0 kernel/hung_task.c:379 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3462 Comm: kworker/u4:6 Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_acquire+0x31/0x5d40 kernel/locking/lockdep.c:4914 Code: cf 41 56 41 89 ce 41 55 41 54 55 89 d5 48 ba 00 00 00 00 00 fc ff df 53 48 89 fb 48 81 ec 10 01 00 00 48 8b 84 24 48 01 00 00 <48> c7 84 24 90 00 00 00 b3 8a b5 41 48 c7 84 24 98 00 00 00 50 e4 RSP: 0018:ffffc9000d1d7780 EFLAGS: 00000082 RAX: 0000000000000000 RBX: ffff888011466078 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888011466078 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005632c3c7b600 CR3: 000000000b56a000 CR4: 0000000000350ef0 Call Trace: lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] __get_locked_pte+0x109/0x210 mm/memory.c:1783 get_locked_pte include/linux/mm.h:2448 [inline] __text_poke+0x1b3/0x8e0 arch/x86/kernel/alternative.c:1584 text_poke arch/x86/kernel/alternative.c:1669 [inline] text_poke_bp_batch+0x14b/0x770 arch/x86/kernel/alternative.c:1967 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_flush arch/x86/kernel/alternative.c:2158 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0x104/0x160 kernel/jump_label.c:235 static_key_disable+0x15/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:808 [inline] toggle_allocation_gate+0x118/0x1e0 mm/kfence/core.c:795 process_one_work+0x865/0x1400 kernel/workqueue.c:2390 worker_thread+0x59c/0xec0 kernel/workqueue.c:2537 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308