INFO: task syz-executor.2:25371 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:28272 pid:25371 ppid: 21220 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178
nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1109
__nbd_ioctl drivers/block/nbd.c:1454 [inline]
nbd_ioctl+0x38c/0xb10 drivers/block/nbd.c:1511
blkdev_ioctl+0x37a/0x800 block/ioctl.c:609
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:0x7f2fdcbd0ae9
RSP: 002b:00007f2fda146188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2fdcce3f60 RCX: 00007f2fdcbd0ae9
RDX: 0000000000000007 RSI: 000000000000ab00 RDI: 0000000000000004
RBP: 00007f2fdcc2af6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff6189486f R14: 00007f2fda146300 R15: 0000000000022000
INFO: task syz-executor.2:25378 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:29592 pid:25378 ppid: 21220 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504
blkdev_ioctl+0x37a/0x800 block/ioctl.c:609
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:0x7f2fdcbd0ae9
RSP: 002b:00007f2fda125188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2fdcce4020 RCX: 00007f2fdcbd0ae9
RDX: 0000000000000000 RSI: 000000000000ab04 RDI: 0000000000000003
RBP: 00007f2fdcc2af6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff6189486f R14: 00007f2fda125300 R15: 0000000000022000
Showing all locks held in the system:
2 locks held by kworker/u4:1/10:
#0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
#1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x173/0x490 kernel/sched/psi.c:871
1 lock held by khungtaskd/27:
#0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by syz-executor.2/25371:
#0: ffff88801a8df198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504
1 lock held by syz-executor.2/25378:
#0: ffff88801a8df198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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:105
nmi_trigger_cpumask_backtrace+0x1ae/0x220 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: 17452 Comm: kworker/u4:24 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:trace_event_get_offsets_lock_acquire include/trace/events/lock.h:13 [inline]
RIP: 0010:perf_trace_lock_acquire+0xd2/0x550 include/trace/events/lock.h:13
Code: 8b 7e 18 48 c7 c0 60 11 ac 89 48 85 ff 48 0f 44 f8 e8 72 5c b1 02 49 8d 7d 78 49 89 c4 48 89 fa 8d 40 01 48 c1 ea 03 c1 e0 10 <83> c8 18 89 85 40 ff ff ff 48 b8 00 00 00 00 00 fc ff df 80 3c 02
RSP: 0018:ffffc9001961f750 EFLAGS: 00000016
RAX: 0000000000120000 RBX: 1ffff920032c3f0d RCX: 0000000000000001
RDX: 1ffffffff17501f3 RSI: ffffffff90726358 RDI: ffffffff8ba80f98
RBP: ffffc9001961f838 R08: 0000000000000000 R09: 0000000000000001
R10: fffffbfff1b22e62 R11: 0000000000000000 R12: 0000000000000011
R13: ffffffff8ba80f20 R14: ffffffff90726358 R15: ffffc9001961f810
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe8f3b30000 CR3: 000000000b88e000 CR4: 0000000000350ee0
Call Trace:
trace_lock_acquire include/trace/events/lock.h:13 [inline]
lock_acquire+0x416/0x510 kernel/locking/lockdep.c:5608
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162
debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661
debug_timer_activate kernel/time/timer.c:729 [inline]
__mod_timer+0x77d/0xe30 kernel/time/timer.c:1050
schedule_timeout+0x145/0x2a0 kernel/time/timer.c:1880
toggle_allocation_gate mm/kfence/core.c:739 [inline]
toggle_allocation_gate+0x305/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):
0: 8b 7e 18 mov 0x18(%rsi),%edi
3: 48 c7 c0 60 11 ac 89 mov $0xffffffff89ac1160,%rax
a: 48 85 ff test %rdi,%rdi
d: 48 0f 44 f8 cmove %rax,%rdi
11: e8 72 5c b1 02 callq 0x2b15c88
16: 49 8d 7d 78 lea 0x78(%r13),%rdi
1a: 49 89 c4 mov %rax,%r12
1d: 48 89 fa mov %rdi,%rdx
20: 8d 40 01 lea 0x1(%rax),%eax
23: 48 c1 ea 03 shr $0x3,%rdx
27: c1 e0 10 shl $0x10,%eax
* 2a: 83 c8 18 or $0x18,%eax <-- trapping instruction
2d: 89 85 40 ff ff ff mov %eax,-0xc0(%rbp)
33: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
3a: fc ff df
3d: 80 .byte 0x80
3e: 3c 02 cmp $0x2,%al