INFO: task syz-executor.5:7028 blocked for more than 143 seconds.
Not tainted 6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:22608 pid:7028 tgid:7025 ppid:5085 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6778
wait_extent_bit fs/btrfs/extent-io-tree.c:799 [inline]
lock_extent+0x69d/0x850 fs/btrfs/extent-io-tree.c:1843
btrfs_page_mkwrite+0x5bd/0xd10 fs/btrfs/inode.c:8158
do_page_mkwrite+0x197/0x470 mm/memory.c:2944
wp_page_shared mm/memory.c:3339 [inline]
do_wp_page+0x1d07/0x4d40 mm/memory.c:3479
handle_pte_fault mm/memory.c:5055 [inline]
__handle_mm_fault mm/memory.c:5180 [inline]
handle_mm_fault+0x1b1c/0x6680 mm/memory.c:5345
do_user_addr_fault arch/x86/mm/fault.c:1413 [inline]
handle_page_fault arch/x86/mm/fault.c:1505 [inline]
exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1561
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:58
Code: 40 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 <48> 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb
RSP: 0018:ffffc900051d7550 EFLAGS: 00050206
RAX: 0000000000001000 RBX: 0000000020001618 RCX: 0000000000000038
RDX: 0000000000000000 RSI: ffffc900051d7600 RDI: 00000000200015e0
RBP: ffffc900051d76b0 R08: ffffc900051d7637 R09: 1ffff92000a3aec6
R10: dffffc0000000000 R11: fffff52000a3aec7 R12: 0000000000000038
R13: ffffc900051d7600 R14: 00000000200015e0 R15: ffffc900051d7600
copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline]
_copy_to_user+0x86/0xa0 lib/usercopy.c:41
copy_to_user include/linux/uaccess.h:191 [inline]
fiemap_fill_next_extent+0x235/0x410 fs/ioctl.c:145
emit_last_fiemap_cache fs/btrfs/extent_io.c:2511 [inline]
extent_fiemap+0x1b9c/0x1fe0 fs/btrfs/extent_io.c:3038
btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7830
ioctl_fiemap fs/ioctl.c:220 [inline]
do_vfs_ioctl+0x19ea/0x2b40 fs/ioctl.c:811
__do_sys_ioctl fs/ioctl.c:869 [inline]
__se_sys_ioctl+0x81/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f864047cce9
RSP: 002b:00007f86411cc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f864059bf80 RCX: 00007f864047cce9
RDX: 00000000200015c0 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f86404c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f864059bf80 R15: 00007ffcff26f0f8
INFO: task syz-executor.5:7081 blocked for more than 144 seconds.
Not tainted 6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:22384 pid:7081 tgid:7025 ppid:5085 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6778
io_schedule+0x8c/0x100 kernel/sched/core.c:8998
folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1273
btrfs_page_mkwrite+0x4a4/0xd10 fs/btrfs/inode.c:8148
do_page_mkwrite+0x197/0x470 mm/memory.c:2944
wp_page_shared mm/memory.c:3339 [inline]
do_wp_page+0x1d07/0x4d40 mm/memory.c:3479
handle_pte_fault mm/memory.c:5055 [inline]
__handle_mm_fault mm/memory.c:5180 [inline]
handle_mm_fault+0x1b1c/0x6680 mm/memory.c:5345
do_user_addr_fault arch/x86/mm/fault.c:1413 [inline]
handle_page_fault arch/x86/mm/fault.c:1505 [inline]
exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1561
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71
Code: 75 f1 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 85 c9 75 b3
RSP: 0018:ffffc90005a8f7b8 EFLAGS: 00050206
RAX: ffffffff84811601 RBX: 0000000020001000 RCX: 0000000000001000
RDX: 0000000000000000 RSI: ffff888083c52000 RDI: 0000000020001000
RBP: ffffc90005a8f938 R08: ffff888083c52fff R09: 1ffff1101078a5ff
R10: dffffc0000000000 R11: ffffed101078a600 R12: 0000000000001000
R13: ffff888083c52000 R14: ffffc90005a8fe48 R15: 1ffff92000b51fc9
copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline]
copy_to_user_iter lib/iov_iter.c:25 [inline]
iterate_ubuf include/linux/iov_iter.h:29 [inline]
iterate_and_advance2 include/linux/iov_iter.h:245 [inline]
iterate_and_advance include/linux/iov_iter.h:271 [inline]
_copy_to_iter+0x257/0x1cf0 lib/iov_iter.c:186
copy_page_to_iter+0xb1/0x160 lib/iov_iter.c:381
copy_folio_to_iter include/linux/uio.h:181 [inline]
filemap_read+0x7ae/0xec0 mm/filemap.c:2653
do_iter_readv_writev+0x330/0x4a0
do_iter_read+0x201/0x8a0 fs/read_write.c:795
vfs_readv fs/read_write.c:915 [inline]
do_preadv+0x212/0x350 fs/read_write.c:1007
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f864047cce9
RSP: 002b:00007f86411ab0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000147
RAX: ffffffffffffffda RBX: 00007f864059c050 RCX: 00007f864047cce9
RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000008
RBP: 00007f86404c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f864059c050 R15: 00007ffcff26f0f8
INFO: task syz-executor.5:7093 blocked for more than 145 seconds.
Not tainted 6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:23288 pid:7093 tgid:7025 ppid:5085 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6778
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:802 [inline]
process_measurement+0x450/0x21c0 security/integrity/ima/ima_main.c:248
ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:557
do_open fs/namei.c:3624 [inline]
path_openat+0x2897/0x3290 fs/namei.c:3779
do_filp_open+0x234/0x490 fs/namei.c:3809
do_sys_openat2+0x13e/0x1d0 fs/open.c:1437
do_sys_open fs/open.c:1452 [inline]
__do_sys_open fs/open.c:1460 [inline]
__se_sys_open fs/open.c:1456 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1456
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f864047cce9
RSP: 002b:00007f86411690c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f864059c1f0 RCX: 00007f864047cce9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180
RBP: 00007f86404c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f864059c1f0 R15: 00007ffcff26f0f8
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by kworker/u4:7/1838:
#0: ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
2 locks held by kworker/u4:9/2898:
#0: ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
2 locks held by getty/4808:
#0: ffff88814bcb60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.0/5084:
#0: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996
2 locks held by kworker/1:3/5115:
#0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline]
#0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700
#1: ffffc900042a7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline]
#1: ffffc900042a7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700
4 locks held by syz-executor.5/7028:
#0: ffff888083366258 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline]
#0: ffff888083366258 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370
#1: ffff888012c6baa0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline]
#1: ffff888012c6baa0 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5372 [inline]
#1: ffff888012c6baa0 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5432
#2: ffff88803eb64510 (sb_pagefaults#6){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2944
#3: ffff8880833660e0 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x49c/0xd10 fs/btrfs/inode.c:8147
3 locks held by syz-executor.5/7081:
#0: ffff888012c6baa0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline]
#0: ffff888012c6baa0 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5372 [inline]
#0: ffff888012c6baa0 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5432
#1: ffff88803eb64510 (sb_pagefaults#6){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2944
#2: ffff8880833660e0 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x49c/0xd10 fs/btrfs/inode.c:8147
1 lock held by syz-executor.5/7093:
#0: ffff888083366258 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#0: ffff888083366258 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: process_measurement+0x450/0x21c0 security/integrity/ima/ima_main.c:248
1 lock held by udevd/7141:
#0: ffff8880b993c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfaf/0xff0 kernel/hung_task.c:379
kthread+0x2d3/0x370 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5115 Comm: kworker/1:3 Not tainted 6.7.0-rc8-syzkaller-00055-g5eff55d725a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: events_power_efficient wg_ratelimiter_gc_entries
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline]
RIP: 0010:check_preemption_disabled+0x59/0x110 lib/smp_processor_id.c:19
Code: 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 c9 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 48 c7 04 24 00 00 00 00 9c <8f> 04 24 f7 04 24 00 02 00 00 74 c9 49 89 f6 49 89 ff 65 4c 8b 25
RSP: 0018:ffffc900042a79f8 EFLAGS: 00000046
RAX: 0000000080000000 RBX: 0000000000000001 RCX: ffff88801b9b3b80
RDX: 0000000000000000 RSI: ffffffff8b6ab240 RDI: ffffffff8bbde520
RBP: ffffc900042a7b98 R08: ffffffff8e372ce3 R09: 1ffffffff1c6e59c
R10: dffffc0000000000 R11: fffffbfff1c6e59d R12: 0000000000000246
R13: ffff88801b9b3b80 R14: 00000000ffffffff R15: ffffffff8d92da60
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7b2fdbc000 CR3: 0000000035563000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline]
lock_is_held_type+0x7a/0x190 kernel/locking/lockdep.c:5824
lock_is_held include/linux/lockdep.h:288 [inline]
__might_resched+0xf4/0x780 kernel/sched/core.c:10113
wg_ratelimiter_gc_entries+0x3cd/0x470 drivers/net/wireguard/ratelimiter.c:78
process_one_work kernel/workqueue.c:2627 [inline]
process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700
worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781
kthread+0x2d3/0x370 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242