INFO: task udevd:5030 blocked for more than 143 seconds.
Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:26480 pid:5030 ppid:4446 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
io_schedule+0xbe/0x130 kernel/sched/core.c:8979
folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1301
__folio_lock mm/filemap.c:1664 [inline]
folio_lock include/linux/pagemap.h:955 [inline]
folio_lock include/linux/pagemap.h:951 [inline]
__filemap_get_folio+0x789/0x990 mm/filemap.c:1937
truncate_inode_pages_range+0x350/0xf10 mm/truncate.c:377
kill_bdev block/bdev.c:76 [inline]
blkdev_flush_mapping+0x152/0x320 block/bdev.c:596
blkdev_put_whole+0xcb/0xf0 block/bdev.c:627
blkdev_put+0x220/0x780 block/bdev.c:887
blkdev_close+0x68/0x80 block/fops.c:507
__fput+0x27c/0xa90 fs/file_table.c:321
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xaa3/0x29b0 kernel/exit.c:874
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x2318/0x25b0 kernel/signal.c:2876
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9b99d169a4
RSP: 002b:00007ffc4d91de50 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: 0000000000000008 RBX: 0000557397e26ad0 RCX: 00007f9b99d169a4
RDX: 00000000000a0800 RSI: 0000557397df30d0 RDI: 00000000ffffff9c
RBP: 0000557397df30d0 R08: 0000000000000001 R09: 00007ffc4d91f080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 0000557397e155c0 R14: 00007ffc4d91defc R15: 0000557397deb2c0
INFO: task syz-executor412:5038 blocked for more than 143 seconds.
Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor412 state:D stack:28432 pid:5038 ppid:5024 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747
blkdev_get_by_dev+0x6f/0x90 block/bdev.c:790
blkdev_open+0x140/0x2d0 block/fops.c:493
do_dentry_open+0x6cc/0x13f0 fs/open.c:920
do_open fs/namei.c:3636 [inline]
path_openat+0x1baa/0x2750 fs/namei.c:3791
do_filp_open+0x1ba/0x410 fs/namei.c:3818
do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_openat fs/open.c:1388 [inline]
__se_sys_openat fs/open.c:1383 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1383
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f3805240c34
RSP: 002b:00007f3805230e70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3805240c34
RDX: 0000000000000000 RSI: 00007f3805230ef0 RDI: 00000000ffffff9c
RBP: 00007f3805230ef0 R08: 0000000000000000 R09: 00007f3805231700
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f38052d51a4 R14: 64626e2f7665642f R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c795530 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c795230 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/27:
#0: ffffffff8c796140 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559
1 lock held by klogd/4435:
#0: ffff8880b993c418 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558
2 locks held by getty/4748:
#0: ffff88814bc77098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900020182f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
1 lock held by udevd/5030:
#0: ffff88801f5814c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xba/0x780 block/bdev.c:845
1 lock held by syz-executor412/5038:
#0: ffff88801f5814c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 74 Comm: kworker/u4:4 Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:check_preemption_disabled+0x9/0x170 lib/smp_processor_id.c:13
Code: 0f 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 6f fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 56 41 55 49 89 f5 41 54 <55> 48 89 fd 53 0f 1f 44 00 00 65 44 8b 25 d1 1a f4 75 65 8b 1d c6
RSP: 0018:ffffc9000205f888 EFLAGS: 00000082
RAX: 0000000000000001 RBX: 1ffff9200040bf17 RCX: 00000000000111d0
RDX: 1ffff110031dd170 RSI: ffffffff8a4c5ea0 RDI: ffffffff8aa6f880
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff9151fd07
R10: fffffbfff22a3fa0 R11: 0000000000000001 R12: 0000000000000000
R13: ffffffff8a4c5ea0 R14: ffff888012467078 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557c04ade270 CR3: 000000000c571000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline]
lock_acquire kernel/locking/lockdep.c:5707 [inline]
lock_acquire+0x1c1/0x520 kernel/locking/lockdep.c:5670
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:350 [inline]
__get_locked_pte+0x158/0x270 mm/memory.c:1810
get_locked_pte include/linux/mm.h:2583 [inline]
__text_poke+0x1b3/0x890 arch/x86/kernel/alternative.c:1584
text_poke arch/x86/kernel/alternative.c:1669 [inline]
text_poke_bp_batch+0x3af/0x770 arch/x86/kernel/alternative.c:1992
text_poke_flush arch/x86/kernel/alternative.c:2161 [inline]
text_poke_flush arch/x86/kernel/alternative.c:2158 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168
arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146
jump_label_update+0x32f/0x410 kernel/jump_label.c:829
static_key_disable_cpuslocked+0x156/0x1b0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate mm/kfence/core.c:836 [inline]
toggle_allocation_gate+0x143/0x230 mm/kfence/core.c:823
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.925 msecs