INFO: task udevd:2971 blocked for more than 143 seconds.
Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:25240 pid: 2971 ppid: 1 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817
blkdev_get_by_dev+0x6b/0x80 block/bdev.c:860
blkdev_reread_part block/ioctl.c:103 [inline]
blkdev_common_ioctl+0x13a2/0x1910 block/ioctl.c:525
blkdev_ioctl+0x2ca/0x800 block/ioctl.c:603
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fca8481b0e7
RSP: 002b:00007ffc50779ff8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fca8481b0e7
RDX: 0000000000000000 RSI: 000000000000125f RDI: 000000000000000c
RBP: 0000564b969b7330 R08: 0000000000000008 R09: 0000564b959ada60
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc5077a228
R13: 000000000000000c R14: 0000564b95f60880 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by udevd/2971:
#0: ffff88801a570918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817
2 locks held by getty/3280:
#0: ffff88814ac63098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
1 lock held by syz-executor.1/17236:
#0: ffff88801a570918 (&disk->open_mutex){+.+.}-{3:3}, at: loop_reread_partitions+0x43/0xd0 drivers/block/loop.c:516
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 829 Comm: kworker/u4:41 Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__default_send_IPI_dest_field+0x7c/0x130 arch/x86/kernel/apic/ipi.c:173
Code: 00 c3 5f ff f6 c4 10 75 e2 44 89 e7 c1 e7 18 89 3c 25 10 c3 5f ff 89 f0 09 d8 80 cf 04 83 fe 02 0f 44 c3 89 04 25 00 c3 5f ff <48> 83 c4 08 5b 5d 41 5c c3 48 c7 c0 60 4a 56 8b 48 ba 00 00 00 00
RSP: 0018:ffffc9000f1ff9b0 EFLAGS: 00000006
RAX: 00000000000008fb RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000800 RSI: 00000000000000fb RDI: 0000000001000000
RBP: fffffbffffebf860 R08: 0000000000000000 R09: ffff8880b9d3ab97
R10: ffffffff817de23d R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000008
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0139af040 CR3: 000000000b88e000 CR4: 0000000000350ee0
Call Trace:
_flat_send_IPI_mask+0x4e/0x60 arch/x86/kernel/apic/apic_flat_64.c:56
smp_call_function_many_cond+0xa33/0xc20 kernel/smp.c:949
on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1112 [inline]
text_poke_bp_batch+0x1b3/0x560 arch/x86/kernel/alternative.c:1297
text_poke_flush arch/x86/kernel/alternative.c:1451 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1448 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
jump_label_update+0x1d5/0x430 kernel/jump_label.c:830
static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207
static_key_disable+0x16/0x20 kernel/jump_label.c:215
toggle_allocation_gate mm/kfence/core.c:746 [inline]
toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:724
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess), 4 bytes skipped:
0: f6 c4 10 test $0x10,%ah
3: 75 e2 jne 0xffffffe7
5: 44 89 e7 mov %r12d,%edi
8: c1 e7 18 shl $0x18,%edi
b: 89 3c 25 10 c3 5f ff mov %edi,0xffffffffff5fc310
12: 89 f0 mov %esi,%eax
14: 09 d8 or %ebx,%eax
16: 80 cf 04 or $0x4,%bh
19: 83 fe 02 cmp $0x2,%esi
1c: 0f 44 c3 cmove %ebx,%eax
1f: 89 04 25 00 c3 5f ff mov %eax,0xffffffffff5fc300
* 26: 48 83 c4 08 add $0x8,%rsp <-- trapping instruction
2a: 5b pop %rbx
2b: 5d pop %rbp
2c: 41 5c pop %r12
2e: c3 retq
2f: 48 c7 c0 60 4a 56 8b mov $0xffffffff8b564a60,%rax
36: 48 rex.W
37: ba 00 00 00 00 mov $0x0,%edx