INFO: task syz.2.628:9850 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.628 state:D stack:24304 pid:9850 ppid:9606 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747 sync_bdevs+0x1af/0x330 block/bdev.c:1076 ksys_sync+0xba/0x150 fs/sync.c:105 __ia32_sys_sync+0xe/0x20 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1b63b8f749 RSP: 002b:00007f1b64a09038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f1b63de5fa0 RCX: 00007f1b63b8f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f1b63de5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1b63de6038 R14: 00007f1b63de5fa0 R15: 00007ffda5f10a78 INFO: task syz.2.628:9858 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.628 state:D stack:27304 pid:9858 ppid:9606 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747 sync_bdevs+0x1af/0x330 block/bdev.c:1076 ksys_sync+0xba/0x150 fs/sync.c:105 __ia32_sys_sync+0xe/0x20 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1b63b8f749 RSP: 002b:00007f1b649e8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f1b63de6090 RCX: 00007f1b63b8f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f1b63de6090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1b63de6128 R14: 00007f1b63de6090 R15: 00007ffda5f10a78 Showing all locks held in the system: 6 locks held by kworker/1:0/23: #0: ffff88801969e938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801969e938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900001d7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900001d7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff888024f97190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #2: ffff888024f97190 (&dev->mutex){....}-{3:3}, at: hub_event+0x185/0x49c0 drivers/usb/core/hub.c:5861 #3: ffff88807cf1a190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #3: ffff88807cf1a190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x89/0x400 drivers/base/dd.c:1005 #4: ffff88801b70d160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #4: ffff88801b70d160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x89/0x400 drivers/base/dd.c:1005 #5: ffffffff8cbda630 (umhelper_sem){++++}-{3:3}, at: usermodehelper_read_trylock+0xf0/0x2b0 kernel/umh.c:215 1 lock held by khungtaskd/29: #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 2 locks held by kworker/1:2/786: #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900039b7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900039b7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 2 locks held by getty/5530: #0: ffff88802d0930a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000326e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 2 locks held by kworker/u4:13/5994: #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90005197d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90005197d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 1 lock held by udevd/7704: #0: ffff888021b104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805 1 lock held by syz.2.628/9850: #0: ffff888021b104c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1af/0x330 block/bdev.c:1076 1 lock held by syz.2.628/9858: #0: ffff888021b104c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1af/0x330 block/bdev.c:1076 1 lock held by syz-executor/10227: #0: ffff88805d3b00e0 (&type->s_umount_key#55){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88805d3b00e0 (&type->s_umount_key#55){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88805d3b00e0 (&type->s_umount_key#55){++++}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513 1 lock held by syz.4.874/11266: #0: ffff888021b104c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1af/0x330 block/bdev.c:1076 1 lock held by syz.1.937/11592: #0: ffff888024f97190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #0: ffff888024f97190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x16f/0x760 drivers/usb/core/devio.c:1051 1 lock held by syz.7.1005/11907: #0: ffff888024f97190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #0: ffff888024f97190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x16f/0x760 drivers/usb/core/devio.c:1051 7 locks held by syz-executor/11910: #0: ffff88804b45e418 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x20e/0x940 fs/read_write.c:580 #1: ffff888077490888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x520 fs/kernfs/file.c:343 #2: ffff8880240a1ba8 (kn->active#53){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff8880240a1ba8 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x23a/0x520 fs/kernfs/file.c:344 #3: ffffffff8d8984a8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x360 drivers/net/netdevsim/bus.c:209 #4: ffff8880616d40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #4: ffff8880616d40e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff8880616d40e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb6/0x7a0 drivers/base/dd.c:1292 #5: ffff8880616d6250 (&devlink->lock_key#10){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8cd358f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #6: ffffffff8cd358f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x448/0x830 kernel/rcu/tree_exp.h:1004 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5880 Comm: kworker/u4:8 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:check_kcov_mode kernel/kcov.c:193 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_cmp8+0x36/0x80 kernel/kcov.c:293 Code: e0 22 7e 7e 65 8b 15 e1 22 7e 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 1c 16 00 00 00 74 4e 8b 91 f8 15 00 00 <83> fa 03 75 43 48 8b 91 00 16 00 00 44 8b 89 fc 15 00 00 49 c1 e1 RSP: 0018:ffffc90004bcf5d8 EFLAGS: 00000246 RAX: ffffffff813ad7ce RBX: ffffc90004bcf648 RCX: ffff88802c8cda00 RDX: 0000000000000000 RSI: ffffc90004bcf6d0 RDI: ffffc90004bcf5e0 RBP: 1ffff92000979ec9 R08: ffffc90004bcf601 R09: 0000000000000000 R10: ffffc90004bcf648 R11: fffff52000979ed5 R12: ffffc90004bcf5e0 R13: ffffc90004bcf658 R14: ffffc90004bcf6d0 R15: ffffc90004bcf650 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f69ba9135c0 CR3: 000000000cb30000 CR4: 00000000003506e0 Call Trace: __unwind_start+0x63e/0x7e0 arch/x86/kernel/unwind_orc.c:759 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xf8/0x190 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:198 [inline] __do_kmalloc_node mm/slab_common.c:1007 [inline] __kmalloc_node_track_caller+0xb2/0x230 mm/slab_common.c:1027 kmalloc_reserve+0x116/0x240 net/core/skbuff.c:584 __alloc_skb+0x138/0x2c0 net/core/skbuff.c:653 alloc_skb include/linux/skbuff.h:1284 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x293/0xb00 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293