INFO: task systemd-udevd:2970 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:systemd-udevd state:D stack:22616 pid: 2970 ppid: 1 flags:0x00004000
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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819
blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859
blkdev_open+0x154/0x2e0 block/fops.c:501
do_dentry_open+0x4c8/0x1250 fs/open.c:822
do_open fs/namei.c:3426 [inline]
path_openat+0x1cad/0x2750 fs/namei.c:3559
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:0x7fd97dd40840
RSP: 002b:00007fff817a8c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fff817a8cf0 RCX: 00007fd97dd40840
RDX: 000055b5578cdfe3 RSI: 00000000000a0800 RDI: 000055b557e652d0
RBP: 0000000000000000 R08: 000055b5578cd670 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff817a8de0
R13: 000055b557e54010 R14: 000055b557e723e0 R15: 00007fff817a8cb0
INFO: task syz-executor.3:17148 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:29456 pid:17148 ppid: 6789 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
loop_set_status+0x440/0x930 drivers/block/loop.c:1264
loop_set_status_compat+0xac/0x100 drivers/block/loop.c:1674
lo_compat_ioctl+0xeb/0x110 drivers/block/loop.c:1700
compat_blkdev_ioctl+0x3b8/0x810 block/ioctl.c:674
__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:0xf6f54549
RSP: 002b:00000000f452d5fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000004c02
RDX: 0000000020000780 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: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by systemd-udevd/2970:
#0: ffff88801a548918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819
2 locks held by in:imklog/6233:
2 locks held by systemd-udevd/17135:
#0: ffff88801a548918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819
#1: ffff88801a544b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733
1 lock held by syz-executor.3/17148:
#0: ffff88801a544b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 drivers/block/loop.c:1248
=============================================
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:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 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: 2964 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+0x126/0x54a0 kernel/locking/lockdep.c:4926
Code: d6 48 89 df e8 2b 6d 00 00 48 85 c0 0f 84 18 0d 00 00 49 8d b5 58 0a 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 f1 48 89 34 24 <48> c1 e9 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e 33 14 00 00 48
RSP: 0018:ffffc90001eefb78 EFLAGS: 00000082
RAX: ffffffff8ff7e9e0 RBX: ffffffff8bcc81e0 RCX: ffff88807ac0c458
RDX: dffffc0000000000 RSI: ffff88807ac0c458 RDI: ffffffff8bcc81e8
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88807ac0ba00 R14: 0000000000000000 R15: 0000000000000000
FS: 00007effc44278c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007effc191b010 CR3: 00000000223af000 CR4: 00000000003506e0
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
fs_reclaim_acquire mm/page_alloc.c:4552 [inline]
fs_reclaim_acquire+0xd2/0x160 mm/page_alloc.c:4543
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]
__kmalloc+0x58/0x340 mm/slub.c:4419
kmalloc include/linux/slab.h:595 [inline]
kzalloc include/linux/slab.h:724 [inline]
lsm_cred_alloc security/security.c:537 [inline]
security_prepare_creds+0x10e/0x190 security/security.c:1692
prepare_creds+0x56e/0x7b0 kernel/cred.c:291
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:0x7effc36e29c7
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:00007ffcdbb8d7d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffcdbb90800 RCX: 00007effc36e29c7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000558655d159a3
RBP: 00007ffcdbb8d920 R08: 0000558655d0b3e5 R09: 0000000000000018
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000558656fa98a0 R15: 00007ffcdbb8de10
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 48 89 df mov %rbx,%rdi
3: e8 2b 6d 00 00 callq 0x6d33
8: 48 85 c0 test %rax,%rax
b: 0f 84 18 0d 00 00 je 0xd29
11: 49 8d b5 58 0a 00 00 lea 0xa58(%r13),%rsi
18: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
1f: fc ff df
22: 48 89 f1 mov %rsi,%rcx
25: 48 89 34 24 mov %rsi,(%rsp)
* 29: 48 c1 e9 03 shr $0x3,%rcx <-- trapping instruction
2d: 0f b6 14 11 movzbl (%rcx,%rdx,1),%edx
31: 84 d2 test %dl,%dl
33: 74 09 je 0x3e
35: 80 fa 03 cmp $0x3,%dl
38: 0f 8e 33 14 00 00 jle 0x1471
3e: 48 rex.W