INFO: task syz-executor.3:29961 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26168 pid:29961 tgid:29959 ppid:17680 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1781/0x49d0 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bdev_release+0x1cb/0xa20 block/bdev.c:1028 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x429/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:108 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x168/0x360 kernel/entry/common.c:212 do_syscall_64+0x10a/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f370bc7dda9 RSP: 002b:00007f370c9270c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f370bdabf80 RCX: 00007f370bc7dda9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f370bcca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f370bdabf80 R15: 00007ffedfe8b038 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u8:5/135: 3 locks held by kworker/0:2/929: 2 locks held by getty/4810: #0: ffff88802a7250a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/u8:9/8805: 1 lock held by syz-executor.3/29961: #0: ffff88801fd994c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x1cb/0xa20 block/bdev.c:1028 1 lock held by udevd/29969: #0: ffff88801fd994c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862 1 lock held by udevd/30031: #0: ffff88801fd844c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862 1 lock held by syz-executor.2/30053: #0: ffff88801fd844c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x1cb/0xa20 block/bdev.c:1028 1 lock held by udevd/30117: #0: ffff88801fd9e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862 1 lock held by syz-executor.4/30138: #0: ffff88801fd9e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x1cb/0xa20 block/bdev.c:1028 1 lock held by syz-executor.3/30193: #0: ffff88801fd994c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862 1 lock held by syz-executor.2/30227: #0: ffff88801fd844c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862 1 lock held by syz-executor.3/30334: #0: ffff88801fd994c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862 2 locks held by syz-executor.4/30485: #0: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 #1: ffffffff8e1373b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #1: ffffffff8e1373b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939 7 locks held by syz-executor.3/30515: #0: ffff88802f4d6420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2853 [inline] #0: ffff88802f4d6420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #1: ffff888063fa3088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022b98008 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8ecb4e88 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88805db490e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff88805db490e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88805db490e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1292 #5: ffff88805db4a250 (&devlink->lock_key#30){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x40/0x260 drivers/net/netdevsim/netdev.c:451 1 lock held by syz-executor.2/30539: #0: ffff88801fd844c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862 1 lock held by syz-executor.2/30542: #0: ffff88801fd844c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfb0/0xff0 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 50 Comm: kworker/u8:3 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:debug_check_no_locks_freed+0x1ad/0x4a0 kernel/locking/lockdep.c:6564 Code: 48 89 df e8 75 07 83 00 48 ba 00 00 00 00 00 fc ff df 48 8b 03 48 39 44 24 10 76 0b 48 83 c0 28 48 3b 44 24 08 77 53 41 ff c7 <41> 0f b6 44 15 00 84 c0 75 07 45 3b 3e 7c a3 eb 76 44 89 f1 80 e1 RSP: 0018:ffffc90000ba6d40 EFLAGS: 00000003 RAX: ffffc90000ba7d00 RBX: ffff88801aeee510 RCX: ffffea0000000000 RDX: dffffc0000000000 RSI: 0000000000000400 RDI: ffff88807ff7b800 RBP: ffffc90000ba6e28 R08: 0000000000000000 R09: 1ffff11003d85a1a R10: dffffc0000000000 R11: ffffed1003d85a1b R12: 0000000000000005 R13: 1ffff110035ddc9a R14: ffff88801aeee4d0 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557804ed5131 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: slab_free_hook mm/slub.c:2075 [inline] slab_free mm/slub.c:4280 [inline] kfree+0xfb/0x380 mm/slub.c:4390 ieee80211_inform_bss+0xbb2/0x1080 net/mac80211/scan.c:160 rdev_inform_bss net/wireless/rdev-ops.h:418 [inline] cfg80211_inform_single_bss_data+0xfe9/0x2250 net/wireless/scan.c:2268 cfg80211_inform_bss_data+0x3e3/0x57d0 net/wireless/scan.c:3067 cfg80211_inform_bss_frame_data+0x3ac/0x700 net/wireless/scan.c:3157 ieee80211_bss_info_update+0x8a5/0xbc0 net/mac80211/scan.c:226 ieee80211_rx_bss_info net/mac80211/ibss.c:1099 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1578 [inline] ieee80211_ibss_rx_queued_mgmt+0x1952/0x2d50 net/mac80211/ibss.c:1605 ieee80211_iface_process_skb net/mac80211/iface.c:1605 [inline] ieee80211_iface_work+0x8a3/0xf10 net/mac80211/iface.c:1659 cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:437 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243