INFO: task syz.1.68:4837 blocked for more than 144 seconds.
Not tainted 5.15.179-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.68 state:D stack:22512 pid: 4837 ppid: 4165 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5029 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6375
schedule+0x11b/0x1f0 kernel/sched/core.c:6458
wait_on_state fs/btrfs/extent_io.c:868 [inline]
wait_extent_bit+0x3f9/0x530 fs/btrfs/extent_io.c:906
lock_extent_bits+0x10d/0x1e0 fs/btrfs/extent_io.c:1469
btrfs_page_mkwrite+0x5f2/0xd60 fs/btrfs/inode.c:8961
do_page_mkwrite+0x1a9/0x440 mm/memory.c:2922
wp_page_shared+0x179/0x690 mm/memory.c:3259
handle_pte_fault mm/memory.c:4668 [inline]
__handle_mm_fault mm/memory.c:4785 [inline]
handle_mm_fault+0x2a3d/0x5960 mm/memory.c:4883
do_user_addr_fault arch/x86/mm/fault.c:1357 [inline]
handle_page_fault arch/x86/mm/fault.c:1445 [inline]
exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:92
Code: 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 <4c> 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a
RSP: 0018:ffffc9000341f668 EFLAGS: 00050202
RAX: ffffffff84142601 RBX: 0000200000000418 RCX: 0000000000000007
RDX: 0000000000000000 RSI: ffffc9000341f720 RDI: 00002000000003e0
RBP: ffffc9000341f7d0 R08: 0000000000000000 R09: fffff52000683eeb
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000038
R13: 00007ffffffff000 R14: ffffc9000341f720 R15: 00002000000003e0
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline]
_copy_to_user+0xef/0x130 lib/usercopy.c:40
copy_to_user include/linux/uaccess.h:200 [inline]
fiemap_fill_next_extent+0x231/0x410 fs/ioctl.c:144
emit_fiemap_extent fs/btrfs/extent_io.c:5448 [inline]
extent_fiemap+0x1185/0x1650 fs/btrfs/extent_io.c:5687
btrfs_fiemap+0x121/0x160 fs/btrfs/inode.c:8584
ioctl_fiemap fs/ioctl.c:219 [inline]
do_vfs_ioctl+0x1934/0x2b70 fs/ioctl.c:814
__do_sys_ioctl fs/ioctl.c:872 [inline]
__se_sys_ioctl+0x81/0x160 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f3bb02bd169
RSP: 002b:00007f3bae126038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f3bb04d5fa0 RCX: 00007f3bb02bd169
RDX: 00002000000003c0 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f3bb033e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f3bb04d5fa0 R15: 00007fffb399ec08
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1f4e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by udevd/3545:
2 locks held by getty/3924:
#0: ffff88814d0b8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900026362e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
5 locks held by kworker/u4:5/4218:
#0: ffff8880175cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc9000315fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffffffff8dc37e10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x166/0xc90 net/core/net_namespace.c:572
#3: ffff88807d3813e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x10c/0x2f0 drivers/net/wireguard/device.c:233
#4: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
#4: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845
2 locks held by kworker/1:8/4297:
#0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc9000316fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
3 locks held by kworker/1:13/4303:
#0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90003d5fd20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffff8880232a5240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1480
3 locks held by kworker/0:10/4367:
#0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc900033afd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#2: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845
2 locks held by kworker/0:11/4368:
#0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc9000463fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
3 locks held by syz.1.68/4837:
#0: ffff8880797ce328 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff8880797ce328 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1298 [inline]
#0: ffff8880797ce328 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1445 [inline]
#0: ffff8880797ce328 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x181/0x700 arch/x86/mm/fault.c:1501
#1: ffff888064620558 (sb_pagefaults#2){.+.+}-{0:0}, at: do_page_mkwrite+0x1a9/0x440 mm/memory.c:2922
#2: ffff888060405318 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x4a2/0xd60 fs/btrfs/inode.c:8950
3 locks held by syz-executor/7036:
1 lock held by dhcpcd/7295:
#0:
ffff88807d7a6120 (sk_lock-AF_PACKET){+.+.}-{0:0}
, at: lock_sock include/net/sock.h:1684 [inline]
, at: packet_do_bind+0x33/0xd60 net/packet/af_packet.c:3213
1 lock held by dhcpcd/7296:
#0: ffff88807a1d0120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1684 [inline]
#0: ffff88807a1d0120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd60 net/packet/af_packet.c:3213
1 lock held by dhcpcd/7297:
#0: ffff88801765c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1684 [inline]
#0: ffff88801765c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd60 net/packet/af_packet.c:3213
1 lock held by dhcpcd/7298:
#0: ffff88802767e120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1684 [inline]
#0: ffff88802767e120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd60 net/packet/af_packet.c:3213
1 lock held by dhcpcd/7299:
#0: ffff888023c9c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1684 [inline]
#0: ffff888023c9c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd60 net/packet/af_packet.c:3213
1 lock held by dhcpcd/7300:
#0: ffff88802767c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1684 [inline]
#0: ffff88802767c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd60 net/packet/af_packet.c:3213
1 lock held by dhcpcd/7301:
#0: ffff88807a43c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1684 [inline]
#0: ffff88807a43c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd60 net/packet/af_packet.c:3213
1 lock held by dhcpcd/7302:
#0:
ffff888023c9e120
(
sk_lock-AF_PACKET
){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1684 [inline]
){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd60 net/packet/af_packet.c:3213
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:369
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7036 Comm: syz-executor Not tainted 5.15.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:-1 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3701 [inline]
RIP: 0010:validate_chain+0x17e/0x5930 kernel/locking/lockdep.c:3756
Code: 8d 1c c5 00 f0 4f 90 48 89 d8 48 c1 e8 03 48 89 44 24 50 42 80 3c 20 00 74 08 48 89 df e8 5a f1 66 00 48 89 5c 24 20 48 8b 1b <48> 85 db 74 48 48 83 c3 f8 74 42 4c 8d 7b 18 4c 89 f8 48 c1 e8 03
RSP: 0018:ffffc900000076a0 EFLAGS: 00000046
RAX: 1ffffffff21133ec RBX: ffffffff909923c8 RCX: ffffffff81639d52
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9098f0c0
RBP: ffffc90000007950 R08: dffffc0000000000 R09: fffffbfff2131e19
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888029604708 R14: 36456208c9e43907 R15: ffff888029604708
FS: 000055557bf16500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005592d440d600 CR3: 0000000050094000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x1295/0x1ff0 kernel/locking/lockdep.c:5012
lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623
_raw_spin_lock_nested+0x2d/0x40 kernel/locking/spinlock.c:368
raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483
raw_spin_rq_lock kernel/sched/sched.h:1326 [inline]
rq_lock kernel/sched/sched.h:1621 [inline]
ttwu_queue kernel/sched/core.c:3820 [inline]
try_to_wake_up+0x6dd/0x12c0 kernel/sched/core.c:4145
hrtimer_wakeup+0x5e/0x70 kernel/time/hrtimer.c:1942
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_trylock_spinning+0x36b/0x3f0 kernel/printk/printk.c:1909
Code: 0f 84 75 ff ff ff e8 14 1a 1a 00 fb 31 db eb 48 e8 0a 1a 1a 00 e8 95 7c d9 08 4d 85 ed 74 cd e8 fb 19 1a 00 fb bb 01 00 00 00 <48> c7 c7 a0 bd 9f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc90003cedfe0 EFLAGS: 00000293
RAX: ffffffff816682c5 RBX: 0000000000000001 RCX: ffff888029603b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003cee0b0 R08: ffffffff8166827e R09: fffffbfff2131e1a
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200079dbfc
R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000
vprintk_emit+0xa6/0x150 kernel/printk/printk.c:2273
dev_vprintk_emit+0x2aa/0x330 drivers/base/core.c:4638
dev_printk_emit+0xd9/0x120 drivers/base/core.c:4649
__netdev_printk+0x335/0x410 net/core/dev.c:11503
netdev_info+0x11e/0x170 net/core/dev.c:11558
nsim_udp_tunnel_set_port+0x2a7/0x450 drivers/net/netdevsim/udp_tunnels.c:34
udp_tunnel_nic_device_sync_one net/ipv4/udp_tunnel_nic.c:-1 [inline]
udp_tunnel_nic_device_sync_by_port net/ipv4/udp_tunnel_nic.c:246 [inline]
__udp_tunnel_nic_device_sync+0xa7e/0x13c0 net/ipv4/udp_tunnel_nic.c:289
udp_tunnel_nic_device_sync net/ipv4/udp_tunnel_nic.c:312 [inline]
__udp_tunnel_nic_add_port+0xc75/0xf30 net/ipv4/udp_tunnel_nic.c:531
udp_tunnel_nic_add_port include/net/udp_tunnel.h:336 [inline]
udp_tunnel_notify_add_rx_port+0x2e1/0x490 net/ipv4/udp_tunnel_core.c:130
geneve_socket_create drivers/net/geneve.c:614 [inline]
geneve_sock_add+0x621/0xbb0 drivers/net/geneve.c:689
geneve_open+0xdf/0x150 drivers/net/geneve.c:731
__dev_open+0x2c3/0x430 net/core/dev.c:1537
__dev_change_flags+0x1db/0x6e0 net/core/dev.c:8852
dev_change_flags+0x87/0x190 net/core/dev.c:8923
do_setlink+0xc26/0x3d80 net/core/rtnetlink.c:2776
__rtnl_newlink net/core/rtnetlink.c:3447 [inline]
rtnl_newlink+0x17bf/0x2050 net/core/rtnetlink.c:3569
rtnetlink_rcv_msg+0x99d/0xef0 net/core/rtnetlink.c:5647
netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2489
netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
netlink_unicast+0x7c0/0x990 net/netlink/af_netlink.c:1337
netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1905
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
__sys_sendto+0x564/0x720 net/socket.c:2063
__do_sys_sendto net/socket.c:2075 [inline]
__se_sys_sendto net/socket.c:2071 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2071
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe8fc8b5ffc
Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b
RSP: 002b:00007fff245b8b30 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fe8fd5fb620 RCX: 00007fe8fc8b5ffc
RDX: 000000000000002c RSI: 00007fe8fd5fb670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fff245b8b84 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007fe8fd5fb670 R15: 0000000000000000