INFO: task syz-executor.3:10230 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:22896 pid:10230 ppid: 8445 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178
__loop_clr_fd+0x1c6/0x9b0 drivers/block/loop.c:1122
loop_clr_fd drivers/block/loop.c:1237 [inline]
lo_ioctl+0x107b/0x1f40 drivers/block/loop.c:1562
blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5725abd8a7
RSP: 002b:00007f5723032fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000200003c0 RCX: 00007f5725abd8a7
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000005
RBP: 00007f57230336bc R08: 00007f5723033040 R09: 0000000020000100
R10: 0000000002200080 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000016 R14: 00007f5723033000 R15: 0000000020000400
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1dc00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by systemd-udevd/2970:
#0: ffff88801b33b118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819
#1: ffff88801b2beb60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x68/0x100 drivers/block/loop.c:1733
1 lock held by in:imklog/6188:
#0: ffff88801e7d5270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
2 locks held by kworker/u4:6/8297:
1 lock held by syz-executor.3/10230:
#0: ffff88801b2beb60 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x6d/0x9b0 drivers/block/loop.c:1106
=============================================
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+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2956 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:kmem_cache_free+0x60/0x190
Code: 6c ff 49 89 c4 49 c1 ec 06 49 83 e4 c0 48 b9 00 00 00 00 00 ea ff ff 49 8b 44 0c 08 89 c2 83 e2 01 48 85 d2 0f 85 15 01 00 00 <49> 01 cc 4c 8b 6c 24 58 4c 89 74 24 10 48 c7 44 24 08 00 00 00 00
RSP: 0018:ffffc90001d0fdc0 EFLAGS: 00000246
RAX: ffffea0000823880 RBX: ffff88801d5fae00 RCX: ffffea0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90001d0ff10 R08: ffffffff813bae57 R09: fffffbfff19394fd
R10: fffffbfff19394fd R11: 0000000000000000 R12: 000000000084ec00
R13: 0000000000000000 R14: ffff8880213b0b00 R15: ffff888140006140
FS: 00007fe3d4fbd8c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe3d240b000 CR3: 000000001d2a2000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
do_faccessat+0x798/0x940 fs/open.c:462
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe3d42789c7
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:00007ffd79e3f758 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffd79e42780 RCX: 00007fe3d42789c7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005594c1df89a3
RBP: 00007ffd79e3f8a0 R08: 00005594c1dee3e5 R09: 0000000000000018
R10: 0000000000000090 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00005594c348f8a0 R15: 00007ffd79e3fd90
----------------
Code disassembly (best guess), 2 bytes skipped:
0: 49 89 c4 mov %rax,%r12
3: 49 c1 ec 06 shr $0x6,%r12
7: 49 83 e4 c0 and $0xffffffffffffffc0,%r12
b: 48 b9 00 00 00 00 00 movabs $0xffffea0000000000,%rcx
12: ea ff ff
15: 49 8b 44 0c 08 mov 0x8(%r12,%rcx,1),%rax
1a: 89 c2 mov %eax,%edx
1c: 83 e2 01 and $0x1,%edx
1f: 48 85 d2 test %rdx,%rdx
22: 0f 85 15 01 00 00 jne 0x13d
* 28: 49 01 cc add %rcx,%r12 <-- trapping instruction
2b: 4c 8b 6c 24 58 mov 0x58(%rsp),%r13
30: 4c 89 74 24 10 mov %r14,0x10(%rsp)
35: 48 c7 44 24 08 00 00 movq $0x0,0x8(%rsp)
3c: 00 00