INFO: task syz-executor.1:22387 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.1 state:D stack:25296 pid:22387 ppid: 17861 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:0x7efc69d528a7
RSP: 002b:00007efc672c7fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000020000500 RCX: 00007efc69d528a7
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004
RBP: 00007efc672c86bc R08: 00007efc672c8040 R09: 0000000020000240
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000005 R14: 00007efc672c8000 R15: 0000000020000540
INFO: task syz-executor.1:22427 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.1 state:D stack:27088 pid:22427 ppid: 17861 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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680
__mutex_lock kernel/locking/mutex.c:740 [inline]
mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792
blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819
blkdev_open+0x137/0x2f0 block/fops.c:501
do_dentry_open+0x78b/0x1020 fs/open.c:822
do_open fs/namei.c:3426 [inline]
path_openat+0x2896/0x3660 fs/namei.c:3559
do_filp_open+0x277/0x4f0 fs/namei.c:3586
do_sys_openat2+0x13b/0x500 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_openat fs/open.c:1244 [inline]
__se_sys_openat fs/open.c:1239 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1239
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:0x7efc69d05a04
RSP: 002b:00007efc672a6ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007efc69d9c970 RCX: 00007efc69d05a04
RDX: 0000000000000002 RSI: 00007efc672a7000 RDI: 00000000ffffff9c
RBP: 00007efc672a7000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 0000000000000003 R14: 0000000020000500 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8cb1dc00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:4/279:
#0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478
#1: ffff8880b9a27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x46c/0x780 kernel/sched/psi.c:871
2 locks held by systemd-udevd/2969:
#0: ffff88801b3f1118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819
#1: ffff88801b364b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x68/0x100 drivers/block/loop.c:1733
1 lock held by in:imklog/6216:
#0: ffff88807a481c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
2 locks held by rs:main Q:Reg/6217:
#0: ffff88801a1645f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
#1: ffff88814aa22460 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x2b5/0xe90 fs/read_write.c:586
1 lock held by syz-executor.1/22387:
#0: ffff88801b364b60 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x6d/0x9b0 drivers/block/loop.c:1106
1 lock held by syz-executor.1/22427:
#0: ffff88801b3f1118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 26 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2967 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+0x265/0x4d0 kernel/locking/lockdep.c:5641
Code: c7 44 2f 15 00 00 43 c6 44 2f 17 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 00 01 00 00 0f 85 3d 02 00 00 48 8d 65 d8 5b 41 5c <41> 5d 41 5e 41 5f 5d c3 65 8b 05 7c 9e 9c 7e 85 c0 75 9e 65 8b 05
RSP: 0018:ffffc90001f97b30 EFLAGS: 00000046
RAX: 58cdb0091e7ff700 RBX: 1ffff920003f2f70 RCX: ffff88807a6fa758
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90001f97b48 R08: dffffc0000000000 R09: fffffbfff1ff33dd
R10: fffffbfff1ff33dd R11: 0000000000000000 R12: 0000000000000246
R13: 1ffff920003f2f48 R14: ffffc90001f97a80 R15: dffffc0000000000
FS: 00007fe1663108c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe162a7f000 CR3: 000000002215d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
__debug_check_no_obj_freed lib/debugobjects.c:980 [inline]
debug_check_no_obj_freed+0xa9/0x650 lib/debugobjects.c:1023
slab_free_hook mm/slub.c:1698 [inline]
slab_free_freelist_hook+0xcf/0x1a0 mm/slub.c:1749
slab_free mm/slub.c:3513 [inline]
kmem_cache_free+0x95/0x190 mm/slub.c:3529
do_sys_openat2+0x431/0x500 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+0x221/0x270 fs/open.c:1232
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:0x7fe16589f840
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:00007ffcad5f9818 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffcad5f9b20 RCX: 00007fe16589f840
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000565381fd2700
RBP: 000000000000000d R08: 000000000000c0c1 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000565381fc5040 R14: 00007ffcad5f9ae0 R15: 0000565381fd2520
----------------
Code disassembly (best guess), 4 bytes skipped:
0: 00 00 add %al,(%rax)
2: 43 c6 44 2f 17 00 movb $0x0,0x17(%r15,%r13,1)
8: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
f: 00 00
11: 48 3b 84 24 00 01 00 cmp 0x100(%rsp),%rax
18: 00
19: 0f 85 3d 02 00 00 jne 0x25c
1f: 48 8d 65 d8 lea -0x28(%rbp),%rsp
23: 5b pop %rbx
24: 41 5c pop %r12
* 26: 41 5d pop %r13 <-- trapping instruction
28: 41 5e pop %r14
2a: 41 5f pop %r15
2c: 5d pop %rbp
2d: c3 retq
2e: 65 8b 05 7c 9e 9c 7e mov %gs:0x7e9c9e7c(%rip),%eax # 0x7e9c9eb1
35: 85 c0 test %eax,%eax
37: 75 9e jne 0xffffffd7
39: 65 gs
3a: 8b .byte 0x8b
3b: 05 .byte 0x5