INFO: task udevd:2504 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-syzkaller-00108-g179264157bba #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:28144 pid:2504 tgid:2504 ppid:2402 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xca6/0x3170 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 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+0x5b8/0x9c0 kernel/locking/mutex.c:752 device_lock include/linux/device.h:1009 [inline] uevent_show+0x188/0x3b0 drivers/base/core.c:2743 dev_attr_show+0x53/0xe0 drivers/base/core.c:2437 sysfs_kf_seq_show+0x23e/0x410 fs/sysfs/file.c:59 seq_read_iter+0x4fa/0x12c0 fs/seq_file.c:230 kernfs_fop_read_iter+0x41a/0x590 fs/kernfs/file.c:279 new_sync_read fs/read_write.c:395 [inline] vfs_read+0x869/0xbd0 fs/read_write.c:476 ksys_read+0x12f/0x260 fs/read_write.c:619 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:0x7f78d8e0bb6a RSP: 002b:00007ffea5d83228 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000055d038346fa0 RCX: 00007f78d8e0bb6a RDX: 0000000000001000 RSI: 000055d0383629d0 RDI: 0000000000000008 RBP: 000055d038346fa0 R08: 0000000000000008 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffea5d83708 R15: 000000000000000a Showing all locks held in the system: 5 locks held by kworker/0:1/9: 1 lock held by khungtaskd/30: #0: ffffffff886b4360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff886b4360 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff886b4360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/2460: #0: ffff888107a870a0 (&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 4 locks held by udevd/2504: #0: ffff8881036bcc30 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182 #1: ffff888104edb888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff888111c0ce18 (kn->active){.+.+}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff8881053f3190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff8881053f3190 (&dev->mutex){....}-{3:3}, at: uevent_show+0x188/0x3b0 drivers/base/core.c:2743 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-syzkaller-00108-g179264157bba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 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+0xf86/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 PID: 2384 Comm: syslogd Not tainted 6.10.0-rc6-syzkaller-00108-g179264157bba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:rcu_read_unlock_sched include/linux/rcupdate.h:892 [inline] RIP: 0010:pfn_valid include/linux/mmzone.h:2031 [inline] RIP: 0010:__virt_addr_valid+0x276/0x580 arch/x86/mm/physaddr.c:65 Code: 48 c1 ea 03 80 3c 02 00 0f 85 04 03 00 00 49 8b 6c 24 08 be 08 00 00 00 48 8d 7d 10 e8 d3 48 8f 00 48 0f a3 5d 10 40 0f 92 c5 c5 e0 3c 00 e8 b0 07 7c 05 31 ff 89 c3 89 c6 e8 b5 db 3c 00 85 RSP: 0018:ffffc9000189f8a8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 000000011e23a000 RCX: ffffffff811662d9 RDX: ffff888115433a00 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000001 R12: ffff88823fff1260 R13: 0000000000000008 R14: 0000000000000000 R15: ffff8881067cdc80 FS: 00007f1f7a9f4380(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4d18da06c0 CR3: 0000000115600000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_heap_object mm/usercopy.c:189 [inline] __check_object_size mm/usercopy.c:251 [inline] __check_object_size+0x139/0x720 mm/usercopy.c:213 check_object_size include/linux/thread_info.h:215 [inline] check_copy_size include/linux/thread_info.h:251 [inline] copy_to_iter include/linux/uio.h:195 [inline] simple_copy_to_iter+0x41/0x80 net/core/datagram.c:513 __skb_datagram_iter+0x124/0x880 net/core/datagram.c:401 skb_copy_datagram_iter+0xac/0x250 net/core/datagram.c:527 skb_copy_datagram_msg include/linux/skbuff.h:3983 [inline] __unix_dgram_recvmsg+0x45b/0xdd0 net/unix/af_unix.c:2432 unix_dgram_recvmsg+0xd0/0x110 net/unix/af_unix.c:2490 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg+0x1f6/0x250 net/socket.c:1068 sock_read_iter+0x2c7/0x3c0 net/socket.c:1138 new_sync_read fs/read_write.c:395 [inline] vfs_read+0xa39/0xbd0 fs/read_write.c:476 ksys_read+0x1f8/0x260 fs/read_write.c:619 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:0x7f1f7ab48b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffcabeae968 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f1f7ab48b6a RDX: 00000000000000ff RSI: 0000556a0f394950 RDI: 0000000000000000 RBP: 0000556a0f394910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007f1f7ace73a3 R11: 0000000000000246 R12: 0000556a0f39499d R13: 0000556a0f394950 R14: 0000000000000000 R15: 00007f1f7ad2ba80 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.762 msecs