INFO: task systemd-udevd:12458 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:24784 pid:12458 ppid: 2971 flags:0x00004000
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
lo_release+0x4d/0x1f0 drivers/block/loop.c:1748
blkdev_put_whole block/bdev.c:694 [inline]
blkdev_put+0x477/0x7b0 block/bdev.c:956
blkdev_close+0x58/0x80 block/fops.c:515
__fput+0x3fc/0x870 fs/file_table.c:280
task_work_run+0x146/0x1c0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300
do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0c524a1270
RSP: 002b:00007ffc3a2d0918 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f0c524a1270
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f0c5335b710 R08: 00007f0c5335b8c0 R09: 000055cc8fe70700
R10: 00007f0c5335b8c0 R11: 0000000000000246 R12: 0000000000000000
R13: 000055cc8fe6b850 R14: 0000000000000003 R15: 000000000000000e
INFO: task syz-executor.0:12712 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.0 state:D stack:23248 pid:12712 ppid: 6525 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_set_status+0x183/0xa50 drivers/block/loop.c:1264
lo_ioctl+0xbc9/0x1f40
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:0x7f33394058a7
RSP: 002b:00007f333697aef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f333697af40 RCX: 00007f33394058a7
RDX: 00007f333697b050 RSI: 0000000000004c04 RDI: 0000000000000005
RBP: 00007f333945ff6d R08: 0000000000000000 R09: 00007f333697b0f0
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f333697b050
R13: 00007ffff322e46f R14: 00007f333697b300 R15: 0000000000022000
INFO: task syz-executor.0:12759 blocked for more than 144 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:25328 pid:12759 ppid: 6525 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:0x7f33393b8a04
RSP: 002b:00007f3336959ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f333944f970 RCX: 00007f33393b8a04
RDX: 0000000000000002 RSI: 00007f333695a000 RDI: 00000000ffffff9c
RBP: 00007f333695a000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 0000000000000006 R14: 0000000020000640 R15: 0000000000000000
INFO: task syz-executor.0:12762 blocked for more than 144 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27088 pid:12762 ppid: 6525 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:0x7f33393b8a04
RSP: 002b:00007f3336938e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f333944f970 RCX: 00007f33393b8a04
RDX: 0000000000000002 RSI: 00007f3336938f40 RDI: 00000000ffffff9c
RBP: 00007f3336938f40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 0000000000000008 R14: 00000000200017f0 R15: 0000000000000002
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cd1db00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:3/845:
#0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478
#1: ffffc90003defd20 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273
1 lock held by in:imklog/6221:
#0: ffff8880794e80f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
2 locks held by systemd-udevd/12458:
#0: ffff88823bc3a118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914
#1: ffff888147118360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748
1 lock held by syz-executor.0/12712:
#0: ffff888147118360 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0xa50 drivers/block/loop.c:1248
1 lock held by syz-executor.0/12759:
#0: ffff88823bc3a118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819
1 lock held by syz-executor.0/12762:
#0: ffff88823bc3a118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819
=============================================
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:105
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: 2966 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:to_info kernel/printk/printk_ringbuffer.c:366 [inline]
RIP: 0010:prb_read kernel/printk/printk_ringbuffer.c:1789 [inline]
RIP: 0010:_prb_read_valid+0x14c/0xc40 kernel/printk/printk_ringbuffer.c:1880
Code: 80 3c 18 00 74 08 4c 89 ff e8 c0 98 65 00 4d 8b 3f 4c 89 e0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 e7 e8 a8 98 65 00 49 8b 45 10 <48> 89 44 24 20 4d 89 ee 49 c1 ee 03 41 8a 04 1e 84 c0 0f 85 cd 08
RSP: 0018:ffffc90001f87840 EFLAGS: 00000246
RAX: ffffffff8cc36360 RBX: dffffc0000000000 RCX: ffff88807a8dd700
RDX: 0000000000000000 RSI: ffffc90001f87aa0 RDI: ffffffff8cbf9de0
RBP: ffffc90001f87a50 R08: dffffc0000000000 R09: ffffed100f4f8001
R10: ffffed100f4f8001 R11: 0000000000000000 R12: ffffffff8cbf9df0
R13: ffffffff8cbf9de0 R14: ffffffff8cbf9e00 R15: 0000000000000dc6
FS: 00007f18eee448c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f18ec328000 CR3: 0000000020b84000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
prb_read_valid+0xa5/0xf0 kernel/printk/printk_ringbuffer.c:1929
devkmsg_read+0x166/0x900 kernel/printk/printk.c:730
vfs_read+0x324/0xe60 fs/read_write.c:479
ksys_read+0x18f/0x2c0 fs/read_write.c:619
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:0x7f18ee3d3210
Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24
RSP: 002b:00007ffd0a334378 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007ffd0a336df0 RCX: 00007f18ee3d3210
RDX: 0000000000002000 RSI: 00007ffd0a334bf0 RDI: 0000000000000009
RBP: 0000000000000000 R08: 0000000000000008 R09: 0000000000000070
R10: 00007ffd0a38d118 R11: 0000000000000246 R12: 00007ffd0a334bf0
R13: 00007ffd0a336d48 R14: 000055fe1c7fc958 R15: 0005d113171608e5
----------------
Code disassembly (best guess):
0: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1)
4: 74 08 je 0xe
6: 4c 89 ff mov %r15,%rdi
9: e8 c0 98 65 00 callq 0x6598ce
e: 4d 8b 3f mov (%r15),%r15
11: 4c 89 e0 mov %r12,%rax
14: 48 c1 e8 03 shr $0x3,%rax
18: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1)
1c: 74 08 je 0x26
1e: 4c 89 e7 mov %r12,%rdi
21: e8 a8 98 65 00 callq 0x6598ce
26: 49 8b 45 10 mov 0x10(%r13),%rax
* 2a: 48 89 44 24 20 mov %rax,0x20(%rsp) <-- trapping instruction
2f: 4d 89 ee mov %r13,%r14
32: 49 c1 ee 03 shr $0x3,%r14
36: 41 8a 04 1e mov (%r14,%rbx,1),%al
3a: 84 c0 test %al,%al
3c: 0f .byte 0xf
3d: 85 cd test %ecx,%ebp
3f: 08 .byte 0x8