INFO: task syz-executor:2646 blocked for more than 143 seconds. Not tainted 6.11.0-rc1-syzkaller-00033-g25f51b76f90f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:24240 pid:2646 tgid:2646 ppid:1 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 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 d_revalidate fs/namei.c:868 [inline] d_revalidate fs/namei.c:865 [inline] lookup_fast+0x239/0x540 fs/namei.c:1679 walk_component+0x5b/0x5b0 fs/namei.c:2035 link_path_walk.part.0.constprop.0+0x669/0xd40 fs/namei.c:2404 link_path_walk fs/namei.c:2336 [inline] path_openat+0x238/0x2d20 fs/namei.c:3882 do_filp_open+0x1dc/0x430 fs/namei.c:3913 do_sys_openat2+0x17a/0x1e0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1442 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:0x7f3d8c2492f1 RSP: 002b:00007fff3da7f7f0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000001fa RCX: 00007f3d8c2492f1 RDX: 0000000000090800 RSI: 00007f3d8c2b7e04 RDI: 00000000ffffff9c RBP: 00007fff3da7f88c R08: 0000000000015db4 R09: 00007f3d8cf25080 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 0000000000070f03 R14: 0000000000070f03 R15: 00007fff3da7f8e0 Showing all locks held in the system: 3 locks held by kworker/1:0/24: 1 lock held by khungtaskd/30: #0: ffffffff88cb68a0 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] , at: rcu_read_lock include/linux/rcupdate.h:838 [inline] , at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6620 5 locks held by kworker/0:2/2075: 2 locks held by getty/2605: #0: ffff88810e7c40a0 (&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 1 lock held by syz-executor/2647: #0: ffffffff88cc2038 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:296 1 lock held by syz-executor/2654: #0: ffffffff88cc2038 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 5 locks held by kworker/0:4/4923: 3 locks held by kworker/0:5/4926: 4 locks held by udevd/4936: #0: ffff888104725e80 ( &p->lock ){+.+.}-{3:3} , at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff8881043bf088 ( &of->mutex #2 ){+.+.}-{3:3} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff888105b6d3c8 ( kn->active #5 ){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888108f0b190 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: uevent_show+0x188/0x3b0 drivers/base/core.c:2743 3 locks held by kworker/0:6/5079: 1 lock held by udevd/7900: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc1-syzkaller-00033-g25f51b76f90f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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+0xf4e/0x1280 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: gspca_pac7302 1-1:0.0: URB error -71, resubmitting NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5079 Comm: kworker/0:6 Not tainted 6.11.0-rc1-syzkaller-00033-g25f51b76f90f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: usb_hub_wq hub_event RIP: 0010:io_serial_in+0x87/0xb0 drivers/tty/serial/8250/8250_port.c:407 Code: d8 ba fe 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 1a 66 03 5d 40 89 da ec <5b> 0f b6 c0 5d 41 5c c3 cc cc cc cc e8 08 c9 0f ff eb a2 e8 91 c9 RSP: 0018:ffffc900000076e0 EFLAGS: 00000002 RAX: dffffc0000000060 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff82988c40 RDI: ffffffff8dfc8700 RBP: ffffffff8dfc86c0 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000020 R14: fffffbfff1bf9132 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f6200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f00de432000 CR3: 000000011dde6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:137 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:159 [inline] wait_for_lsr+0xda/0x180 drivers/tty/serial/8250/8250_port.c:2068 serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0xca3/0x1090 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2983 [inline] console_flush_all+0x53c/0xd70 kernel/printk/printk.c:3049 console_unlock+0xae/0x290 kernel/printk/printk.c:3118 vprintk_emit kernel/printk/printk.c:2348 [inline] vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2303 vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45 _printk+0xc8/0x100 kernel/printk/printk.c:2373 int_irq+0x1b7/0x270 drivers/media/usb/gspca/gspca.c:104 __usb_hcd_giveback_urb+0x466/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x17c3/0x38d0 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x8b/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_release+0x4/0x6f0 kernel/locking/lockdep.c:5767 Code: 54 6d 32 8a e8 fd d6 76 00 e9 cb fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <48> b8 00 00 00 00 00 fc ff df 41 57 41 56 41 55 41 54 49 89 fc 55 RSP: 0018:ffffc900042b72a8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff88eb16e0 RCX: 0000000000000000 RDX: 1ffff11020e62e31 RSI: ffffffff81d3e58a RDI: ffffffff88eb1748 RBP: 1ffff92000856e5b R08: 0000000000000000 R09: fffffbfff1464bfb R10: ffffc900042b73b0 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc900042b7338 __mutex_unlock_slowpath+0xa3/0x650 kernel/locking/mutex.c:912 __kernfs_iattrs fs/kernfs/inode.c:54 [inline] kernfs_iattrs_noalloc fs/kernfs/inode.c:65 [inline] kernfs_xattr_get+0x5a/0xa0 fs/kernfs/inode.c:298 selinux_kernfs_init_security+0x11a/0x4d0 security/selinux/hooks.c:3560 security_kernfs_init_security+0x6d/0xc0 security/security.c:2698 __kernfs_new_node+0x564/0x890 fs/kernfs/dir.c:663 kernfs_new_node+0x186/0x240 fs/kernfs/dir.c:700 __kernfs_create_file+0x53/0x350 fs/kernfs/file.c:1034 sysfs_add_file_mode_ns+0x1ff/0x3b0 fs/sysfs/file.c:307 create_files fs/sysfs/group.c:76 [inline] internal_create_group+0x565/0xe50 fs/sysfs/group.c:180 internal_create_groups+0x9d/0x150 fs/sysfs/group.c:220 device_add_groups drivers/base/core.c:2826 [inline] device_add_attrs drivers/base/core.c:2901 [inline] device_add+0x781/0x1a70 drivers/base/core.c:3633 usb_create_ep_devs+0x160/0x2b0 drivers/usb/core/endpoint.c:169 usb_new_device+0x104a/0x1a10 drivers/usb/core/hub.c:2681 hub_port_connect drivers/usb/core/hub.c:5521 [inline] hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] port_event drivers/usb/core/hub.c:5821 [inline] hub_event+0x2e66/0x4f50 drivers/usb/core/hub.c:5903 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390 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