ci starts bisection 2023-03-22 13:03:33.17872632 +0000 UTC m=+10742.793094132 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: 76426f498d8018ec30bfe230092f98e4b592b018f0bea12762fc88f159fca79b all runs: crashed: INFO: task hung in blkdev_put testing current HEAD a1effab7a3a35a837dd9d2b974a1bc4939df1ad5 testing commit a1effab7a3a35a837dd9d2b974a1bc4939df1ad5 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 28890afa2776939738304df2cc7239be02871941e4b0e2e82572029bdcbb457c all runs: crashed: INFO: task hung in blkdev_put revisions tested: 2, total time: 30m47.606983788s (build: 17m23.624495357s, test: 12m18.506857204s) the crash still happens on HEAD commit msg: Merge tag 'vfio-v6.3-rc4' of https://github.com/awilliam/linux-vfio crash: INFO: task hung in blkdev_put INFO: task syz-executor.0:5709 blocked for more than 143 seconds. Not tainted 6.3.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25688 pid:5709 ppid:5477 flags:0x00004006 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 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/0x280 do_syscall_64+0x4d/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbbb388c0c9 RSP: 002b:00007fbbb4680168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fbbb39abf80 RCX: 00007fbbb388c0c9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fbbb38e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3f4647df R14: 00007fbbb4680300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf16f90 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf17790 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 1 lock held by khungtaskd/28: #0: ffffffff8bf16dc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4739: #0: ffff888026d9c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x60 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ed/0x1880 1 lock held by udevd/5471: #0: ffff88801d23a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0 1 lock held by syz-executor.0/5709: #0: ffff88801d23a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xe8/0x5c0 1 lock held by syz-executor.0/6167: #0: ffff88801d23a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0 1 lock held by syz-executor.0/6185: #0: ffff88801d23a4c8 (&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.3.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 46 Comm: kworker/u4:3 Not tainted 6.3.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: phy5 ieee80211_iface_work RIP: 0010:__stack_depot_save+0x145/0x650 Code: c0 0e 29 c5 41 31 ee c1 c5 18 41 29 ee eb 06 44 89 ee 44 89 e7 48 8b 2d f1 1a b4 0c 8b 1d e7 1a b4 0c 44 21 f3 4c 8b 64 dd 00 <45> 89 c5 eb 04 4d 8b 24 24 4d 85 e4 74 2c 45 39 74 24 08 75 f0 45 RSP: 0018:ffffc90000b77118 EFLAGS: 00000206 RAX: 000000007008757b RBX: 00000000000e9ebb RCX: 00000000676c0a96 RDX: ffffc90000b771c4 RSI: 0000000000000001 RDI: 0000000000000920 RBP: ffff88823b400000 R08: 000000000000000b R09: ffffc90000b770d0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801c4cfb80 R13: 0000000000000001 R14: 000000001d5e9ebb R15: ffffc90000b77170 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f41f7ce76c8 CR3: 000000000bd26000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_set_track+0x61/0x70 __kasan_kmalloc+0x98/0xb0 __kmalloc+0xb9/0x230 cfg80211_inform_bss_frame_data+0x44f/0x2020 ieee80211_bss_info_update+0x5f0/0xcc0 ieee80211_ibss_rx_queued_mgmt+0x11ac/0x25d0 ieee80211_iface_work+0x596/0x9c0 process_one_work+0x797/0xe20 worker_thread+0x8c9/0xfd0 kthread+0x232/0x2b0 ret_from_fork+0x1f/0x30