INFO: task syz-executor.4:23937 blocked for more than 143 seconds.
Not tainted 6.3.0-rc6-syzkaller-00168-g95abc817ab3a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:25000 pid:23937 ppid:5105 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0x173b/0x4630 kernel/sched/core.c:6625
schedule+0xc3/0x180 kernel/sched/core.c:6701
io_schedule+0x8c/0x100 kernel/sched/core.c:8887
folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301
btrfs_page_mkwrite+0x42d/0xc90 fs/btrfs/inode.c:8153
do_page_mkwrite+0x1a1/0x600 mm/memory.c:2925
wp_page_shared mm/memory.c:3274 [inline]
do_wp_page+0x501/0x3620 mm/memory.c:3356
handle_pte_fault mm/memory.c:4941 [inline]
__handle_mm_fault mm/memory.c:5065 [inline]
handle_mm_fault+0x23a0/0x51c0 mm/memory.c:5211
do_user_addr_fault arch/x86/mm/fault.c:1407 [inline]
handle_page_fault arch/x86/mm/fault.c:1498 [inline]
exc_page_fault+0x5b1/0x7c0 arch/x86/mm/fault.c:1554
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fe496e86bcf
RSP: 002b:00007ffd15417248 EFLAGS: 00010287
RAX: 0000000020000440 RBX: 0000000000000000 RCX: 00007fe496a00000
RDX: 000000000000001f RSI: 00007fe496a06dd8 RDI: 0000000020000440
RBP: 00007ffd15417308 R08: 00007fe496e00000 R09: 00007fe496a00000
R10: 00007fe496a06dc0 R11: 0000000000054034 R12: 00000000001cc2ad
R13: 00007ffd15417330 R14: 00007ffd15417350 R15: 0000000000000032
INFO: task syz-executor.4:23938 blocked for more than 144 seconds.
Not tainted 6.3.0-rc6-syzkaller-00168-g95abc817ab3a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:22504 pid:23938 ppid:5105 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0x173b/0x4630 kernel/sched/core.c:6625
schedule+0xc3/0x180 kernel/sched/core.c:6701
wait_on_state fs/btrfs/extent-io-tree.c:707 [inline]
wait_extent_bit+0x50c/0x670 fs/btrfs/extent-io-tree.c:751
lock_extent+0x1ce/0x280 fs/btrfs/extent-io-tree.c:1742
btrfs_page_mkwrite+0x554/0xc90 fs/btrfs/inode.c:8163
do_page_mkwrite+0x1a1/0x600 mm/memory.c:2925
wp_page_shared mm/memory.c:3274 [inline]
do_wp_page+0x501/0x3620 mm/memory.c:3356
handle_pte_fault mm/memory.c:4941 [inline]
__handle_mm_fault mm/memory.c:5065 [inline]
handle_mm_fault+0x23a0/0x51c0 mm/memory.c:5211
do_user_addr_fault arch/x86/mm/fault.c:1407 [inline]
handle_page_fault arch/x86/mm/fault.c:1498 [inline]
exc_page_fault+0x5b1/0x7c0 arch/x86/mm/fault.c:1554
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:copy_user_short_string+0xd/0x40 arch/x86/lib/copy_user_64.S:233
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:ffffc90005867550 EFLAGS: 00050202
RAX: ffffffff84303b01 RBX: 00007fffffffefc8 RCX: 0000000000000007
RDX: 0000000000000000 RSI: ffffc90005867600 RDI: 00000000200001e0
RBP: ffffc900058676b0 R08: 0000000000000000 R09: fffff52000b0cec7
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000038
R13: ffffc90005867600 R14: 00000000200001e0 R15: ffffc90005867600
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+0xed/0x130 lib/usercopy.c:41
copy_to_user include/linux/uaccess.h:169 [inline]
fiemap_fill_next_extent+0x235/0x410 fs/ioctl.c:144
emit_last_fiemap_cache fs/btrfs/extent_io.c:3036 [inline]
extent_fiemap+0x1bf9/0x2150 fs/btrfs/extent_io.c:3563
btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7835
ioctl_fiemap fs/ioctl.c:219 [inline]
do_vfs_ioctl+0x19ba/0x2b10 fs/ioctl.c:810
__do_sys_ioctl fs/ioctl.c:868 [inline]
__se_sys_ioctl+0x81/0x160 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe496e8c169
RSP: 002b:00007fe497cbe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe496fabf80 RCX: 00007fe496e8c169
RDX: 00000000200001c0 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007fe496ee7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd154171cf R14: 00007fe497cbe300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cf25570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cf25d70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8cf253a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4741:
#0: ffff8880290b0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1:
ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
3 locks held by kworker/1:14/6201:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc90015bc7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
#2: ffffffff8cf2a878 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8cf2a878 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989
1 lock held by syz-executor.3/10537:
#0: ffffffff8cf2a878 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8cf2a878 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:989
2 locks held by kworker/1:31/11162:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc9000656fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
3 locks held by syz-executor.4/23937:
#0: ffff88807cb9ae98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff88807cb9ae98 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1348 [inline]
#0: ffff88807cb9ae98 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1498 [inline]
#0: ffff88807cb9ae98 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18e/0x7c0 arch/x86/mm/fault.c:1554
#1: ffff88807d978558 (sb_pagefaults#3){.+.+}-{0:0}, at: do_page_mkwrite+0x1a1/0x600 mm/memory.c:2925
#2: ffff888037455838 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x425/0xc90 fs/btrfs/inode.c:8152
4 locks held by syz-executor.4/23938:
#0: ffff8880374559b0 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
#0: ffff8880374559b0 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:169
#1: ffff88807cb9ae98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#1: ffff88807cb9ae98 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1348 [inline]
#1: ffff88807cb9ae98 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1498 [inline]
#1: ffff88807cb9ae98 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x18e/0x7c0 arch/x86/mm/fault.c:1554
#2: ffff88807d978558 (sb_pagefaults#3){.+.+}-{0:0}, at: do_page_mkwrite+0x1a1/0x600 mm/memory.c:2925
#3: ffff888037455838 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x425/0xc90 fs/btrfs/inode.c:8152
3 locks held by udevadm/27089:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc6-syzkaller-00168-g95abc817ab3a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/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+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 14657 Comm: kworker/u4:1 Not tainted 6.3.0-rc6-syzkaller-00168-g95abc817ab3a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: phy13 ieee80211_iface_work
RIP: 0010:stack_trace_consume_entry+0xf1/0x280 kernel/stacktrace.c:93
Code: 00 00 00 00 00 fc ff df 48 8b 1b 45 8d 70 01 41 0f b6 04 17 84 c0 0f 85 2d 01 00 00 45 89 31 4a 8d 1c c3 48 89 d8 48 c1 e8 03 <80> 3c 10 00 74 1a 4d 89 cf 48 89 df 49 89 d6 49 89 f5 e8 88 d0 67
RSP: 0018:ffffc90005b56f90 EFLAGS: 00000a06
RAX: 1ffff92000b6ae33 RBX: ffffc90005b57198 RCX: ffffffff8f92e000
RDX: dffffc0000000000 RSI: ffffffff8a1b4dff RDI: ffffc90005b570cc
RBP: ffffc90005b570c8 R08: 0000000000000005 R09: ffffc90005b570d0
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000b6ae19
R13: 1ffff92000b6ae19 R14: 0000000000000006 R15: 1ffff92000b6ae1a
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9c292c8000 CR3: 000000001df41000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x105/0x140 arch/x86/kernel/stacktrace.c:27
stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4f/0x70 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:374 [inline]
__kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:383
kasan_kmalloc include/linux/kasan.h:196 [inline]
__do_kmalloc_node mm/slab_common.c:967 [inline]
__kmalloc+0xb9/0x230 mm/slab_common.c:980
kmalloc include/linux/slab.h:584 [inline]
kzalloc include/linux/slab.h:720 [inline]
cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2464 [inline]
cfg80211_inform_bss_frame_data+0x5a5/0x2320 net/wireless/scan.c:2525
ieee80211_bss_info_update+0x801/0xf00 net/mac80211/scan.c:190
ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline]
ieee80211_ibss_rx_queued_mgmt+0x192f/0x2cf0 net/mac80211/ibss.c:1638
ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline]
ieee80211_iface_work+0x7bd/0xd00 net/mac80211/iface.c:1637
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390
worker_thread+0xa63/0x1210 kernel/workqueue.c:2537
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308