INFO: task udevd:5801 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:23496 pid:5801 ppid:5159 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
io_schedule+0x80/0xd0 kernel/sched/core.c:9022
folio_wait_bit_common+0x6eb/0xf70 mm/filemap.c:1329
folio_put_wait_locked mm/filemap.c:1493 [inline]
do_read_cache_folio+0x1c0/0x7e0 mm/filemap.c:3771
read_mapping_folio include/linux/pagemap.h:898 [inline]
read_part_sector+0xd2/0x350 block/partitions/core.c:718
adfspart_check_POWERTEC+0x8d/0xf00 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+0x73a/0x1410 block/partitions/core.c:689
blkdev_get_whole+0x30d/0x390 block/bdev.c:672
blkdev_get_by_dev+0x279/0x600 block/bdev.c:814
blkdev_open+0x152/0x360 block/fops.c:589
do_dentry_open+0x8c6/0x1500 fs/open.c:929
do_open fs/namei.c:3640 [inline]
path_openat+0x274b/0x3190 fs/namei.c:3797
do_filp_open+0x1c5/0x3d0 fs/namei.c:3824
do_sys_openat2+0x12c/0x1c0 fs/open.c:1419
do_sys_open fs/open.c:1434 [inline]
__do_sys_openat fs/open.c:1450 [inline]
__se_sys_openat fs/open.c:1445 [inline]
__x64_sys_openat+0x139/0x160 fs/open.c:1445
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:0x7feef01d5407
RSP: 002b:00007ffd38fc9580 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007feef0149880 RCX: 00007feef01d5407
RDX: 00000000000a0800 RSI: 00005612e9a54a50 RDI: ffffffffffffff9c
RBP: 00005612e9a3b910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00005612e9a4fba0
R13: 00005612e9a53410 R14: 0000000000000000 R15: 00005612e9a4fba0
INFO: task udevd:5802 blocked for more than 144 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:23560 pid:5802 ppid:5159 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
io_schedule+0x80/0xd0 kernel/sched/core.c:9022
folio_wait_bit_common+0x6eb/0xf70 mm/filemap.c:1329
folio_put_wait_locked mm/filemap.c:1493 [inline]
do_read_cache_folio+0x1c0/0x7e0 mm/filemap.c:3771
read_mapping_folio include/linux/pagemap.h:898 [inline]
read_part_sector+0xd2/0x350 block/partitions/core.c:718
adfspart_check_POWERTEC+0x8d/0xf00 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+0x73a/0x1410 block/partitions/core.c:689
blkdev_get_whole+0x30d/0x390 block/bdev.c:672
blkdev_get_by_dev+0x279/0x600 block/bdev.c:814
blkdev_open+0x152/0x360 block/fops.c:589
do_dentry_open+0x8c6/0x1500 fs/open.c:929
do_open fs/namei.c:3640 [inline]
path_openat+0x274b/0x3190 fs/namei.c:3797
do_filp_open+0x1c5/0x3d0 fs/namei.c:3824
do_sys_openat2+0x12c/0x1c0 fs/open.c:1419
do_sys_open fs/open.c:1434 [inline]
__do_sys_openat fs/open.c:1450 [inline]
__se_sys_openat fs/open.c:1445 [inline]
__x64_sys_openat+0x139/0x160 fs/open.c:1445
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:0x7feef01d5407
RSP: 002b:00007ffd38fc9580 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007feef0149880 RCX: 00007feef01d5407
RDX: 00000000000a0800 RSI: 00005612e9a54a50 RDI: ffffffffffffff9c
RBP: 00005612e9a3b910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00005612e9a58f10
R13: 00005612e9a53410 R14: 0000000000000000 R15: 00005612e9a58f10
Showing all locks held in the system:
4 locks held by kworker/0:0/8:
#0: ffff888147e66d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
#0: ffff888147e66d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
#1: ffffc900000d7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
#1: ffffc900000d7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
#2: ffff888024d92190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline]
#2: ffff888024d92190 (&dev->mutex){....}-{3:3}, at: hub_event+0x185/0x49c0 drivers/usb/core/hub.c:5861
#3: ffff88807a6e5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline]
#3: ffff88807a6e5190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x89/0x400 drivers/base/dd.c:1005
1 lock held by khungtaskd/29:
#0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
2 locks held by kworker/u4:5/992:
#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: ffff8880b8f289c0 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline]
#1: ffff8880b8f289c0 (psi_seq){-.-.}-{0:0}, at: __schedule+0x20ee/0x44d0 kernel/sched/core.c:6694
2 locks held by getty/5550:
#0: ffff88802cca40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217
1 lock held by udevd/5801:
#0: ffff888021aeb4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805
1 lock held by udevd/5802:
#0: ffff888021a7e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805
4 locks held by udevd/6481:
#0: ffff88805cbc49e0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb1/0xd50 fs/seq_file.c:182
#1: ffff88805c990888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x5c/0x410 fs/kernfs/file.c:172
#2: ffff88805db34100 (kn->active#27){++++}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
#2: ffff88805db34100 (kn->active#27){++++}-{0:0}, at: kernfs_seq_start+0xb2/0x410 fs/kernfs/file.c:173
#3: ffff88807a6e5190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:1000 [inline]
#3: ffff88807a6e5190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
1 lock held by syz-executor/8175:
#0: ffffffff8cd358b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#0: ffffffff8cd358b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x830 kernel/rcu/tree_exp.h:1004
2 locks held by kworker/1:5/8674:
#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: ffffc90003657d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
#1: ffffc90003657d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
4 locks held by kworker/u4:12/10838:
#0: ffff8880b8e3c218 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffff8880b8f289c0 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline]
#1: ffff8880b8f289c0 (psi_seq){-.-.}-{0:0}, at: __schedule+0x20ee/0x44d0 kernel/sched/core.c:6694
#2: ffff8880b8f29598 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x73b/0xdb0 kernel/time/timer.c:1112
#3: ffffffff970dd868 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x6c/0x4b0 lib/debugobjects.c:709
=============================================
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/02/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: 42 Comm: kworker/u4:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:__might_resched+0x188/0x610 kernel/sched/core.c:10172
Code: 8b 06 c1 e0 08 44 01 f8 3b 44 24 2c 75 61 48 c7 84 24 a0 00 00 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 f6 84 24 a1 00 00 00 02 <74> 43 4c 8d 7a 2c 4c 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85
RSP: 0018:ffffc90000b379a0 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 1ffff92000166f3c RCX: ed57b786d7dfc800
RDX: ffff8880186c1e00 RSI: ffffffff8aaace60 RDI: ffffffff8afc6b00
RBP: ffffc90000b37ac0 R08: ffff88814c65a8cb R09: 1ffff110298cb519
R10: dffffc0000000000 R11: ffffed10298cb51a R12: 1ffff110030d8447
R13: dffffc0000000000 R14: ffff8880186c223c R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 00000000621d6000 CR4: 00000000003506e0
Call Trace:
nsim_dev_trap_report_work+0xa25/0xb00 drivers/net/netdevsim/dev.c:852
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