INFO: task syz.0.478:7701 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.478 state:D stack:25448 pid:7701 ppid:5820 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1553/0x45a0 kernel/sched/core.c:6700
schedule+0xbd/0x170 kernel/sched/core.c:6774
schedule_timeout+0xc1/0x2d0 kernel/time/timer.c:2144
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+0x2cb/0x5b0 kernel/sched/completion.c:148
io_wq_exit_workers io_uring/io-wq.c:1267 [inline]
io_wq_put_and_exit+0x474/0x810 io_uring/io-wq.c:1295
io_uring_clean_tctx+0x130/0x1b0 io_uring/tctx.c:204
io_uring_cancel_generic+0x610/0x6c0 io_uring/io_uring.c:3507
io_uring_files_cancel include/linux/io_uring.h:69 [inline]
do_exit+0x5f1/0x2460 kernel/exit.c:830
do_group_exit+0x21b/0x2d0 kernel/exit.c:1026
get_signal+0x12fc/0x13f0 kernel/signal.c:2902
arch_do_signal_or_restart+0xc2/0x800 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f07ec99ce59
RSP: 002b:00007f07ed908028 EFLAGS: 00000246 ORIG_RAX: 00000000000000db
RAX: fffffffffffffdfc RBX: 00007f07ecc15fa0 RCX: 00007f07ec99ce59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000001a80
RBP: 00007f07eca32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f07ecc16038 R14: 00007f07ecc15fa0 R15: 00007fff1a527918
INFO: task iou-wrk-7701:7702 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:iou-wrk-7701 state:D stack:25032 pid:7702 ppid:5820 flags:0x00024006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1553/0x45a0 kernel/sched/core.c:6700
schedule+0xbd/0x170 kernel/sched/core.c:6774
io_schedule+0x80/0xd0 kernel/sched/core.c:9023
folio_wait_bit_common+0x714/0xfa0 mm/filemap.c:1329
folio_put_wait_locked mm/filemap.c:1493 [inline]
do_read_cache_folio+0x1c0/0x7d0 mm/filemap.c:3791
read_mapping_folio include/linux/pagemap.h:898 [inline]
read_part_sector+0xd2/0x340 block/partitions/core.c:718
adfspart_check_POWERTEC+0x93/0xed0 block/partitions/acorn.c:454
check_partition block/partitions/core.c:138 [inline]
blk_add_partitions block/partitions/core.c:600 [inline]
bdev_disk_changed+0x740/0x1420 block/partitions/core.c:689
blkdev_get_whole+0x30d/0x390 block/bdev.c:672
blkdev_get_by_dev+0x279/0x600 block/bdev.c:814
disk_scan_partitions+0x1bc/0x2c0 block/genhd.c:367
device_add_disk+0xc1a/0xf50 block/genhd.c:509
add_disk include/linux/blkdev.h:748 [inline]
ublk_ctrl_start_dev+0xadb/0xfd0 drivers/block/ublk_drv.c:2282
ublk_ctrl_uring_cmd+0x3b4/0x5e0 drivers/block/ublk_drv.c:2938
io_uring_cmd+0x149/0x410 io_uring/uring_cmd.c:139
io_issue_sqe+0x2c5/0xc90 io_uring/io_uring.c:1869
io_wq_submit_work+0x418/0x9c0 io_uring/io_uring.c:1956
io_worker_handle_work+0x847/0x11b0 io_uring/io-wq.c:602
io_wq_worker+0x4a0/0xf10 io_uring/io-wq.c:656
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
Showing all locks held in the system:
4 locks held by kworker/0:1/9:
#0: ffff888146e57d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#0: ffff888146e57d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2730
#1: ffffc900000e7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#1: ffffc900000e7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2730
#2: ffff888142fd5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1040 [inline]
#2: ffff888142fd5190 (&dev->mutex){....}-{3:3}, at: hub_event+0x180/0x49f0 drivers/usb/core/hub.c:5861
#3: ffff8880799f9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1040 [inline]
#3: ffff8880799f9190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x89/0x420 drivers/base/dd.c:1025
2 locks held by kworker/u4:1/12:
#0: ffff888017c71538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#0: ffff888017c71538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2730
#1: ffffc90000117d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#1: ffffc90000117d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2730
1 lock held by khungtaskd/29:
#0: ffffffff8d132120 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#0: ffffffff8d132120 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#0: ffffffff8d132120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
2 locks held by kworker/1:2/1627:
#0: ffff888017c72538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#0: ffff888017c72538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2730
#1: ffffc90005417d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#1: ffffc90005417d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2730
3 locks held by kworker/u4:9/3452:
#0: ffff888017c71538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#0: ffff888017c71538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2730
#1: ffffc9000d1c7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#1: ffffc9000d1c7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2730
#2: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:286
1 lock held by klogd/5133:
#0: ffff8880b8f3c018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
2 locks held by getty/5532:
#0: ffff8880316c20a0 (&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+0x433/0x1390 drivers/tty/n_tty.c:2217
2 locks held by kworker/1:4/5888:
2 locks held by iou-wrk-7701/7702:
#0: ffff88801cf286c0 (&ub->mutex){+.+.}-{3:3}, at: ublk_ctrl_start_dev+0xf8/0xfd0 drivers/block/ublk_drv.c:2246
#1: ffff88807f3864c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805
4 locks held by udevd/9317:
#0: ffff88801b73de80 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb1/0xd50 fs/seq_file.c:182
#1: ffff88802e756888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x5c/0x410 fs/kernfs/file.c:172
#2: ffff88802cd85ca0 (kn->active#21){++++}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
#2: ffff88802cd85ca0 (kn->active#21){++++}-{0:0}, at: kernfs_seq_start+0xb2/0x410 fs/kernfs/file.c:173
#3: ffff8880799f9190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:1045 [inline]
#3: ffff8880799f9190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
2 locks held by syz.3.1790/11594:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x41/0x1c0 drivers/net/tun.c:3511
#1: ffffffff8d137af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#1: ffffffff8d137af8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x306/0x880 kernel/rcu/tree_exp.h:1004
1 lock held by syz.5.1791/11600:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x811/0xfa0 net/core/rtnetlink.c:6473
1 lock held by syz.5.1791/11608:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x811/0xfa0 net/core/rtnetlink.c:6473
1 lock held by syz.1.1794/11610:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x400/0x2000 drivers/net/tun.c:3121
1 lock held by syz.1.1794/11611:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x41/0x1c0 drivers/net/tun.c:3511
1 lock held by syz.1.1794/11612:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x7a4/0x1140 net/core/dev_ioctl.c:769
1 lock held by syz.1.1794/11614:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x7a4/0x1140 net/core/dev_ioctl.c:769
1 lock held by syz.1.1794/11617:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x811/0xfa0 net/core/rtnetlink.c:6473
1 lock held by syz.1.1794/11621:
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e3c5848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x811/0xfa0 net/core/rtnetlink.c:6473
=============================================
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 04/18/2026
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a6/0x3e0 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+0xf3d/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: 5885 Comm: kworker/u4:4 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:32 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:107 [inline]
RIP: 0010:__local_bh_disable_ip+0x92/0x1a0 kernel/softirq.c:333
Code: f8 f3 f3 f3 65 8b 05 25 4d b1 7e a9 00 00 0f 00 0f 85 f5 00 00 00 43 c6 44 3c 08 00 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 <4c> 8b 74 24 40 43 c6 44 3c 08 f8 fa 65 01 1d f3 4c b1 7e 65 8b 05
RSP: 0018:ffffc90004b3fa00 EFLAGS: 00000246
RAX: 0000000080000001 RBX: 0000000000000201 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000201 RDI: ffffffff8650eaab
RBP: ffffc90004b3faa8 R08: ffffc90004b3f9df R09: 0000000000000000
R10: ffffc90004b3f9a0 R11: fffff52000967f3c R12: 1ffff92000967f40
R13: ffff88807b6d5dc0 R14: ffffffff8650eaab R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555578a6d4e8 CR3: 000000007e22c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00000000000004b8
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:125 [inline]
_raw_spin_lock_bh+0x1c/0x50 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:356 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:816 [inline]
nsim_dev_trap_report_work+0x6db/0xb10 drivers/net/netdevsim/dev.c:851
process_one_work kernel/workqueue.c:2653 [inline]
process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730
worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811
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