INFO: task syz.3.1878:13024 blocked for more than 143 seconds. Not tainted 6.11.0-rc7-syzkaller-00112-gf299cd11f753 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.1878 state:D stack:28992 pid:13024 tgid:13021 ppid:5329 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xcda/0x2f80 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 yurex_write+0x17f/0x930 drivers/usb/misc/yurex.c:448 vfs_write+0x29a/0x1140 fs/read_write.c:588 ksys_write+0x12f/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe0177cdef9 RSP: 002b:00007fe0163ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fe017986130 RCX: 00007fe0177cdef9 RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000009 RBP: 00007fe0178409f6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fe017986130 R15: 00007fff7bdc77a8 Showing all locks held in the system: 5 locks held by kworker/0:0/8: #0: ffff888105ebad48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc9000008fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff88810a339190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff88810a339190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff88811ad41190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88811ad41190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 #4: ffff88811daaa160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88811daaa160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 1 lock held by khungtaskd/30: #0: ffffffff88ebb660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff88ebb660 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff88ebb660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626 2 locks held by getty/2605: #0: ffff888113c720a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211 6 locks held by kworker/0:3/4927: #0: ffff888105ebad48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90004387d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff888109fa7190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888109fa7190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff88811ad40190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88811ad40190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 #4: ffff88811daa9160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88811daa9160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004 #5: ffff88812814b690 (&priv->usb_buf_mutex){+.+.}-{3:3}, at: rtl8xxxu_read32+0xb2/0x1f0 drivers/net/wireless/realtek/rtl8xxxu/core.c:669 5 locks held by kworker/1:4/4930: 5 locks held by kworker/0:7/7908: #0: ffff888105ebad48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc9000221fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffff88810a711190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff88810a711190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff888111d13190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff888111d13190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88810bf34160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88810bf34160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff88810bf34160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 4 locks held by udevd/7961: #0: ffff8881150b7e80 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff888109f6b888 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff8881189c51e8 (kn->active#18){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811ad41190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:1014 [inline] #3: ffff88811ad41190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 4 locks held by udevd/7962: #0: ffff88812bb6f540 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffffffff88ee6e88 (tk_core.seq.seqcount){----}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #1: ffffffff88ee6e88 (tk_core.seq.seqcount){----}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #1: ffffffff88ee6e88 (tk_core.seq.seqcount){----}-{0:0}, at: avc_has_perm_noaudit+0x61/0x3a0 security/selinux/avc.c:1157 #2: ffff88811a836e88 (&sb->s_type->i_mutex_key#12/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:835 [inline] #2: ffff88811a836e88 (&sb->s_type->i_mutex_key#12/4){+.+.}-{3:3}, at: lock_two_nondirectories+0xed/0x200 fs/inode.c:1172 #3: ffffffff934e7ee0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x199/0x540 lib/debugobjects.c:709 1 lock held by syz.3.1878/13023: #0: ffff888108bd04b0 (&dev->io_mutex){+.+.}-{3:3}, at: yurex_write+0x17f/0x930 drivers/usb/misc/yurex.c:448 1 lock held by syz.3.1878/13024: #0: ffff888108bd04b0 (&dev->io_mutex){+.+.}-{3:3}, at: yurex_write+0x17f/0x930 drivers/usb/misc/yurex.c:448 1 lock held by syz.2.2164/14458: #0: ffffffff88ec6df8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 1 lock held by syz.0.2167/14455: #0: ffffffff88ec6df8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc7-syzkaller-00112-gf299cd11f753 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 14434 Comm: syz.3.2161 Not tainted 6.11.0-rc7-syzkaller-00112-gf299cd11f753 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:check_preemption_disabled+0x3/0xe0 lib/smp_processor_id.c:13 Code: 65 8b 05 cc b7 1c 79 85 c0 74 04 90 0f 0b 90 e9 53 fc ff ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 54 55 <53> 48 83 ec 08 65 8b 1d ad f4 1d 79 65 8b 05 a2 f4 1d 79 a9 ff ff RSP: 0018:ffffc900042e7800 EFLAGS: 00000086 RAX: 0000000000000001 RBX: ffff888118c69d40 RCX: 1ffffffff1f4ccc1 RDX: 0000000000000001 RSI: ffffffff8727fcc0 RDI: ffffffff87469a40 RBP: bdcaca29be7cdc7e R08: 0000000000000000 R09: fffffbfff1f4a3e2 R10: ffffffff8fa51f17 R11: 0000000000000000 R12: ffffffff934df418 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88811a52b460 FS: 0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c381b9b CR3: 0000000121fb6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline] lockdep_hardirqs_on_prepare+0x17d/0x420 kernel/locking/lockdep.c:4359 trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x328/0x600 lib/debugobjects.c:1020 slab_free_hook mm/slub.c:2223 [inline] slab_free mm/slub.c:4477 [inline] kmem_cache_free+0x250/0x380 mm/slub.c:4552 remove_vma+0x12b/0x180 mm/mmap.c:187 exit_mmap+0x4d4/0xb20 mm/mmap.c:3436 __mmput kernel/fork.c:1345 [inline] mmput+0xdb/0x3e0 kernel/fork.c:1367 exit_mm kernel/exit.c:571 [inline] do_exit+0x9bf/0x2b30 kernel/exit.c:869 do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x25fb/0x2770 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f299739def9 Code: Unable to access opcode bytes at 0x7f299739decf. RSP: 002b:00007ffcb1aaf038 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 00007ffcb1aaf160 RCX: 00007f299739def9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2997555f8c RBP: 00007f2997555f8c R08: 00007f299721a080 R09: 00007ffcb1aaf32f R10: 00007ffcb1aaf140 R11: 0000000000000246 R12: 000000000010a2e0 R13: 00007ffcb1aaf140 R14: 0000000000000bea R15: 00000000001096f6