INFO: task udevd:5628 blocked for more than 143 seconds. Not tainted 6.9.0-next-20240516-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:25712 pid:5628 tgid:5628 ppid:4546 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 btrfs_control_ioctl+0x150/0x3e0 fs/btrfs/super.c:2225 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fed6891ad49 RSP: 002b:00007ffe2d299128 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fed6891ad49 RDX: 00007ffe2d299138 RSI: 0000000090009427 RDI: 0000000000000009 RBP: 0000000000000009 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2d29a178 R14: 00005644af523d00 R15: 00007ffe2d29ae98 INFO: task syz-executor.1:5785 blocked for more than 144 seconds. Not tainted 6.9.0-next-20240516-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25648 pid:5785 tgid:5784 ppid:5125 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_work+0xaa9/0xd00 kernel/workqueue.c:4211 __lru_add_drain_all+0x504/0x570 mm/swap.c:902 invalidate_bdev+0x76/0xa0 block/bdev.c:100 __ext4_fill_super fs/ext4/super.c:5651 [inline] ext4_fill_super+0x29dc/0x6d90 fs/ext4/super.c:5676 get_tree_bdev+0x3f7/0x570 fs/super.c:1615 vfs_get_tree+0x90/0x2a0 fs/super.c:1780 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff10507e5ea RSP: 002b:00007ff105e56ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff105e56f80 RCX: 00007ff10507e5ea RDX: 0000000020000180 RSI: 0000000020000400 RDI: 00007ff105e56f40 RBP: 0000000020000180 R08: 00007ff105e56f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000400 R13: 00007ff105e56f40 R14: 000000000000046a R15: 0000000020000300 INFO: task syz-executor.4:5809 blocked for more than 146 seconds. Not tainted 6.9.0-next-20240516-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25304 pid:5809 tgid:5808 ppid:5114 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 __lru_add_drain_all+0x66/0x570 mm/swap.c:857 invalidate_bdev+0x76/0xa0 block/bdev.c:100 btrfs_get_bdev_and_sb+0x11a/0x1c0 fs/btrfs/volumes.c:492 btrfs_open_one_device fs/btrfs/volumes.c:657 [inline] open_fs_devices+0x2b4/0x1290 fs/btrfs/volumes.c:1196 btrfs_get_tree_super fs/btrfs/super.c:1818 [inline] btrfs_get_tree+0x504/0x1920 fs/btrfs/super.c:2081 vfs_get_tree+0x90/0x2a0 fs/super.c:1780 fc_mount+0x1b/0xb0 fs/namespace.c:1125 btrfs_get_tree_subvol fs/btrfs/super.c:2044 [inline] btrfs_get_tree+0x652/0x1920 fs/btrfs/super.c:2082 vfs_get_tree+0x90/0x2a0 fs/super.c:1780 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f41fbc7e5ea RSP: 002b:00007f41fca75ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f41fca75f80 RCX: 00007f41fbc7e5ea RDX: 0000000020000100 RSI: 0000000020005140 RDI: 00007f41fca75f40 RBP: 0000000020000100 R08: 00007f41fca75f80 R09: 0000000000000816 R10: 0000000000000816 R11: 0000000000000202 R12: 0000000020005140 R13: 00007f41fca75f40 R14: 00000000000050ed R15: 0000000020000280 INFO: task syz-executor.3:5821 blocked for more than 148 seconds. Not tainted 6.9.0-next-20240516-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24312 pid:5821 tgid:5820 ppid:5121 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 __lru_add_drain_all+0x66/0x570 mm/swap.c:857 invalidate_bdev+0x76/0xa0 block/bdev.c:100 ntfs_loadlog_and_replay+0x348/0x4f0 fs/ntfs3/fsntfs.c:330 ntfs_fill_super+0x2ca2/0x49c0 fs/ntfs3/super.c:1284 get_tree_bdev+0x3f7/0x570 fs/super.c:1615 vfs_get_tree+0x90/0x2a0 fs/super.c:1780 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f02d427e5ea RSP: 002b:00007f02d4fc5ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f02d4fc5f80 RCX: 00007f02d427e5ea RDX: 0000000020000380 RSI: 0000000020000200 RDI: 00007f02d4fc5f40 RBP: 0000000020000380 R08: 00007f02d4fc5f80 R09: 0000000000000803 R10: 0000000000000803 R11: 0000000000000202 R12: 0000000020000200 R13: 00007f02d4fc5f40 R14: 000000000001f252 R15: 0000000020006740 Showing all locks held in the system: 13 locks held by kworker/0:0/8: 2 locks held by kworker/u8:1/12: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000117d00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000117d00 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 1 lock held by khungtaskd/30: #0: ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u8:5/961: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000490fd00 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000490fd00 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 2 locks held by getty/4861: #0: ffff88802af110a0 (&tty->ldisc_sem){++++}-{0:0} , at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock ){+.+.}-{3:3} , at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/1:4/5166: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900037cfd00 (slab_caches_to_rcu_destroy_work ){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] ){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8e413e28 (slab_mutex){+.+.}-{3:3}, at: slab_caches_to_rcu_destroy_workfn+0x37/0x120 mm/slab_common.c:435 3 locks held by kworker/0:7/5216: 2 locks held by kworker/0:8/5219: 2 locks held by syz-executor.2/5411: 3 locks held by syz-executor.0/5467: #0: ffffffff8ea04a48 (bio_slab_lock){+.+.}-{3:3}, at: bio_put_slab block/bio.c:140 [inline] (bio_slab_lock){+.+.}-{3:3}, at: bioset_exit+0x436/0x650 block/bio.c:1740 #1: ffffffff8e1ce470 (cpu_hotplug_lock){++++}-{0:0} , at: kmem_cache_destroy+0x32/0x1b0 mm/slab_common.c:487 #2: ffffffff8e413e28 (slab_mutex){+.+.}-{3:3}, at: kmem_cache_destroy+0x40/0x1b0 mm/slab_common.c:488 4 locks held by udevd/5605: #0: ffff88802cff0418 ( &p->lock ){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff88807f2ac888 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff888043e752d8 (kn->active#27){.+.+}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88801c6de190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:1014 [inline] #3: ffff88801c6de190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 1 lock held by udevd/5628: #0: ffffffff8e8a5268 ( uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x150/0x3e0 fs/btrfs/super.c:2225 2 locks held by syz-executor.1/5785: #0: ffff888022fea0e0 (&type->s_umount_key#28/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8e3eca08 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x570 mm/swap.c:857 2 locks held by syz-executor.4/5809: #0: ffffffff8e8a5268 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree_super fs/btrfs/super.c:1802 [inline] #0: ffffffff8e8a5268 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree+0x2dc/0x1920 fs/btrfs/super.c:2081 #1: ffffffff8e3eca08 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x570 mm/swap.c:857 2 locks held by syz-executor.3/5821: #0: ffff88802c3740e0 (&type->s_umount_key#64/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8e3eca08 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x570 mm/swap.c:857 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-next-20240516-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: yealink 5-1:36.0: unexpected response 0 NMI backtrace for cpu 0 CPU: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.9.0-next-20240516-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:406 Code: 60 37 57 fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 61 1b bd fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c RSP: 0000:ffffc900000057f8 EFLAGS: 00000002 RAX: 1ffffffff295bc00 RBX: ffffffff94ade1e0 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff853f2ef6 R09: 1ffff11003f36046 R10: dffffc0000000000 R11: ffffffff853f2eb0 R12: dffffc0000000000 R13: 00000000000026be R14: 00000000000003fd R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f02d4378198 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:117 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:139 [inline] wait_for_lsr drivers/tty/serial/8250/8250_port.c:2068 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x1099/0x1770 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2928 [inline] console_flush_all+0x865/0xfd0 kernel/printk/printk.c:2994 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3063 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2345 dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4951 dev_printk_emit+0xdd/0x120 drivers/base/core.c:4962 _dev_err+0x122/0x170 drivers/base/core.c:5017 urb_irq_callback+0x3b7/0x5b0 drivers/input/misc/yealink.c:433 __usb_hcd_giveback_urb+0x373/0x530 drivers/usb/core/hcd.c:1648 dummy_timer+0x830/0x45d0 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:debug_lockdep_rcu_enabled+0x4/0x40 kernel/rcu/update.c:319 Code: c6 20 dc ca 8b e8 fc 25 cd f5 90 0f 0b 90 90 90 eb c6 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <31> c0 83 3d a7 ff 21 04 00 74 1e 83 3d f6 30 22 04 00 74 15 65 48 RSP: 0000:ffffc90000006838 EFLAGS: 00000282 RAX: 0000000000000001 RBX: ffffffff89e8c7a0 RCX: ffff88801728da00 RDX: 0000000000000102 RSI: ffffffff8f654920 RDI: 0000000000000001 RBP: ffffc90000006950 R08: 0000000000000001 R09: ffffffff89a22eb7 R10: 0000000000000004 R11: ffff88801728da00 R12: 1ffff92000000d10 R13: ffff888018edf180 R14: 0000000000000001 R15: dffffc0000000000 rcu_read_unlock include/linux/rcupdate.h:810 [inline] nf_hook+0x2d9/0x450 include/linux/netfilter.h:271 __ip_local_out+0x3d9/0x4e0 net/ipv4/ip_output.c:118 ip_local_out net/ipv4/ip_output.c:127 [inline] __ip_queue_xmit+0x1162/0x1b70 net/ipv4/ip_output.c:535 __tcp_transmit_skb+0x2557/0x3b80 net/ipv4/tcp_output.c:1466 tcp_rcv_established+0x14d5/0x2020 net/ipv4/tcp_input.c:6140 tcp_v4_do_rcv+0x965/0xc60 net/ipv4/tcp_ipv4.c:1914 tcp_v4_rcv+0x2d90/0x37b0 net/ipv4/tcp_ipv4.c:2350 ip_protocol_deliver_rcu+0x225/0x430 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x33f/0x5f0 net/ipv4/ip_input.c:233 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 ip_local_deliver net/ipv4/ip_input.c:254 [inline] dst_input include/net/dst.h:460 [inline] ip_sublist_rcv_finish+0x3be/0x4f0 net/ipv4/ip_input.c:580 ip_list_rcv_finish net/ipv4/ip_input.c:631 [inline] ip_sublist_rcv+0x75d/0xab0 net/ipv4/ip_input.c:639 ip_list_rcv+0x42b/0x480 net/ipv4/ip_input.c:674 __netif_receive_skb_list_ptype net/core/dev.c:5667 [inline] __netif_receive_skb_list_core+0x95a/0x980 net/core/dev.c:5715 __netif_receive_skb_list net/core/dev.c:5767 [inline] netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5859 gro_normal_list include/net/gro.h:515 [inline] napi_complete_done+0x310/0x8e0 net/core/dev.c:6202