INFO: task syz-executor.5:7169 blocked for more than 143 seconds. Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27336 pid:7169 ppid:5104 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813 disk_scan_partitions+0x1ab/0x250 block/genhd.c:374 blkdev_common_ioctl+0x153e/0x21c0 block/ioctl.c:531 blkdev_ioctl+0x30d/0x7c0 block/ioctl.c:610 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc70e08c0a9 RSP: 002b:00007fc70ee5a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc70e1abf80 RCX: 00007fc70e08c0a9 RDX: 0000000000000000 RSI: 000000000000125f RDI: 0000000000000003 RBP: 00007fc70e0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec186ca6f R14: 00007fc70ee5a300 R15: 0000000000022000 INFO: task syz-executor.5:7172 blocked for more than 143 seconds. Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27992 pid:7172 ppid:5104 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 blkdev_put+0x100/0x730 block/bdev.c:911 blkdev_close+0x55/0x80 block/fops.c:492 __fput+0x3ba/0x880 fs/file_table.c:320 task_work_run+0x243/0x300 kernel/task_work.c:179 get_signal+0x1654/0x1820 kernel/signal.c:2635 arch_do_signal_or_restart+0x8d/0x5f0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc70e08c0a9 RSP: 002b:00007fc70ee39168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fc70e1ac050 RCX: 00007fc70e08c0a9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006 RBP: 00007fc70e0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec186ca6f R14: 00007fc70ee39300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d5239d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d5241d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d523800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:3/46: #0: ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9827748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x682/0xa30 kernel/sched/psi.c:976 #2: ffff88807d110d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1114 [inline] #2: ffff88807d110d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa0/0x1510 net/mac80211/ibss.c:1680 1 lock held by udevd/4421: 2 locks held by getty/4740: #0: ffff88814a26d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 1 lock held by udevd/5320: #0: ffff88801f5014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813 1 lock held by syz-executor.5/7169: #0: ffff88801f5014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813 1 lock held by syz-executor.5/7172: #0: ffff88801f5014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x730 block/bdev.c:911 1 lock held by syz-executor.5/7295: #0: ffff88801f5014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813 1 lock held by syz-executor.5/7296: #0: ffff88801f5014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813 1 lock held by syz-executor.5/7358: #0: ffff88801f5014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813 1 lock held by syz-executor.5/7359: #0: ffff88801f5014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813 1 lock held by syz-executor.5/7360: #0: ffff88801f5014c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 33 Comm: kworker/u4:2 Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy9 ieee80211_iface_work RIP: 0010:__lock_acquire+0xa6/0x1f60 kernel/locking/lockdep.c:4929 Code: 00 00 00 00 fc ff df 48 c7 c0 80 f0 82 90 49 39 45 00 75 03 45 31 e4 89 6c 24 44 44 89 74 24 60 44 89 7c 24 28 83 fb 01 77 2f <89> d8 49 8d 6c c5 08 48 89 e8 48 c1 e8 03 80 3c 10 00 74 12 48 89 RSP: 0018:ffffc90000a9f4c8 EFLAGS: 00000097 RAX: ffffffff9082f080 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff923ac250 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1d603fe R11: 1ffffffff1d603fd R12: 0000000000000001 R13: ffffffff923ac250 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c035a3a050 CR3: 000000001c7cf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:984 [inline] debug_check_no_obj_freed+0xc5/0x680 lib/debugobjects.c:1027 slab_free_hook mm/slub.c:1756 [inline] slab_free_freelist_hook+0xcf/0x1a0 mm/slub.c:1807 slab_free mm/slub.c:3787 [inline] __kmem_cache_free+0x71/0x110 mm/slub.c:3800 ieee80211_ibss_rx_queued_mgmt+0x1bbf/0x2d00 ieee80211_iface_process_skb net/mac80211/iface.c:1581 [inline] ieee80211_iface_work+0x773/0xcf0 net/mac80211/iface.c:1635 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308