ci starts bisection 2023-02-20 09:41:42.278517415 +0000 UTC m=+145738.651572047 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: b37a5d8d747d619b7a88e2cdae50a3210fe6ddb0f36e94006c9f830105dc0f9d all runs: crashed: INFO: task hung in blkdev_put testing current HEAD c9c3395d5e3dcc6daee66c6908354d47bf98cb0c testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 19bfa4bba8f13af0526cc10e4290703c4d9379e34ada154642a2d93b8fa3d019 all runs: crashed: INFO: task hung in blkdev_put revisions tested: 2, total time: 1h0m56.307037256s (build: 48m17.221239453s, test: 11m45.618439609s) the crash still happens on HEAD commit msg: Linux 6.2 crash: INFO: task hung in blkdev_put INFO: task syz-executor.0:5740 blocked for more than 143 seconds. Not tainted 6.2.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27112 pid:5740 ppid:5524 flags:0x00004006 Call Trace: __schedule+0x13e2/0x43b0 schedule+0xc3/0x190 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 get_signal+0x1144/0x12e0 arch_do_signal_or_restart+0x91/0x670 exit_to_user_mode_loop+0x6a/0x100 exit_to_user_mode_prepare+0xb1/0x140 syscall_exit_to_user_mode+0x64/0x2e0 do_syscall_64+0x4d/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f55b148c0c9 RSP: 002b:00007f55b21b3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f55b15abf80 RCX: 00007f55b148c0c9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f55b14e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff22a0c2ff R14: 00007f55b21b3300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf17bb0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf183b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 1 lock held by khungtaskd/28: #0: ffffffff8bf179e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4734: #0: ffff8880266f4098 (&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/5523: #0: ffff8881469544c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0 1 lock held by syz-executor.0/5740: #0: ffff8881469544c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xe8/0x5c0 1 lock held by syz-executor.0/6207: #0: ffff8881469544c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0 1 lock held by syz-executor.0/6225: #0: ffff8881469544c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: dump_stack_lvl+0x167/0x220 nmi_cpu_backtrace+0x381/0x3f0 nmi_trigger_cpumask_backtrace+0x138/0x310 watchdog+0xb32/0xb70 kthread+0x232/0x2b0 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 929 Comm: kworker/u4:3 Not tainted 6.2.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: phy7 ieee80211_iface_work RIP: 0010:rcu_lockdep_current_cpu_online+0xbf/0x120 Code: 18 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 b4 b5 5a 00 48 8b 1b 48 83 c3 70 48 89 d8 48 c1 e8 03 42 80 3c 30 00 <74> 08 48 89 df e8 97 b5 5a 00 4c 23 3b 75 1a 48 c7 c7 40 d1 f1 8b RSP: 0018:ffffc90004486ca0 EFLAGS: 00000046 RAX: 1ffffffff17e3916 RBX: ffffffff8bf1c8b0 RCX: 0000000080000203 RDX: 0000000000000000 RSI: ffffffff8a381520 RDI: ffff8880b9d3c020 RBP: ffffc90004486d50 R08: dffffc0000000000 R09: fffffbfff1a785c6 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000890db4 R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a54a55c680 CR3: 000000000bc8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_sched_held+0x78/0x130 lock_acquire+0x12a/0x630 _raw_spin_lock_irqsave+0xd5/0x120 __debug_object_init+0xdd/0x1880 debug_object_activate+0x17b/0x6d0 kvfree_call_rcu+0xb8/0x8d0 cfg80211_update_known_bss+0x133/0x910 cfg80211_bss_update+0x13c/0x1a50 cfg80211_inform_bss_frame_data+0xae6/0x20f0 ieee80211_bss_info_update+0x5ff/0xd40 ieee80211_ibss_rx_queued_mgmt+0x1250/0x2700 ieee80211_iface_work+0x596/0x9c0 process_one_work+0x7e5/0x1000 worker_thread+0x8c9/0xfd0 kthread+0x232/0x2b0 ret_from_fork+0x1f/0x30