INFO: task systemd-udevd:2973 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-next-20211118-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:systemd-udevd state:D stack:22616 pid: 2973 ppid: 1 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4987 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6268
schedule+0xd2/0x260 kernel/sched/core.c:6341
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400
__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:0x7fd36b569840
RSP: 002b:00007fff3c2bda18 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fff3c2bdb50 RCX: 00007fd36b569840
RDX: 000055f7ebb2bfe3 RSI: 00000000000a0800 RDI: 000055f7ecca3640
RBP: 0000000000000000 R08: 000055f7ebb2b670 R09: 0000000000000010
R10: 0000000000000020 R11: 0000000000000246 R12: 00007fff3c2bdbc0
R13: 000055f7ecc5b010 R14: 000055f7eccb9e00 R15: 00007fff3c2bda90
INFO: task syz-executor.3:10321 can't die for more than 143 seconds.
task:syz-executor.3 state:D stack:27296 pid:10321 ppid: 6585 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4987 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6268
schedule+0xd2/0x260 kernel/sched/core.c:6341
blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178
__loop_clr_fd+0x1ae/0x1070 drivers/block/loop.c:1122
lo_release+0x1ac/0x1f0 drivers/block/loop.c:1761
blkdev_put_whole block/bdev.c:694 [inline]
blkdev_put+0x2fb/0x9e0 block/bdev.c:956
deactivate_locked_super+0x94/0x160 fs/super.c:335
get_tree_bdev+0x573/0x760 fs/super.c:1297
vfs_get_tree+0x89/0x2f0 fs/super.c:1500
do_new_mount fs/namespace.c:2988 [inline]
path_mount+0x1320/0x1fa0 fs/namespace.c:3318
do_mount fs/namespace.c:3331 [inline]
__do_sys_mount fs/namespace.c:3539 [inline]
__se_sys_mount fs/namespace.c:3516 [inline]
__x64_sys_mount+0x27f/0x300 fs/namespace.c:3516
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:0x7fec810ff01a
RSP: 002b:00007fec7e630fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000080 RCX: 00007fec810ff01a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fec7e631000
RBP: 00007fec7e631040 R08: 00007fec7e631040 R09: 0000000020000000
R10: 0000000000000010 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 00007fec7e631000 R15: 0000000020000400
INFO: task syz-executor.3:10321 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-next-20211118-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27296 pid:10321 ppid: 6585 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4987 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6268
schedule+0xd2/0x260 kernel/sched/core.c:6341
blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178
__loop_clr_fd+0x1ae/0x1070 drivers/block/loop.c:1122
lo_release+0x1ac/0x1f0 drivers/block/loop.c:1761
blkdev_put_whole block/bdev.c:694 [inline]
blkdev_put+0x2fb/0x9e0 block/bdev.c:956
deactivate_locked_super+0x94/0x160 fs/super.c:335
get_tree_bdev+0x573/0x760 fs/super.c:1297
vfs_get_tree+0x89/0x2f0 fs/super.c:1500
do_new_mount fs/namespace.c:2988 [inline]
path_mount+0x1320/0x1fa0 fs/namespace.c:3318
do_mount fs/namespace.c:3331 [inline]
__do_sys_mount fs/namespace.c:3539 [inline]
__se_sys_mount fs/namespace.c:3516 [inline]
__x64_sys_mount+0x27f/0x300 fs/namespace.c:3516
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:0x7fec810ff01a
RSP: 002b:00007fec7e630fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000080 RCX: 00007fec810ff01a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fec7e631000
RBP: 00007fec7e631040 R08: 00007fec7e631040 R09: 0000000020000000
R10: 0000000000000010 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 00007fec7e631000 R15: 0000000020000400
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by systemd-journal/2967:
#0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
1 lock held by systemd-udevd/2973:
#0: ffff88801ad37918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819
1 lock held by in:imklog/6387:
#0: ffff88802409c370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by syz-executor.3/10321:
#0: ffff88801ad37918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914
#1: ffff88801ad33360 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x7a/0x1070 drivers/block/loop.c:1106
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-next-20211118-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:254 [inline]
watchdog+0xcb7/0xed0 kernel/hung_task.c:339
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: 2967 Comm: systemd-journal Not tainted 5.16.0-rc1-next-20211118-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_kcov_mode+0x2c/0x40 kernel/kcov.c:177
Code: 05 a9 d0 8a 7e 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 ac 15 00 00 85 d2 74 0b 8b 86 88 15 00 00 <39> f8 0f 94 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 31 c0
RSP: 0018:ffffc90001fb7ae0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88807ae51d40 RDI: 0000000000000003
RBP: ffff88807c4e93d0 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff839b8484 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88807c4e93d0 R14: 0000000000000081 R15: ffff88807c4e93d2
FS: 00007f9300c858c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f92fe120018 CR3: 000000007af56000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
write_comp_data kernel/kcov.c:221 [inline]
__sanitizer_cov_trace_const_cmp4+0x1c/0x70 kernel/kcov.c:287
security_inode_permission+0x54/0xf0 security/security.c:1312
inode_permission.part.0+0x119/0x440 fs/namei.c:532
inode_permission fs/namei.c:505 [inline]
may_lookup fs/namei.c:1683 [inline]
link_path_walk.part.0+0x277/0xd00 fs/namei.c:2239
link_path_walk fs/namei.c:2221 [inline]
path_lookupat+0xc8/0x860 fs/namei.c:2448
filename_lookup+0x1c6/0x590 fs/namei.c:2478
user_path_at_empty+0x42/0x60 fs/namei.c:2801
user_path_at include/linux/namei.h:57 [inline]
do_faccessat+0x127/0x850 fs/open.c:421
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:0x7f92fff409c7
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:00007ffd717f9488 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffd717fc3a0 RCX: 00007f92fff409c7
RDX: 00007f93009b1a00 RSI: 0000000000000000 RDI: 000055b8634439a3
RBP: 00007ffd717f94c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffd717fc3a0 R15: 00007ffd717f99b0
----------------
Code disassembly (best guess):
0: 05 a9 d0 8a 7e add $0x7e8ad0a9,%eax
5: 89 c2 mov %eax,%edx
7: 81 e2 00 01 00 00 and $0x100,%edx
d: a9 00 01 ff 00 test $0xff0100,%eax
12: 74 10 je 0x24
14: 31 c0 xor %eax,%eax
16: 85 d2 test %edx,%edx
18: 74 15 je 0x2f
1a: 8b 96 ac 15 00 00 mov 0x15ac(%rsi),%edx
20: 85 d2 test %edx,%edx
22: 74 0b je 0x2f
24: 8b 86 88 15 00 00 mov 0x1588(%rsi),%eax
* 2a: 39 f8 cmp %edi,%eax <-- trapping instruction
2c: 0f 94 c0 sete %al
2f: c3 retq
30: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
37: 00 00 00 00
3b: 0f 1f 00 nopl (%rax)
3e: 31 c0 xor %eax,%eax