INFO: task systemd-udevd:8927 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:26888 pid: 8927 ppid: 2966 flags:0x00000000
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
lo_release+0x4d/0x1f0 drivers/block/loop.c:1748
blkdev_put_whole block/bdev.c:694 [inline]
blkdev_put+0x2fb/0x9e0 block/bdev.c:956
blkdev_close+0x6a/0x80 block/fops.c:515
__fput+0x286/0x9f0 fs/file_table.c:280
task_work_run+0xdd/0x1a0 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+0x27e/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fc7fc5ec270
RSP: 002b:00007ffdd6d27748 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 000000000000000f RCX: 00007fc7fc5ec270
RDX: 00007fc7fc5d6b58 RSI: 0000000000000000 RDI: 000000000000000f
RBP: 00007fc7fd4a6710 R08: 0000560fb5857840 R09: 0000000000000004
R10: a02610a0646b82df R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 0000560fb5852bd0 R15: 000000000000000f
INFO: task syz-executor.2:9005 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.2 state:D stack:24264 pid: 9005 ppid: 30973 flags:0x00004004
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
__bio_queue_enter+0x3c5/0x6a0 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+0x4ae/0x22c0 block/blk-mq.c:2632
__submit_bio block/blk-core.c:849 [inline]
__submit_bio_noacct_mq block/blk-core.c:924 [inline]
submit_bio_noacct block/blk-core.c:950 [inline]
submit_bio_noacct+0x82c/0xa20 block/blk-core.c:939
submit_bio block/blk-core.c:1011 [inline]
submit_bio+0x1ea/0x430 block/blk-core.c:969
submit_bh_wbc+0x5e8/0x7e0 fs/buffer.c:3054
__block_write_full_page+0x875/0x1350 fs/buffer.c:1809
block_write_full_page+0x14d/0x190 fs/buffer.c:2980
__writepage+0x60/0x180 mm/page-writeback.c:2320
write_cache_pages+0x6f4/0x10c0 mm/page-writeback.c:2255
generic_writepages mm/page-writeback.c:2346 [inline]
generic_writepages+0xe2/0x150 mm/page-writeback.c:2335
do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
filemap_fdatawrite_wbc mm/filemap.c:407 [inline]
filemap_fdatawrite_wbc+0x143/0x1b0 mm/filemap.c:397
__filemap_fdatawrite_range mm/filemap.c:440 [inline]
file_write_and_wait_range+0x163/0x1e0 mm/filemap.c:824
blkdev_fsync+0x4a/0xa0 block/fops.c:465
vfs_fsync_range+0x13a/0x220 fs/sync.c:182
generic_write_sync include/linux/fs.h:2956 [inline]
blkdev_write_iter+0x552/0x690 block/fops.c:559
call_write_iter include/linux/fs.h:2162 [inline]
do_iter_readv_writev+0x472/0x750 fs/read_write.c:725
do_iter_write+0x188/0x710 fs/read_write.c:851
vfs_iter_write+0x70/0xa0 fs/read_write.c:892
iter_file_splice_write+0x723/0xc70 fs/splice.c:689
do_splice_from fs/splice.c:767 [inline]
direct_splice_actor+0x110/0x180 fs/splice.c:936
splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891
do_splice_direct+0x1b3/0x280 fs/splice.c:979
do_sendfile+0xaf2/0x1250 fs/read_write.c:1245
__do_sys_sendfile64 fs/read_write.c:1310 [inline]
__se_sys_sendfile64 fs/read_write.c:1296 [inline]
__x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
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:0x7f917cb9bae9
RSP: 002b:00007f917a111188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f917ccaef60 RCX: 00007f917cb9bae9
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004
RBP: 00007f917cbf5f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000424002d9f R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd550a78df R14: 00007f917a111300 R15: 0000000000022000
INFO: task syz-executor.2:9015 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.2 state:D stack:26152 pid: 9015 ppid: 30973 flags:0x00004004
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_old+0x148/0x1b0 drivers/block/loop.c:1396
lo_ioctl+0x3e9/0x17c0 drivers/block/loop.c:1566
blkdev_ioctl+0x37a/0x800 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
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:0x7f917cb9bae9
RSP: 002b:00007f917a0f0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f917ccaf020 RCX: 00007f917cb9bae9
RDX: 0000000020000940 RSI: 0000000000004c02 RDI: 0000000000000004
RBP: 00007f917cbf5f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd550a78df R14: 00007f917a0f0300 R15: 0000000000022000
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 in:imklog/6213:
#0: ffff8880791b8d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by agetty/11969:
#0: ffff888029c77098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc9000a7192e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
3 locks held by kworker/u4:14/316:
#0: ffff888011a73138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888011a73138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888011a73138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff888011a73138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff888011a73138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff888011a73138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc90003aafdb0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
#2: ffff888010e620e0 (&type->s_umount_key#48){.+.+}-{3:3}, at: trylock_super+0x1d/0x100 fs/super.c:418
7 locks held by kworker/0:4/1884:
#0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
#1: ffff8880b9c279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880
#2: ffffffff8bb83b00 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_create_data_done drivers/net/wireguard/send.c:257 [inline]
#2: ffffffff8bb83b00 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_tx_worker+0x223/0x720 drivers/net/wireguard/send.c:276
#3: ffffffff8bba2f08 (tk_core.seq.seqcount){----}-{0:0}, at: ktime_get_coarse_boottime include/linux/timekeeping.h:100 [inline]
#3: ffffffff8bba2f08 (tk_core.seq.seqcount){----}-{0:0}, at: ktime_get_coarse_boottime_ns include/linux/timekeeping.h:136 [inline]
#3: ffffffff8bba2f08 (tk_core.seq.seqcount){----}-{0:0}, at: wg_birthdate_has_expired drivers/net/wireguard/timers.h:28 [inline]
#3: ffffffff8bba2f08 (tk_core.seq.seqcount){----}-{0:0}, at: keep_key_fresh drivers/net/wireguard/send.c:134 [inline]
#3: ffffffff8bba2f08 (tk_core.seq.seqcount){----}-{0:0}, at: wg_packet_create_data_done drivers/net/wireguard/send.c:259 [inline]
#3: ffffffff8bba2f08 (tk_core.seq.seqcount){----}-{0:0}, at: wg_packet_tx_worker+0x61d/0x720 drivers/net/wireguard/send.c:276
#4: ffffffff8bb83b00 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_consume_data drivers/net/wireguard/receive.c:517 [inline]
#4: ffffffff8bb83b00 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_receive+0x84a/0x1740 drivers/net/wireguard/receive.c:576
#5: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: __queue_work+0xd0/0xee0 kernel/workqueue.c:1440
#6: ffff8880b9d39298 (&pool->lock){-.-.}-{2:2}, at: __queue_work+0x366/0xee0 kernel/workqueue.c:1477
2 locks held by systemd-udevd/8927:
#0: ffff88801aec7118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914
#1: ffff88801aec2b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748
1 lock held by syz-executor.2/9015:
#0: ffff88801aec2b60 (&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: 8509 Comm: kworker/1:6 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: wg-crypt-wg0 wg_packet_tx_worker
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200
Code: 48 89 ef 5d e9 01 1a 46 00 5d be 03 00 00 00 e9 66 13 63 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 e9 d7 8a 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc900186ef648 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff888077bd3a00
RDX: 0000000000000000 RSI: ffff888077bd3a00 RDI: 0000000000000003
RBP: ffff8880297cd640 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff872af0ea R11: 0000000000000000 R12: ffff8880297cd640
R13: ffff8880297cd698 R14: 000000000000005e R15: 0000000000001000
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbd4373a008 CR3: 000000001c8c2000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
__preempt_count_add arch/x86/include/asm/preempt.h:80 [inline]
rcu_read_lock_sched_notrace include/linux/rcupdate.h:788 [inline]
trace_netif_rx_entry include/trace/events/net.h:256 [inline]
netif_rx+0x352/0x510 net/core/dev.c:4952
loopback_xmit+0x222/0x6d0 drivers/net/loopback.c:88
__netdev_start_xmit include/linux/netdevice.h:4987 [inline]
netdev_start_xmit include/linux/netdevice.h:5001 [inline]
xmit_one net/core/dev.c:3590 [inline]
dev_hard_start_xmit+0x1eb/0x920 net/core/dev.c:3606
__dev_queue_xmit+0x299a/0x3630 net/core/dev.c:4226
neigh_hh_output include/net/neighbour.h:511 [inline]
neigh_output include/net/neighbour.h:525 [inline]
ip6_finish_output2+0xf63/0x14e0 net/ipv6/ip6_output.c:126
__ip6_finish_output net/ipv6/ip6_output.c:191 [inline]
__ip6_finish_output+0x4c1/0x1050 net/ipv6/ip6_output.c:170
ip6_finish_output+0x32/0x200 net/ipv6/ip6_output.c:201
NF_HOOK_COND include/linux/netfilter.h:296 [inline]
ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:224
dst_output include/net/dst.h:450 [inline]
ip6_local_out+0xaf/0x1a0 net/ipv6/output_core.c:161
ip6tunnel_xmit include/net/ip6_tunnel.h:160 [inline]
udp_tunnel6_xmit_skb+0x72e/0xc90 net/ipv6/ip6_udp_tunnel.c:109
send6+0x4a2/0xcc0 drivers/net/wireguard/socket.c:152
wg_socket_send_skb_to_peer+0xf5/0x220 drivers/net/wireguard/socket.c:177
wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline]
wg_packet_tx_worker+0x1a7/0x720 drivers/net/wireguard/send.c:276
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 48 89 ef mov %rbp,%rdi
3: 5d pop %rbp
4: e9 01 1a 46 00 jmpq 0x461a0a
9: 5d pop %rbp
a: be 03 00 00 00 mov $0x3,%esi
f: e9 66 13 63 02 jmpq 0x263137a
14: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
1a: 48 8b be b0 01 00 00 mov 0x1b0(%rsi),%rdi
21: e8 b4 ff ff ff callq 0xffffffda
26: 31 c0 xor %eax,%eax
28: c3 retq
29: 90 nop
* 2a: 65 8b 05 e9 d7 8a 7e mov %gs:0x7e8ad7e9(%rip),%eax # 0x7e8ad81a <-- trapping instruction
31: 89 c1 mov %eax,%ecx
33: 48 8b 34 24 mov (%rsp),%rsi
37: 81 e1 00 01 00 00 and $0x100,%ecx
3d: 65 gs
3e: 48 rex.W
3f: 8b .byte 0x8b