INFO: task syz-executor.0:26471 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27512 pid:26471 ppid: 5220 flags:0x00004004
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
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:0x7f98c7d29ae9
RSP: 002b:00007f98c525d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f98c7e3d0e0 RCX: 00007f98c7d29ae9
RDX: 0000000000000006 RSI: 000000000000ab00 RDI: 0000000000000005
RBP: 00007f98c7d83f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffb14c91af R14: 00007f98c525d300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb80ee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6233:
#0: ffff8880795d6630 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by kworker/u4:3/2902:
1 lock held by syz-executor.0/26471:
#0: ffff888147420198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2970 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_acquire+0x347/0x54a0 kernel/locking/lockdep.c:4965
Code: 03 01 c0 38 ca 7c 08 84 c9 0f 85 70 12 00 00 41 83 bd 44 0a 00 00 01 49 8d 7c 24 24 44 8b 8c 24 30 01 00 00 48 89 fa 83 d8 ff e5 0f c1 e0 0d 41 c1 e6 10 0f b7 ed 09 e8 41 81 e6 00 00 03 00
RSP: 0018:ffffc90001f57aa0 EFLAGS: 00000057
RAX: 0000000000000000 RBX: ffffffff906c7d20 RCX: 0000000000000000
RDX: ffff888018d94d04 RSI: 0000000000000004 RDI: ffff888018d94d04
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888018d94ce0
R13: ffff888018d94280 R14: 0000000000000000 R15: 0000000000000001
FS: 00007f7dcc7078c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7dc9563000 CR3: 000000007646c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5637 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162
__debug_check_no_obj_freed lib/debugobjects.c:980 [inline]
debug_check_no_obj_freed+0xc7/0x420 lib/debugobjects.c:1023
kmem_cache_free+0x147/0x200 mm/slab.c:3739
putname fs/namei.c:270 [inline]
putname+0xfe/0x140 fs/namei.c:256
do_sys_openat2+0x153/0x4d0 fs/open.c:1221
do_sys_open fs/open.c:1228 [inline]
__do_sys_open fs/open.c:1236 [inline]
__se_sys_open fs/open.c:1232 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1232
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:0x7f7dcbc96840
Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24
RSP: 002b:00007ffc35b93568 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffc35b93870 RCX: 00007f7dcbc96840
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055b2b7f21e60
RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000055b2b7f15060 R14: 00007ffc35b93830 R15: 000055b2b7f21c80
----------------
Code disassembly (best guess):
0: 03 01 add (%rcx),%eax
2: c0 38 ca sarb $0xca,(%rax)
5: 7c 08 jl 0xf
7: 84 c9 test %cl,%cl
9: 0f 85 70 12 00 00 jne 0x127f
f: 41 83 bd 44 0a 00 00 cmpl $0x1,0xa44(%r13)
16: 01
17: 49 8d 7c 24 24 lea 0x24(%r12),%rdi
1c: 44 8b 8c 24 30 01 00 mov 0x130(%rsp),%r9d
23: 00
24: 48 89 fa mov %rdi,%rdx
27: 83 d8 ff sbb $0xffffffff,%eax
* 2a: c1 e5 0f shl $0xf,%ebp <-- trapping instruction
2d: c1 e0 0d shl $0xd,%eax
30: 41 c1 e6 10 shl $0x10,%r14d
34: 0f b7 ed movzwl %bp,%ebp
37: 09 e8 or %ebp,%eax
39: 41 81 e6 00 00 03 00 and $0x30000,%r14d