INFO: task syz-executor.2:30781 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.2 state:D stack:26808 pid:30781 ppid: 6696 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
del_gendisk+0x598/0x860 block/genhd.c:623
loop_remove+0x39/0xf0 drivers/block/loop.c:2080
loop_control_remove drivers/block/loop.c:2137 [inline]
loop_control_ioctl+0x445/0x4a0 drivers/block/loop.c:2175
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:0x7fca29a3bae9
RSP: 002b:00007fca26fb1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fca29b4ef60 RCX: 00007fca29a3bae9
RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000005
RBP: 00007fca29a95f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fca2a082b2f R14: 00007fca26fb1300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6231:
#0: ffff888073255c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
=============================================
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: 2960 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+0xed2/0x54a0 kernel/locking/lockdep.c:5005
Code: 85 db 0f 85 82 f8 ff ff 48 c7 c6 60 17 ac 89 48 c7 c7 20 0b ac 89 e8 a7 46 b1 07 0f 0b 31 c0 e9 7c f7 ff ff 8b 05 be 9f ef 0e <85> c0 75 0a 49 83 ff ff 0f 85 f6 09 00 00 41 be 01 00 00 00 e9 41
RSP: 0018:ffffc90001adf418 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000028 RCX: ffffffff815cab4a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff76a00
RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff8ff76a07
R10: fffffbfff1feed40 R11: 000000000008808a R12: ffff88807b874460
R13: ffff88807b873a00 R14: 0000000000000000 R15: ffffffffffffffff
FS: 00007f4df5ba68c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4df31fd018 CR3: 0000000023ef6000 CR4: 00000000003526f0
Call Trace:
lock_acquire kernel/locking/lockdep.c:5637 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602
rcu_lock_acquire include/linux/rcupdate.h:268 [inline]
rcu_read_lock include/linux/rcupdate.h:688 [inline]
is_bpf_text_address+0x36/0x170 kernel/bpf/core.c:715
kernel_text_address kernel/extable.c:124 [inline]
kernel_text_address+0x39/0x80 kernel/extable.c:93
__kernel_text_address+0x9/0x30 kernel/extable.c:78
unwind_get_return_address arch/x86/kernel/unwind_orc.c:318 [inline]
unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:313
arch_stack_walk+0x93/0xe0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc_node mm/slub.c:3234 [inline]
slab_alloc mm/slub.c:3242 [inline]
kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3247
kmem_cache_zalloc include/linux/slab.h:714 [inline]
lsm_file_alloc security/security.c:572 [inline]
security_file_alloc+0x34/0x170 security/security.c:1516
__alloc_file+0xd8/0x280 fs/file_table.c:106
alloc_empty_file+0x6d/0x170 fs/file_table.c:150
path_openat+0xe1/0x2750 fs/namei.c:3545
do_filp_open+0x1aa/0x400 fs/namei.c:3586
do_sys_openat2+0x16d/0x4d0 fs/open.c:1212
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:0x7f4df5135840
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:00007ffdbb7a3dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffdbb7a40d0 RCX: 00007f4df5135840
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055f15d1954f0
RBP: 000000000000000d R08: 00000000000001e0 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000055f15d188040 R14: 00007ffdbb7a4090 R15: 000055f15d195310
----------------
Code disassembly (best guess):
0: 85 db test %ebx,%ebx
2: 0f 85 82 f8 ff ff jne 0xfffff88a
8: 48 c7 c6 60 17 ac 89 mov $0xffffffff89ac1760,%rsi
f: 48 c7 c7 20 0b ac 89 mov $0xffffffff89ac0b20,%rdi
16: e8 a7 46 b1 07 callq 0x7b146c2
1b: 0f 0b ud2
1d: 31 c0 xor %eax,%eax
1f: e9 7c f7 ff ff jmpq 0xfffff7a0
24: 8b 05 be 9f ef 0e mov 0xeef9fbe(%rip),%eax # 0xeef9fe8
* 2a: 85 c0 test %eax,%eax <-- trapping instruction
2c: 75 0a jne 0x38
2e: 49 83 ff ff cmp $0xffffffffffffffff,%r15
32: 0f 85 f6 09 00 00 jne 0xa2e
38: 41 be 01 00 00 00 mov $0x1,%r14d
3e: e9 .byte 0xe9
3f: 41 rex.B