ci starts bisection 2023-04-21 20:30:49.618312421 +0000 UTC m=+123644.400972524 bisecting fixing commit since ff83fec8179e392be2f472f0a9ec3da8f6d529c6 building syzkaller on 559a440a347ffd1bf9dc09d734381d7937cd287c ensuring issue is reproducible on original commit ff83fec8179e392be2f472f0a9ec3da8f6d529c6 testing commit ff83fec8179e392be2f472f0a9ec3da8f6d529c6 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c74d2851f171b68feea8b8a320bce40a1e35f7b689c692bdfe2ff0f88317097f all runs: crashed: INFO: task hung in blkdev_put testing current HEAD c337b23f32c87320dffd389e4f0f793db35f0a9b testing commit c337b23f32c87320dffd389e4f0f793db35f0a9b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6790ffb66ca38bb2c96d0fe2b79d1f8af7999edf6ba312f6678239fabc5c9096 all runs: crashed: INFO: task hung in blkdev_put revisions tested: 2, total time: 35m31.754563694s (build: 22m42.679643626s, test: 11m53.796904038s) the crash still happens on HEAD commit msg: Merge tag 'for-6.3-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux crash: INFO: task hung in blkdev_put INFO: task syz-executor.0:5604 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:26488 pid:5604 ppid:5534 flags:0x00004004 Call Trace: __schedule+0x1717/0x45f0 schedule+0xc3/0x180 schedule_preempt_disabled+0x13/0x20 __mutex_lock_common+0xe33/0x2530 mutex_lock_nested+0x1b/0x20 blkdev_put+0xe8/0x5c0 blkdev_close+0x55/0x80 __fput+0x33f/0x720 task_work_run+0x20a/0x290 exit_to_user_mode_loop+0xd9/0x100 exit_to_user_mode_prepare+0xb1/0x140 syscall_exit_to_user_mode+0x64/0x280 do_syscall_64+0x4d/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6b2328c0c9 RSP: 002b:00007f6b240be168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f6b233abf80 RCX: 00007f6b2328c0c9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f6b232e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc38e8610f R14: 00007f6b240be300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf16f50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf17750 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 1 lock held by khungtaskd/28: #0: ffffffff8bf16d80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by klogd/4419: #0: ffff8880b9c3be18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 #1: ffff88807ef909b0 (&mm->cid_lock){....}-{2:2}, at: __schedule+0x12c0/0x45f0 2 locks held by getty/4739: #0: ffff88802af6c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x60 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ed/0x1880 1 lock held by udevd/5529: #0: ffff8881468ce4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0 1 lock held by syz-executor.0/5604: #0: ffff8881468ce4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xe8/0x5c0 1 lock held by syz-executor.0/6213: #0: ffff8881468ce4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0 1 lock held by syz-executor.0/6230: #0: ffff8881468ce4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call Trace: dump_stack_lvl+0x167/0x220 nmi_cpu_backtrace+0x34f/0x380 nmi_trigger_cpumask_backtrace+0x103/0x1f0 watchdog+0xa7c/0xac0 kthread+0x232/0x2b0 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x20/0x30