INFO: task udevd:4333 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:25312 pid: 4333 ppid: 3560 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11bb/0x4390 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
io_schedule+0x7c/0xd0 kernel/sched/core.c:8503
wait_on_page_bit_common+0x815/0xe00 mm/filemap.c:1356
wait_on_page_bit mm/filemap.c:1417 [inline]
wait_on_page_locked include/linux/pagemap.h:688 [inline]
wait_on_page_read mm/filemap.c:3437 [inline]
do_read_cache_page+0xb05/0x1030 mm/filemap.c:3480
read_mapping_page include/linux/pagemap.h:515 [inline]
read_part_sector+0xd4/0x4f0 block/partitions/core.c:731
adfspart_check_ICS+0xbf/0xe00 block/partitions/acorn.c:360
check_partition block/partitions/core.c:148 [inline]
blk_add_partitions block/partitions/core.c:616 [inline]
bdev_disk_changed+0x917/0x16b0 block/partitions/core.c:702
blkdev_get_whole+0x2f9/0x390 block/bdev.c:682
blkdev_get_by_dev+0x2d0/0xa60 block/bdev.c:827
blkdev_open+0x12d/0x2c0 block/fops.c:466
do_dentry_open+0x7ff/0xf80 fs/open.c:826
do_open fs/namei.c:3616 [inline]
path_openat+0x2682/0x2f30 fs/namei.c:3750
do_filp_open+0x1b3/0x3e0 fs/namei.c:3777
do_sys_openat2+0x142/0x4a0 fs/open.c:1253
do_sys_open fs/open.c:1269 [inline]
__do_sys_openat fs/open.c:1285 [inline]
__se_sys_openat fs/open.c:1280 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1280
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9ab9094407
RSP: 002b:00007fff88d46650 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f9ab8fa6880 RCX: 00007f9ab9094407
RDX: 00000000000a0800 RSI: 000055c63f43ff60 RDI: ffffffffffffff9c
RBP: 000055c63f426910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000055c63f44c820
R13: 000055c63f43e410 R14: 0000000000000000 R15: 000055c63f44c820
INFO: task syz.0.17:4383 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.17 state:D stack:27720 pid: 4383 ppid: 4324 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11bb/0x4390 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
__mutex_lock_common+0xc71/0x2390 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
blkdev_put+0xf9/0x7d0 block/bdev.c:915
blkdev_close+0x76/0xa0 block/fops.c:478
__fput+0x234/0x930 fs/file_table.c:311
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd1bf5cf6c9
RSP: 002b:00007fd1bec3e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007fd1bf825fa0 RCX: 00007fd1bf5cf6c9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005
RBP: 00007fd1bf651f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd1bf826038 R14: 00007fd1bf825fa0 R15: 00007ffe438c7a48
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c11c760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u5:0/146:
#0: ffff88802066a138 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc900015dfd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
2 locks held by getty/3946:
#0: ffff88802c0df098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
1 lock held by udevd/4332:
#0: ffff888020474518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820
1 lock held by udevd/4333:
#0: ffff88802046e918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820
1 lock held by udevd/4336:
#0: ffff88802051c518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820
1 lock held by syz.0.17/4383:
#0: ffff88802046e918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
1 lock held by syz.1.87/4555:
#0: ffff88802051c518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 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+0x168/0x230 lib/dump_stack.c:106
nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xe0f/0xe50 kernel/hung_task.c:369
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4332 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:nohz_idle_balance kernel/sched/fair.c:11086 [inline]
RIP: 0010:run_rebalance_domains+0x8f/0x1b0 kernel/sched/fair.c:11304
Code: 00 00 00 44 0f b6 a7 d1 0a 00 00 31 db 45 84 e4 40 0f 94 c5 4c 8d b7 d0 0a 00 00 4d 89 f5 49 c1 ed 03 43 0f b6 44 3d 00 84 c0 <0f> 85 ac 00 00 00 41 0f b6 36 85 f6 74 2a 43 0f b6 44 3d 00 84 c0
RSP: 0018:ffffc90000dd0de0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8a59e560 RDI: ffff8880b913a340
RBP: ffffc90000dd0f01 R08: dffffc0000000000 R09: fffffbfff1ad33a6
R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: 0000000000000000
R13: 1ffff110172275c2 R14: ffff8880b913ae10 R15: dffffc0000000000
FS: 00007f9ab8fa6880(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdd0e7a29e0 CR3: 0000000060c5c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_trylock_spinning+0x2cd/0x350 kernel/printk/printk.c:1909
Code: 85 db 74 9d e8 64 a2 18 00 fb 31 c0 eb 48 e8 5a a2 18 00 e8 25 44 4a 08 48 85 db 74 d1 e8 4b a2 18 00 fb 48 c7 c7 a0 12 11 8c <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 68 c6 29 5f
RSP: 0018:ffffc90002dbf440 EFLAGS: 00000293
RAX: ffffffff815f29c5 RBX: 0000000000000200 RCX: ffff888020661dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c1112a0
RBP: ffffc90002dbf510 R08: dffffc0000000000 R09: fffffbfff1ff7c24
R10: fffffbfff1ff7c24 R11: 1ffffffff1ff7c23 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 1ffff920005b7e88
vprintk_emit+0xa7/0x150 kernel/printk/printk.c:2273
_printk+0xcc/0x110 kernel/printk/printk.c:2299
check_partition block/partitions/core.c:175 [inline]
blk_add_partitions block/partitions/core.c:616 [inline]
bdev_disk_changed+0x125a/0x16b0 block/partitions/core.c:702
blkdev_get_whole+0x2f9/0x390 block/bdev.c:682
blkdev_get_by_dev+0x2d0/0xa60 block/bdev.c:827
blkdev_open+0x12d/0x2c0 block/fops.c:466
do_dentry_open+0x7ff/0xf80 fs/open.c:826
do_open fs/namei.c:3616 [inline]
path_openat+0x2682/0x2f30 fs/namei.c:3750
do_filp_open+0x1b3/0x3e0 fs/namei.c:3777
do_sys_openat2+0x142/0x4a0 fs/open.c:1253
do_sys_open fs/open.c:1269 [inline]
__do_sys_openat fs/open.c:1285 [inline]
__se_sys_openat fs/open.c:1280 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1280
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9ab9094407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007fff88d46650 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f9ab8fa6880 RCX: 00007f9ab9094407
RDX: 00000000000a0800 RSI: 000055c63f427430 RDI: ffffffffffffff9c
RBP: 000055c63f426910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000055c63f443f10
R13: 000055c63f43e410 R14: 0000000000000000 R15: 000055c63f443f10