INFO: task syz.3.90:5531 blocked for more than 143 seconds. Not tainted 6.16.0-rc7-syzkaller-gfcb476990beb #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.90 state:D stack:27736 pid:5531 tgid:5521 ppid:2955 task_flags:0x40044c flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5397 [inline] __schedule+0x1325/0x3b10 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6879 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6936 rwsem_down_write_slowpath+0x524/0x1310 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d6/0x200 kernel/locking/rwsem.c:1578 kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1712 sysfs_remove_file include/linux/sysfs.h:777 [inline] driver_remove_file drivers/base/driver.c:201 [inline] driver_remove_file+0x4a/0x60 drivers/base/driver.c:197 remove_bind_files drivers/base/bus.c:605 [inline] bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:743 driver_unregister+0x76/0xb0 drivers/base/driver.c:277 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732 raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x402/0xb70 fs/file_table.c:465 task_work_run+0x150/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x86c/0x2bd0 kernel/exit.c:964 do_group_exit+0xd3/0x2a0 kernel/exit.c:1105 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x7c/0xe0 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x3e9/0x4b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff724a3e9a9 RSP: 002b:00007ff7230860e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007ff724c66088 RCX: 00007ff724a3e9a9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff724c66088 RBP: 00007ff724c66080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff724c6608c R13: 0000000000000000 R14: 00007ffe1f0d05c0 R15: 00007ffe1f0d06a8 INFO: task syz.0.91:5537 blocked for more than 143 seconds. Not tainted 6.16.0-rc7-syzkaller-gfcb476990beb #0 Blocked by coredump. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.91 state:D stack:27736 pid:5537 tgid:5523 ppid:2951 task_flags:0x40044c flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5397 [inline] __schedule+0x1325/0x3b10 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6879 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6936 rwsem_down_write_slowpath+0x524/0x1310 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d6/0x200 kernel/locking/rwsem.c:1578 kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1712 sysfs_remove_file include/linux/sysfs.h:777 [inline] driver_remove_file drivers/base/driver.c:201 [inline] driver_remove_file+0x4a/0x60 drivers/base/driver.c:197 remove_bind_files drivers/base/bus.c:605 [inline] bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:743 driver_unregister+0x76/0xb0 drivers/base/driver.c:277 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732 raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x402/0xb70 fs/file_table.c:465 task_work_run+0x150/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x86c/0x2bd0 kernel/exit.c:964 do_group_exit+0xd3/0x2a0 kernel/exit.c:1105 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x7c/0xe0 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x3e9/0x4b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdf08bbe5ab RSP: 002b:00007fdf07203f60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007fdf08bbe5ab RDX: 00007fdf07204ff0 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 00007fdf08c40d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00002000000001c0 R14: 00007fdf08de6080 R15: 00007ffce08a1728 Showing all locks held in the system: 4 locks held by kworker/0:0/9: 5 locks held by kworker/u8:0/12: #0: ffff888100ac3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc900000cfd10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffffffff8a3c0d90 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xad/0x890 net/core/net_namespace.c:662 #3: ffffffff8a3d6d28 (rtnl_mutex){+.+.}-{4:4}, at: ops_exit_rtnl_list net/core/net_namespace.c:174 [inline] #3: ffffffff8a3d6d28 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x7e9/0xab0 net/core/net_namespace.c:249 #4: ffffffff890d3a38 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x284/0x3c0 kernel/rcu/tree_exp.h:304 1 lock held by khungtaskd/30: #0: ffffffff890c8440 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff890c8440 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff890c8440 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6770 4 locks held by kworker/1:1/38: #0: ffff888100080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90000287d10 (kernfs_notify_work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff888100ac4ab8 (&root->kernfs_supers_rwsem){++++}-{4:4}, at: kernfs_notify_workfn+0xf7/0xb30 fs/kernfs/file.c:914 #3: ffff888100ac4988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_notify_workfn+0xff/0xb30 fs/kernfs/file.c:915 5 locks held by kworker/1:2/1118: 1 lock held by udevd/2843: #0: ffff888100ac4988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180 2 locks held by getty/2905: #0: ffff8881152680a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/2955: 4 locks held by udevd/5203: #0: ffff888132863c30 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xe1/0x12c0 fs/seq_file.c:182 #1: ffff888138582c88 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88813296a4b8 (kn->active#18){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888138949198 (&dev->mutex){....}-{4:4}, at: device_lock_interruptible include/linux/device.h:889 [inline] #3: ffff888138949198 (&dev->mutex){....}-{4:4}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 6 locks held by kworker/0:3/5224: 5 locks held by kworker/1:3/5230: #0: ffff888106aef148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc900021ffd10 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff88810b38a198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #2: ffff88810b38a198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x5060 drivers/usb/core/hub.c:5898 #3: ffff88811d59b198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #3: ffff88811d59b198 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x10a/0x9c0 drivers/usb/core/hub.c:2335 #4: ffff888100ac4988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_find_and_get_ns+0x2f/0x70 fs/kernfs/dir.c:933 1 lock held by udevd/5235: #0: ffff888100ac4988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180 1 lock held by udevd/5246: #0: ffff888100ac4988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180 3 locks held by kworker/0:5/5268: 1 lock held by udevd/5383: #0: ffff888100ac4988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180 1 lock held by syz.1.94/5542: 5 locks held by syz-executor/5547: 1 lock held by syz-executor/5550: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.16.0-rc7-syzkaller-gfcb476990beb #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 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:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xf70/0x12c0 kernel/hung_task.c:470 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x5b3/0x6c0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: imon 4-1:155.0: imon usb_rx_callback_intf0: status(-71): ignored NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5547 Comm: syz-executor Not tainted 6.16.0-rc7-syzkaller-gfcb476990beb #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:io_serial_out+0x8f/0xb0 drivers/tty/serial/8250/8250_port.c:416 Code: 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 1c 66 03 5d 40 44 89 e8 89 da ee <5b> 5d 41 5c 41 5d e9 46 87 5c 04 e8 c1 1e 05 ff eb a0 e8 4a 1f 05 RSP: 0018:ffffc900000074e0 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 00000000000003f9 RCX: 0000000000000000 RDX: 00000000000003f9 RSI: ffffffff82d57865 RDI: ffffffff9392af80 RBP: ffffffff9392af40 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff9392af40 R15: ffffffff9392b200 FS: 0000555587823500(0000) GS:ffff888269160000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f34a4572000 CR3: 00000001239c6000 CR4: 00000000003506f0 Call Trace: serial_out drivers/tty/serial/8250/8250.h:142 [inline] serial8250_clear_IER+0x9b/0xc0 drivers/tty/serial/8250/8250_port.c:713 serial8250_console_write+0x255/0x1890 drivers/tty/serial/8250/8250_port.c:3421 console_emit_next_record kernel/printk/printk.c:3138 [inline] console_flush_all+0x801/0xc60 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xd8/0x210 kernel/printk/printk.c:3325 vprintk_emit+0x418/0x6d0 kernel/printk/printk.c:2450 dev_vprintk_emit drivers/base/core.c:4917 [inline] dev_printk_emit+0xfa/0x140 drivers/base/core.c:4928 __dev_printk+0xf5/0x270 drivers/base/core.c:4940 _dev_warn+0xe4/0x120 drivers/base/core.c:4984 usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1768 __usb_hcd_giveback_urb+0x38d/0x6e0 drivers/usb/core/hcd.c:1663 usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1747 dummy_timer+0x1814/0x3a30 drivers/usb/gadget/udc/dummy_hcd.c:1995 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x1ff/0xad0 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842 handle_softirqs+0x208/0x8d0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x62/0x350 kernel/locking/lockdep.c:5875 Code: 84 11 0b 83 f8 07 0f 87 bc 02 00 00 89 c0 48 0f a3 05 72 7e 20 09 0f 82 74 02 00 00 8b 35 9a 8c 20 09 85 f6 0f 85 8d 00 00 00 <48> 8b 44 24 30 65 48 2b 05 89 84 11 0b 0f 85 c7 02 00 00 48 83 c4 RSP: 0018:ffffc900017974c0 EFLAGS: 00000206 RAX: 0000000000000046 RBX: ffffffff890c8440 RCX: 00000000ef9d33e4 RDX: 0000000000000000 RSI: ffffffff88ae59f8 RDI: ffffffff87690bc0 RBP: 0000000000000002 R08: 0ac0d5affe09d4ff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] class_rcu_constructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0xd1/0x20a0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 save_stack+0x160/0x1f0 mm/page_owner.c:156 __set_page_owner+0x91/0x550 mm/page_owner.c:329 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0xf98/0x2ce0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x259/0x21e0 mm/page_alloc.c:4959 alloc_pages_mpol+0xe4/0x410 mm/mempolicy.c:2419 alloc_frozen_pages_noprof mm/mempolicy.c:2490 [inline] alloc_pages_noprof+0x131/0x390 mm/mempolicy.c:2510 vm_area_alloc_pages mm/vmalloc.c:3642 [inline] __vmalloc_area_node mm/vmalloc.c:3720 [inline] __vmalloc_node_range_noprof+0x72f/0x14b0 mm/vmalloc.c:3893 vmalloc_user_noprof+0x9e/0xe0 mm/vmalloc.c:4046 kcov_ioctl+0x4c/0x730 kernel/kcov.c:716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbf1ddee5ab Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007fffc4be3370 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000080000 RCX: 00007fbf1ddee5ab RDX: 0000000000080000 RSI: ffffffff80086301 RDI: 00000000000000d8 RBP: 00007fbf1e016038 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000