INFO: task syz-executor.3:25858 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.3 state:D stack:28792 pid:25858 ppid: 8389 flags:0x20004004
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
__do_compat_sys_ioctl+0x1c7/0x290 fs/ioctl.c:972
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf6f31549
RSP: 002b:00000000f44a75fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000004c81
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6446:
#0: ffff88807f6299f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by agetty/6470:
#0: ffff88801c28b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002ba32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
=============================================
NMI backtrace for cpu 0
CPU: 0 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2949 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:trace_lock_release include/trace/events/lock.h:58 [inline]
RIP: 0010:lock_release+0x76/0x720 kernel/locking/lockdep.c:5648
Code: f1 f1 f1 f1 c7 40 04 f1 f1 04 f2 c7 40 08 04 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 88 00 00 00 31 c0 0f 1f 44 00 00 <65> 8b 1d 7b 19 a5 7e 83 fb 07 0f 87 f6 04 00 00 89 db be 08 00 00
RSP: 0018:ffffc90001aafd40 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00000000000000c0 RCX: ffffffff815cb15f
RDX: 1ffff1100fb2788b RSI: ffffffff81b3fd02 RDI: ffffffff8bcc80e0
RBP: 1ffff92000355faa R08: 0000000000000000 R09: ffffffff8ff76a17
R10: fffffbfff1feed42 R11: 0000000000000000 R12: ffffffff8bcc80e0
R13: ffffffff814ecd1f R14: 0000000000000cc0 R15: 0000000000000cc0
FS: 00007f816c8be8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f816a184000 CR3: 000000002368b000 CR4: 00000000003526e0
Call Trace:
might_alloc include/linux/sched/mm.h:227 [inline]
slab_pre_alloc_hook mm/slab.h:492 [inline]
slab_alloc_node mm/slub.c:3148 [inline]
slab_alloc mm/slub.c:3242 [inline]
kmem_cache_alloc+0x3e/0x3a0 mm/slub.c:3247
prepare_creds+0x3f/0x7b0 kernel/cred.c:260
access_override_creds fs/open.c:351 [inline]
do_faccessat+0x3f4/0x850 fs/open.c:415
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:0x7f816bb799c7
Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007fff829d4ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007fff829d7af0 RCX: 00007f816bb799c7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005635177f19a3
RBP: 00007fff829d4c10 R08: 00005635177e73e5 R09: 0000000000000018
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000563517a5e8a0 R15: 00007fff829d5100
----------------
Code disassembly (best guess):
0: f1 icebp
1: f1 icebp
2: f1 icebp
3: f1 icebp
4: c7 40 04 f1 f1 04 f2 movl $0xf204f1f1,0x4(%rax)
b: c7 40 08 04 f3 f3 f3 movl $0xf3f3f304,0x8(%rax)
12: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
19: 00 00
1b: 48 89 84 24 88 00 00 mov %rax,0x88(%rsp)
22: 00
23: 31 c0 xor %eax,%eax
25: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
* 2a: 65 8b 1d 7b 19 a5 7e mov %gs:0x7ea5197b(%rip),%ebx # 0x7ea519ac <-- trapping instruction
31: 83 fb 07 cmp $0x7,%ebx
34: 0f 87 f6 04 00 00 ja 0x530
3a: 89 db mov %ebx,%ebx
3c: be .byte 0xbe
3d: 08 00 or %al,(%rax)