INFO: task kworker/u4:1:12 blocked for more than 143 seconds.
Not tainted 6.7.0-rc6-next-20231222-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:1 state:D stack:24816 pid:12 tgid:12 ppid:2 flags:0x00004000
Workqueue: btrfs-endio-write btrfs_work_helper
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0xf15/0x5c80 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0xe7/0x270 kernel/sched/core.c:6817
wait_extent_bit fs/btrfs/extent-io-tree.c:822 [inline]
lock_extent+0x656/0x730 fs/btrfs/extent-io-tree.c:1868
btrfs_finish_one_ordered+0xa7f/0x20c0 fs/btrfs/inode.c:3092
btrfs_work_helper+0x222/0xc10 fs/btrfs/async-thread.c:315
process_one_work+0x8a4/0x15f0 kernel/workqueue.c:2633
process_scheduled_works kernel/workqueue.c:2706 [inline]
worker_thread+0x8b6/0x1290 kernel/workqueue.c:2787
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
INFO: task syz-executor.3:13202 blocked for more than 143 seconds.
Not tainted 6.7.0-rc6-next-20231222-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:25152 pid:13202 tgid:13200 ppid:5099 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0xf15/0x5c80 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0xe7/0x270 kernel/sched/core.c:6817
wait_extent_bit fs/btrfs/extent-io-tree.c:822 [inline]
lock_extent+0x656/0x730 fs/btrfs/extent-io-tree.c:1868
btrfs_page_mkwrite+0x820/0x1420 fs/btrfs/inode.c:8176
do_page_mkwrite+0x17a/0x380 mm/memory.c:2959
wp_page_shared mm/memory.c:3346 [inline]
do_wp_page+0xb00/0x3750 mm/memory.c:3486
handle_pte_fault mm/memory.c:5151 [inline]
__handle_mm_fault+0x1f7c/0x48f0 mm/memory.c:5276
handle_mm_fault+0x476/0xa00 mm/memory.c:5441
do_user_addr_fault+0x3cf/0x1000 arch/x86/mm/fault.c:1413
handle_page_fault arch/x86/mm/fault.c:1505 [inline]
exc_page_fault+0x5c/0xc0 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 66 2e 0f 1f 84 00 00 00 00 00 66 90 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:ffffc90014b37720 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000000000038 RCX: 0000000000000038
RDX: fffff52002966efb RSI: ffffc90014b377a0 RDI: 00000000200015e0
RBP: 00000000200015e0 R08: 0000000000000000 R09: fffff52002966efa
R10: ffffc90014b377d7 R11: 0000000000000000 R12: ffffc90014b377a0
R13: 0000000020001618 R14: 0000000000000000 R15: 0000000000000000
copy_user_generic arch/x86/include/asm/uaccess_64.h:109 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:130 [inline]
_copy_to_user lib/usercopy.c:41 [inline]
_copy_to_user+0xa8/0xb0 lib/usercopy.c:34
copy_to_user include/linux/uaccess.h:191 [inline]
fiemap_fill_next_extent+0x232/0x380 fs/ioctl.c:145
emit_fiemap_extent+0x195/0x380 fs/btrfs/extent_io.c:2521
fiemap_process_hole+0x26f/0x620 fs/btrfs/extent_io.c:2740
extent_fiemap+0x12bd/0x19f0 fs/btrfs/extent_io.c:2994
btrfs_fiemap+0xe4/0x160 fs/btrfs/inode.c:7844
ioctl_fiemap fs/ioctl.c:220 [inline]
do_vfs_ioctl+0x339/0x1920 fs/ioctl.c:811
__do_sys_ioctl fs/ioctl.c:869 [inline]
__se_sys_ioctl fs/ioctl.c:857 [inline]
__x64_sys_ioctl+0x112/0x210 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x62/0x6a
RIP: 0033:0x7fac9927cce9
RSP: 002b:00007fac99ffc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fac9939bf80 RCX: 00007fac9927cce9
RDX: 00000000200015c0 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007fac99ffc120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 000000000000000b R14: 00007fac9939bf80 R15: 00007ffee75c5b08
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc6-next-20231222-syzkaller #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+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7592 Comm: kworker/u4:13 Not tainted 6.7.0-rc6-next-20231222-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:116 [inline]
RIP: 0010:lock_release+0xcf/0x6a0 kernel/locking/lockdep.c:5767
Code: 07 0a 77 00 48 0f a3 1d ef f3 d1 0d 0f 82 0c 04 00 00 48 c7 c3 d8 8e 3a 8f 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b3
RSP: 0018:ffffc90005247ae0 EFLAGS: 00000a06
RAX: dffffc0000000000 RBX: ffffffff8f3a8ed8 RCX: ffffffff81686719
RDX: 1ffffffff1e751db RSI: ffffffff8b2f95c0 RDI: ffffffff8ca8ba60
RBP: 1ffff92000a48f5e R08: 0000000000000000 R09: fffffbfff1e74b62
R10: ffffffff8f3a5b17 R11: 0000000000000000 R12: ffffffff8d1acba0
R13: 0000000000000000 R14: 000000000003c2cc R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561fdc9e00f0 CR3: 000000003bd47000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_lock_release include/linux/rcupdate.h:308 [inline]
rcu_read_unlock include/linux/rcupdate.h:783 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x8f3/0x10e0 net/batman-adv/network-coding.c:719
process_one_work+0x8a4/0x15f0 kernel/workqueue.c:2633
process_scheduled_works kernel/workqueue.c:2706 [inline]
worker_thread+0x8b6/0x1290 kernel/workqueue.c:2787
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242