INFO: task syz.0.942:9382 blocked for more than 143 seconds. Not tainted 6.13.0-syzkaller-07632-gaa22f4da2a46 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.942 state:D stack:25920 pid:9382 tgid:9382 ppid:5831 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x181a/0x4b90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75 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+0xa47/0xc60 kernel/workqueue.c:4242 __cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4362 uhid_dev_destroy drivers/hid/uhid.c:584 [inline] uhid_char_release+0xac/0x600 drivers/hid/uhid.c:662 __fput+0x3e9/0x9f0 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f98eb38cd29 RSP: 002b:00007fff69f2e338 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000067055 RCX: 00007f98eb38cd29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f98eb5a7ba0 R08: 0000000000000001 R09: 00007fff69f2e62f R10: 00007f98eb200000 R11: 0000000000000246 R12: 00000000000670e4 R13: 00007f98eb5a5fa0 R14: 0000000000000032 R15: ffffffffffffffff Showing all locks held in the system: 2 locks held by kworker/u8:1/12: #0: ffff8880b863e758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:606 #1: ffffc90000117c60 ((work_completion)(&(&krcp->krw_arr[i].rcu_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90000117c60 ((work_completion)(&(&krcp->krw_arr[i].rcu_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 3 locks held by kdevtmpfs/27: 1 lock held by khungtaskd/30: #0: ffffffff8e93a020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e93a020 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e93a020 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746 1 lock held by klogd/5184: 2 locks held by udevd/5195: 5 locks held by dhcpcd/5489: 2 locks held by getty/5576: #0: ffff8880354f20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/5818: 1 lock held by syz-executor/5833: 2 locks held by kworker/1:8/5913: 2 locks held by syz.2.352/7478: 1 lock held by udevd/9169: 2 locks held by syz.0.942/9382: #0: ffff888056701a20 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #0: ffff888056701a20 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #0: ffff888056701a20 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #1: ffffffff8fafc230 (minors_rwsem){+.+.}-{4:4}, at: hidraw_disconnect+0x42/0x60 drivers/hid/hidraw.c:640 1 lock held by syz-executor/9401: 3 locks held by syz-executor/9404: 1 lock held by syz-executor/9405: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-07632-gaa22f4da2a46 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 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: 9169 Comm: udevd Not tainted 6.13.0-syzkaller-07632-gaa22f4da2a46 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline] RIP: 0010:check_preemption_disabled+0x5c/0x120 lib/smp_processor_id.c:19 Code: 25 28 00 00 00 48 3b 44 24 08 0f 85 ce 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 cc cc cc cc 48 c7 04 24 00 00 00 00 <9c> 8f 04 24 f7 04 24 00 02 00 00 74 c5 49 89 f6 49 89 ff 65 4c 8b RSP: 0018:ffffc900103573c8 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffffffff81c721fc RDX: 0000000000000000 RSI: ffffffff8c5f5680 RDI: ffffffff8c5f5640 RBP: 0000000000042a20 R08: ffffffff901a6177 R09: 1ffffffff2034c2e R10: dffffc0000000000 R11: fffffbfff2034c2f R12: 0000000000000001 R13: ffffea0007a7f000 R14: 0000000000000001 R15: ffff88801ac41dc0 FS: 00007efddc6b6c80(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4a2716700 CR3: 000000004f24c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: put_cpu_partial+0x56/0x250 mm/slub.c:3204 __slab_free+0x290/0x380 mm/slub.c:4483 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4119 [inline] slab_alloc_node mm/slub.c:4168 [inline] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_node_track_caller_noprof+0x237/0x4c0 mm/slub.c:4317 kmalloc_reserve+0x111/0x2a0 net/core/skbuff.c:609 __alloc_skb+0x1f3/0x440 net/core/skbuff.c:678 alloc_skb include/linux/skbuff.h:1331 [inline] alloc_skb_with_frags+0xc3/0x820 net/core/skbuff.c:6612 sock_alloc_send_pskb+0x91a/0xa60 net/core/sock.c:2897 unix_dgram_sendmsg+0x5f1/0x1df0 net/unix/af_unix.c:2017 sock_sendmsg_nosec net/socket.c:713 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:728 sock_write_iter+0x2d7/0x3f0 net/socket.c:1132 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xacf/0xd10 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efddc316bf2 Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffea7865678 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007efddc316bf2 RDX: 0000000000000000 RSI: 00007ffea78656cf RDI: 000000000000000a RBP: 00007ffea78656cf R08: 0000000000000001 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 000000000000000a R13: 00007efddc6b6ae0 R14: 0000000000000000 R15: 0000564f2175a910