INFO: task syz-executor.0:5444 blocked for more than 143 seconds.
Not tainted 6.7.0-rc1-next-20231115-syzkaller-01493-gbc962b35b139 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27888 pid:5444 tgid:5443 ppid:5421 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0xede/0x5b00 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0xe7/0x270 kernel/sched/core.c:6778
schedule_timeout+0x254/0x290 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3da/0x5f0 kernel/sched/completion.c:116
__flush_workqueue+0x3e0/0x1340 kernel/workqueue.c:3201
nbd_start_device_ioctl drivers/block/nbd.c:1425 [inline]
__nbd_ioctl drivers/block/nbd.c:1486 [inline]
nbd_ioctl+0x308/0xd60 drivers/block/nbd.c:1526
blkdev_ioctl+0x2f9/0x770 block/ioctl.c:633
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl fs/ioctl.c:857 [inline]
__x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x62/0x6a
RIP: 0033:0x456e69
RSP: 002b:00007f7081edd0d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000055bf80 RCX: 0000000000456e69
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00000000004b0cab R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004b02b7
R13: 000000000000000b R14: 000000000055bf80 R15: 00007ffec9387a68
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
2 locks held by getty/4817:
#0: ffff8880262c70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc4/0x1490 drivers/tty/n_tty.c:2201
2 locks held by kworker/u5:2/5066:
#0: ffff88801cdbf138 ((wq_completion)nbd0-recv){+.+.}-{0:0}, at: process_one_work+0x78c/0x15f0 kernel/workqueue.c:2611
#1: ffffc90004267d80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7f6/0x15f0 kernel/workqueue.c:2612
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc1-next-20231115-syzkaller-01493-gbc962b35b139 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 12 Comm: kworker/u4:1 Not tainted 6.7.0-rc1-next-20231115-syzkaller-01493-gbc962b35b139 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:mark_lock+0xce/0xc50 kernel/locking/lockdep.c:4655
Code: 44 89 f1 41 d3 e5 4d 63 ed 48 89 df e8 bb 6f ff ff 48 ba 00 00 00 00 00 fc ff df 48 8d 78 60 48 89 f9 48 c1 e9 03 80 3c 11 00 <0f> 85 94 09 00 00 4c 89 ee 48 23 70 60 ba 01 00 00 00 0f 84 16 01
RSP: 0018:ffffc90000117520 EFLAGS: 00000046
RAX: ffffffff91f1ccd0 RBX: ffff888015e7e4f0 RCX: 1ffffffff23e39a6
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff91f1cd30
RBP: ffffc90000117658 R08: 0000000000000000 R09: fffffbfff23e33e8
R10: ffffffff91f19f47 R11: 0000000000000005 R12: ffff888015e7d940
R13: 0000000000000100 R14: 0000000000000008 R15: 1ffff92000022eaa
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff6a052eac CR3: 000000000cd78000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_usage kernel/locking/lockdep.c:4598 [inline]
__lock_acquire+0x980/0x3b10 kernel/locking/lockdep.c:5090
lock_acquire kernel/locking/lockdep.c:5753 [inline]
lock_acquire+0x1b1/0x530 kernel/locking/lockdep.c:5718
__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:351 [inline]
__pte_offset_map_lock+0xf1/0x2f0 mm/pgtable-generic.c:373
pte_offset_map_lock include/linux/mm.h:2957 [inline]
__get_locked_pte+0x75/0xc0 mm/memory.c:1839
get_locked_pte include/linux/mm.h:2682 [inline]
__text_poke+0x224/0xca0 arch/x86/kernel/alternative.c:1822
text_poke_bp_batch+0x1cd/0x750 arch/x86/kernel/alternative.c:2215
text_poke_flush arch/x86/kernel/alternative.c:2409 [inline]
text_poke_flush arch/x86/kernel/alternative.c:2406 [inline]
text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2416
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
jump_label_update+0x1d7/0x400 kernel/jump_label.c:829
static_key_disable_cpuslocked+0x154/0x1c0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate mm/kfence/core.c:835 [inline]
toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:822
process_one_work+0x8a4/0x15f0 kernel/workqueue.c:2636
process_scheduled_works kernel/workqueue.c:2709 [inline]
worker_thread+0x8b6/0x1290 kernel/workqueue.c:2790
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242