INFO: task syz-executor.0:13713 blocked for more than 143 seconds.
Not tainted 6.2.0-rc6-syzkaller-00239-g0136d86b7852 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:25304 pid:13713 ppid:7944 flags:0x00004004
Call Trace:
__schedule+0x13ca/0x43c0
schedule+0xc3/0x190
io_schedule+0x8c/0x100
folio_wait_bit_common+0x7fe/0x1210
btrfs_page_mkwrite+0x41e/0xc90
do_page_mkwrite+0x1a1/0x600
do_wp_page+0x506/0x3270
handle_mm_fault+0x2388/0x51c0
exc_page_fault+0x66a/0x880
asm_exc_page_fault+0x26/0x30
RIP: 0033:0x7f259b686c25
RSP: 002b:00007fffaf421d18 EFLAGS: 00010202
RAX: 00000000200001c0 RBX: 0000000000000000 RCX: 0000000000676f6c
RDX: 0000000000000005 RSI: 00000000676f6c2e RDI: 00000000200001c0
RBP: 00007fffaf421dd8 R08: 00007f259b600000 R09: 00007f259b200000
R10: 00007f259b206288 R11: 000000000001caf4 R12: 00000000000988a0
R13: 00007fffaf421e00 R14: 00007fffaf421e20 R15: 0000000000000032
INFO: task syz-executor.0:13779 blocked for more than 144 seconds.
Not tainted 6.2.0-rc6-syzkaller-00239-g0136d86b7852 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:24584 pid:13779 ppid:7944 flags:0x00004004
Call Trace:
__schedule+0x13ca/0x43c0
schedule+0xc3/0x190
wait_extent_bit+0x50c/0x6a0
lock_extent+0x1bb/0x270
btrfs_page_mkwrite+0x536/0xc90
do_page_mkwrite+0x1a1/0x600
do_wp_page+0x506/0x3270
handle_mm_fault+0x2388/0x51c0
exc_page_fault+0x66a/0x880
asm_exc_page_fault+0x26/0x30
RIP: 0010:copy_user_short_string+0xd/0x40
Code: 74 0a 89 d1 f3 a4 89 c8 0f 01 ca c3 89 d0 0f 01 ca c3 01 ca eb e7 0f 1f 80 00 00 00 00 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:ffffc90008597330 EFLAGS: 00050202
RAX: ffffffff8435f301 RBX: 00007fffffffefc8 RCX: 0000000000000007
RDX: 0000000000000000 RSI: ffffc900085973e0 RDI: 0000000020000120
RBP: ffffc90008597488 R08: 0000000000000000 R09: fffff520010b2e83
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000038
R13: ffffc900085973e0 R14: 0000000020000120 R15: ffffc900085973e0
_copy_to_user+0xed/0x130
fiemap_fill_next_extent+0x235/0x410
emit_fiemap_extent+0x242/0x3f0
fiemap_process_hole+0xa71/0xb40
extent_fiemap+0xe42/0x2100
btrfs_fiemap+0x178/0x1e0
do_vfs_ioctl+0x194f/0x2a40
__se_sys_ioctl+0x81/0x160
do_syscall_64+0x41/0xc0
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f259b68c0c9
RSP: 002b:00007f259c441168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f259b7ac120 RCX: 00007f259b68c0c9
RDX: 0000000020000100 RSI: 00000000c020660b RDI: 0000000000000005
RBP: 00007f259b6e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffaf421c9f R14: 00007f259c441300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cf26e10 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cf27610 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0
1 lock held by khungtaskd/28:
#0: ffffffff8cf26c40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4751:
#0: ffff888149dd2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1630
1 lock held by syz-executor.5/5102:
#0: ffffffff8cf2c278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x458/0x860
1 lock held by syz-executor.1/5104:
#0: ffff88803c4320e0 (&type->s_umount_key#56){++++}-{3:3}, at: deactivate_super+0xad/0xf0
2 locks held by syz-executor.3/5118:
#0: ffff8880325f20e0 (&type->s_umount_key#56){++++}-{3:3}, at: deactivate_super+0xad/0xf0
#1: ffffffff8cf2c278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x389/0x860
1 lock held by syz-executor.4/5120:
#0: ffff88802fdfc0e0 (&type->s_umount_key#56){++++}-{3:3}, at: deactivate_super+0xad/0xf0
2 locks held by kworker/1:5/5161:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000472fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:6/5162:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000473fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:7/5163:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000474fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:8/5165:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000476fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/0:13/5472:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000508fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:11/5649:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90006497d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:12/5650:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90005fe7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:13/5651:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc900063b7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:14/5653:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90007c87d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:15/5654:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90007c97d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:16/5907:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000bd2fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:17/5908:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000bd3fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:18/8358:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000550fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:19/9498:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000332fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/0:21/9948:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc900056e7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
3 locks held by syz-executor.0/13713:
#0: ffff88807de735d8 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18d/0x880
#1: ffff88802a42c558 (sb_pagefaults#2){.+.+}-{0:0}, at: do_page_mkwrite+0x1a1/0x600
#2: ffff888076e75b08 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x416/0xc90
3 locks held by syz-executor.0/13779:
#0: ffff88807de735d8 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18d/0x880
#1: ffff88802a42c558 (sb_pagefaults#2){.+.+}-{0:0}, at: do_page_mkwrite+0x1a1/0x600
#2: ffff888076e75b08 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x416/0xc90
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc6-syzkaller-00239-g0136d86b7852 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
dump_stack_lvl+0x1b5/0x2a0
nmi_cpu_backtrace+0x47b/0x500
nmi_trigger_cpumask_backtrace+0x1d3/0x430
watchdog+0xf70/0xfb0
kthread+0x270/0x300
ret_from_fork+0x1f/0x30
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5566 Comm: kworker/u4:10 Not tainted 6.2.0-rc6-syzkaller-00239-g0136d86b7852 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lock_release+0x51/0xa70
Code: 04 25 28 00 00 00 48 89 84 24 e0 00 00 00 49 bf 00 00 00 00 00 fc ff df 48 c7 44 24 60 b3 8a b5 41 48 c7 44 24 68 b6 57 85 8c <48> c7 44 24 70 e0 0f 6a 81 4c 8d 74 24 60 49 c1 ee 03 48 b8 f1 f1
RSP: 0018:ffffc90006457ac0 EFLAGS: 00000286
RAX: 38ff0213882ea000 RBX: 0000000000000000 RCX: ffff888079cf1d40
RDX: 0000000000000000 RSI: ffffffff8a6806b5 RDI: ffffffff8cf26c40
RBP: ffffc90006457be8 R08: dffffc0000000000 R09: fffffbfff2043c31
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000231
R13: ffffffff8a6806b5 R14: ffff888029914c80 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0185d0c80 CR3: 000000000cc8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
batadv_nc_worker+0x211/0x580
process_one_work+0x96c/0x13e0
worker_thread+0xa63/0x1210
kthread+0x270/0x300
ret_from_fork+0x1f/0x30