INFO: task systemd-udevd:2969 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:19856 pid: 2969 ppid: 1 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
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:0x7feb2e84c270
RSP: 002b:00007ffcc6b6ae98 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007ffcc6b6af90 RCX: 00007feb2e84c270
RDX: 0000000000000000 RSI: 000000000000125f RDI: 000000000000000e
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcc6b6b040
R13: 000055621366a010 R14: 0000556213687a30 R15: 00007ffcc6b6af10
INFO: task syz-executor.5:21546 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.5 state:D stack:24496 pid:21546 ppid: 12541 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
__bio_queue_enter+0x35a/0x690 block/blk-core.c:441
bio_queue_enter block/blk.h:91 [inline]
blk_mq_get_request block/blk-mq.c:2588 [inline]
blk_mq_submit_bio+0x7c9/0x2750 block/blk-mq.c:2632
__submit_bio+0x15d/0x330 block/blk-core.c:849
__submit_bio_noacct_mq block/blk-core.c:924 [inline]
submit_bio_noacct+0x844/0x9e0 block/blk-core.c:950
submit_bio+0x2d2/0x520 block/blk-core.c:1011
submit_bh fs/buffer.c:3060 [inline]
block_read_full_page+0xeda/0x1230 fs/buffer.c:2339
filemap_read_page+0x174/0x400 mm/filemap.c:2391
filemap_update_page mm/filemap.c:2470 [inline]
filemap_get_pages+0x150f/0x1ac0 mm/filemap.c:2579
filemap_read+0x3f6/0x10f0 mm/filemap.c:2642
call_read_iter include/linux/fs.h:2156 [inline]
generic_file_splice_read+0x482/0x760 fs/splice.c:311
do_splice_to fs/splice.c:796 [inline]
splice_direct_to_actor+0x45f/0xd00 fs/splice.c:870
do_splice_direct+0x291/0x3e0 fs/splice.c:979
do_sendfile+0x6fe/0x1040 fs/read_write.c:1245
__do_sys_sendfile64 fs/read_write.c:1310 [inline]
__se_sys_sendfile64+0x171/0x1d0 fs/read_write.c:1296
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:0x7fe21a337ae9
RSP: 002b:00007fe21788c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fe21a44b020 RCX: 00007fe21a337ae9
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004
RBP: 00007fe21a391f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000024002da8 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe3466fa3f R14: 00007fe21788c300 R15: 0000000000022000
INFO: task syz-executor.5:21548 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.5 state:D stack:26128 pid:21548 ppid: 12541 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:0x7fe21a337ae9
RSP: 002b:00007fe21786b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe21a44b0e0 RCX: 00007fe21a337ae9
RDX: 0000000020000780 RSI: 0000000000004c02 RDI: 0000000000000004
RBP: 00007fe21a391f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe3466fa3f R14: 00007fe21786b300 R15: 0000000000022000
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 systemd-udevd/2969:
#0: ffff88801b364118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfa/0x7b0 block/bdev.c:914
#1: ffff888146ec0b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748
1 lock held by in:imklog/6197:
2 locks held by agetty/6227:
#0: ffff888023e57098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc9000282c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113
2 locks held by agetty/6229:
#0: ffff88802432e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc9000285c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113
1 lock held by syz-executor.5/21546:
#0: ffff888017b45008 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff888017b45008 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_update_page mm/filemap.c:2441 [inline]
#0: ffff888017b45008 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_get_pages+0x94c/0x1ac0 mm/filemap.c:2579
1 lock held by syz-executor.5/21548:
#0: ffff888146ec0b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0xa50 drivers/block/loop.c:1248
=============================================
NMI backtrace for cpu 1
CPU: 1 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9559 Comm: kworker/u4:8 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:se_is_idle kernel/sched/fair.c:454 [inline]
RIP: 0010:check_preempt_wakeup+0x49d/0xc40 kernel/sched/fair.c:7149
Code: 85 68 ff ff ff 48 bd 00 00 00 00 00 fc ff df 4d 85 e4 0f 84 93 07 00 00 49 8d 9f 80 00 00 00 48 89 d8 48 c1 e8 03 80 3c 28 00 <74> 08 48 89 df e8 d9 65 71 00 4c 8b 2b 4d 85 ed 0f 84 24 01 00 00
RSP: 0018:ffffc900051279b0 EFLAGS: 00000046
RAX: 1ffff110037383c0 RBX: ffff88801b9c1e00 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880181cd7f8
RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed10037383a1
R10: ffffed10037383a1 R11: 0000000000000000 R12: ffff8880181cd780
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88801b9c1d80
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2fe0fb2000 CR3: 000000000ca8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
check_preempt_curr+0xd1/0x290 kernel/sched/core.c:2116
ttwu_do_wakeup+0x27/0x4d0 kernel/sched/core.c:3547
ttwu_queue+0x185/0x320 kernel/sched/core.c:3796
try_to_wake_up+0x6ee/0xd20 kernel/sched/core.c:4119
wake_up_worker kernel/workqueue.c:856 [inline]
process_one_work+0x706/0x1140 kernel/workqueue.c:2261
worker_thread+0xac1/0x1320 kernel/workqueue.c:2445
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess), 5 bytes skipped:
0: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp
7: fc ff df
a: 4d 85 e4 test %r12,%r12
d: 0f 84 93 07 00 00 je 0x7a6
13: 49 8d 9f 80 00 00 00 lea 0x80(%r15),%rbx
1a: 48 89 d8 mov %rbx,%rax
1d: 48 c1 e8 03 shr $0x3,%rax
21: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1)
* 25: 74 08 je 0x2f <-- trapping instruction
27: 48 89 df mov %rbx,%rdi
2a: e8 d9 65 71 00 callq 0x716608
2f: 4c 8b 2b mov (%rbx),%r13
32: 4d 85 ed test %r13,%r13
35: 0f 84 24 01 00 00 je 0x15f