INFO: task syz-executor.4:18768 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28456 pid:18768 ppid:5126 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 nbd_start_device_ioctl drivers/block/nbd.c:1421 [inline] __nbd_ioctl drivers/block/nbd.c:1482 [inline] nbd_ioctl+0x315/0xcf0 drivers/block/nbd.c:1522 blkdev_ioctl+0x372/0x800 block/ioctl.c:615 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc1d08c169 RSP: 002b:00007efc1ddc1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007efc1d1abf80 RCX: 00007efc1d08c169 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006 RBP: 00007efc1d0e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe39a44acf R14: 00007efc1ddc1300 R15: 0000000000022000 INFO: task syz-executor.4:18772 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29528 pid:18772 ppid:5126 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 blk_mq_freeze_queue_wait+0x116/0x160 block/blk-mq.c:180 nbd_add_socket+0x168/0x960 drivers/block/nbd.c:1122 __nbd_ioctl drivers/block/nbd.c:1465 [inline] nbd_ioctl+0x820/0xcf0 drivers/block/nbd.c:1522 blkdev_ioctl+0x372/0x800 block/ioctl.c:615 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc1d08c169 RSP: 002b:00007efc1dda0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007efc1d1ac050 RCX: 00007efc1d08c169 RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003 RBP: 00007efc1d0e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe39a44acf R14: 00007efc1dda0300 R15: 0000000000022000 INFO: task syz-executor.4:18774 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27856 pid:18774 ppid:5126 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 blkdev_get_by_dev+0x6f/0x90 block/bdev.c:778 blkdev_open+0x140/0x2c0 block/fops.c:493 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3715 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc1d03e2f4 RSP: 002b:00007efc1dd7eca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007efc1d03e2f4 RDX: 0000000000000000 RSI: 00007efc1dd7ed40 RDI: 00000000ffffff9c RBP: 00007efc1dd7ed40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffe39a44acf R14: 00007efc1dd7f300 R15: 0000000000022000 INFO: task syz-executor.4:18776 blocked for more than 144 seconds. Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28456 pid:18776 ppid:5126 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 blkdev_get_by_dev+0x6f/0x90 block/bdev.c:778 blkdev_open+0x140/0x2c0 block/fops.c:493 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3715 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc1d03e2f4 RSP: 002b:00007efc1dd5dca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007efc1d03e2f4 RDX: 0000000000000000 RSI: 00007efc1dd5dd40 RDI: 00000000ffffff9c RBP: 00007efc1dd5dd40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffe39a44acf R14: 00007efc1dd5e300 R15: 0000000000022000 INFO: task syz-executor.4:18782 blocked for more than 144 seconds. Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28456 pid:18782 ppid:5126 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 blkdev_get_by_dev+0x6f/0x90 block/bdev.c:778 blkdev_open+0x140/0x2c0 block/fops.c:493 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3715 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc1d03e2f4 RSP: 002b:00007efc1dd3cca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007efc1d03e2f4 RDX: 0000000000000000 RSI: 00007efc1dd3cd40 RDI: 00000000ffffff9c RBP: 00007efc1dd3cd40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffe39a44acf R14: 00007efc1dd3d300 R15: 0000000000022000 INFO: task syz-executor.4:18783 blocked for more than 144 seconds. Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28264 pid:18783 ppid:5126 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 blkdev_get_by_dev+0x6f/0x90 block/bdev.c:778 blkdev_open+0x140/0x2c0 block/fops.c:493 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3560 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3715 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc1d03e2f4 RSP: 002b:00007efc1dd1bca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007efc1d03e2f4 RDX: 0000000000000000 RSI: 00007efc1dd1bd40 RDI: 00000000ffffff9c RBP: 00007efc1dd1bd40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffe39a44acf R14: 00007efc1dd1c300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c794a70 (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: ffffffff8c794770 (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/28: #0: ffffffff8c7955c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 2 locks held by getty/4746: #0: ffff888027b59098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 1 lock held by udevd/5133: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 2 locks held by kworker/u4:18/7818: #0: ffff8880b983c298 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:976 1 lock held by syz-executor.4/18768: #0: ffff88801e9fd998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_start_device_ioctl drivers/block/nbd.c:1421 [inline] #0: ffff88801e9fd998 (&nbd->config_lock){+.+.}-{3:3}, at: __nbd_ioctl drivers/block/nbd.c:1482 [inline] #0: ffff88801e9fd998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x315/0xcf0 drivers/block/nbd.c:1522 1 lock held by syz-executor.4/18772: #0: ffff88801e9fd998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x156/0xcf0 drivers/block/nbd.c:1515 1 lock held by syz-executor.4/18774: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 1 lock held by syz-executor.4/18776: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 1 lock held by syz-executor.4/18782: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 1 lock held by syz-executor.4/18783: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 1 lock held by syz-executor.4/18926: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 1 lock held by syz-executor.4/18928: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 1 lock held by syz-executor.4/19017: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 1 lock held by syz-executor.4/19018: #0: ffff88801ebc34c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 33 Comm: kworker/u4:2 Not tainted 6.3.0-rc7-syzkaller-00139-gb7bc77e2f2c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: phy18 ieee80211_iface_work RIP: 0010:add_ptr_to_bulk_krc_lock kernel/rcu/tree.c:3283 [inline] RIP: 0010:kvfree_call_rcu+0x20f/0xad0 kernel/rcu/tree.c:3328 Code: 03 80 3c 16 00 0f 85 5a 06 00 00 48 89 2c c1 f0 83 44 24 fc 00 48 8b 2d 8f 99 0c 0b 48 83 c5 07 48 83 e5 fc f0 83 44 24 fc 00 <48> 8d 79 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 RSP: 0018:ffffc90000aa74f0 EFLAGS: 00000086 RAX: 000000000000003d RBX: 0000000000000000 RCX: ffff888018e2f000 RDX: dffffc0000000000 RSI: 1ffff110031c5e3d RDI: ffff888018e2f1e8 RBP: 00000000000466e8 R08: 0000000000000007 R09: 00001ffffffffffe R10: ffff888018e2f018 R11: 0000000000000000 R12: 000000000000003a R13: ffff8880b9929460 R14: 0000000000000286 R15: ffff8880b9929300 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000d0a000 CR3: 000000002a0ec000 CR4: 0000000000350ee0 Call Trace: cfg80211_update_known_bss+0x81e/0xa70 net/wireless/scan.c:1681 cfg80211_bss_update+0xf3/0x21f0 net/wireless/scan.c:1728 cfg80211_inform_single_bss_frame_data+0x72c/0x1020 net/wireless/scan.c:2492 cfg80211_inform_bss_frame_data+0xc3/0xca0 net/wireless/scan.c:2525 ieee80211_bss_info_update+0x35c/0xb50 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x19c9/0x3030 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1637 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308