INFO: task syz-executor.1:5612 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-12964-g89b7fd5d7f3c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25536 pid:5612 ppid:5024 flags:0x00104004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 io_schedule+0xbe/0x130 kernel/sched/core.c:8979 bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0x11f/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xd9/0x110 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer fs/buffer.c:70 [inline] lock_buffer include/linux/buffer_head.h:406 [inline] __sync_dirty_buffer+0x30e/0x380 fs/buffer.c:2807 __ext4_handle_dirty_metadata+0x2b7/0x8e0 fs/ext4/ext4_jbd2.c:387 ext4_convert_inline_data_nolock+0x6e6/0xf10 fs/ext4/inline.c:1252 ext4_convert_inline_data+0x51a/0x5f0 fs/ext4/inline.c:2063 ext4_page_mkwrite+0x360/0x1680 fs/ext4/inode.c:6044 do_page_mkwrite+0x1a1/0x690 mm/memory.c:2931 do_shared_fault mm/memory.c:4595 [inline] do_fault mm/memory.c:4663 [inline] do_pte_missing mm/memory.c:3647 [inline] handle_pte_fault mm/memory.c:4947 [inline] __handle_mm_fault+0x254b/0x41c0 mm/memory.c:5089 handle_mm_fault+0x2af/0x9f0 mm/memory.c:5243 do_user_addr_fault+0x51a/0x1210 arch/x86/mm/fault.c:1440 handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:rep_movs_alternative+0x33/0xb0 arch/x86/lib/copy_user_64.S:56 Code: 46 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:ffffc9000b787e50 EFLAGS: 00050246 RAX: 0000000700000006 RBX: 0000000000000008 RCX: 0000000000000008 RDX: fffff520016f0fd6 RSI: ffffc9000b787ea8 RDI: 00000000200012c0 RBP: 00000000200012c0 R08: 0000000000000000 R09: ffffc9000b787eaf R10: fffff520016f0fd5 R11: 0000000000000000 R12: ffffc9000b787ea8 R13: 00007fffffffeff8 R14: 00000000200012c0 R15: 0000000000000000 copy_user_generic arch/x86/include/asm/uaccess_64.h:31 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:52 [inline] _copy_to_user lib/usercopy.c:41 [inline] _copy_to_user+0x14c/0x160 lib/usercopy.c:34 copy_to_user include/linux/uaccess.h:191 [inline] do_pipe2+0x128/0x1b0 fs/pipe.c:1012 __do_sys_pipe fs/pipe.c:1033 [inline] __se_sys_pipe fs/pipe.c:1031 [inline] __x64_sys_pipe+0x33/0x40 fs/pipe.c:1031 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe0afe8c169 RSP: 002b:00007fe0b0bcd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000016 RAX: ffffffffffffffda RBX: 00007fe0affabf80 RCX: 00007fe0afe8c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200012c0 RBP: 00007fe0afee7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdcbb5184f R14: 00007fe0b0bcd300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c798630 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c798330 ( rcu_tasks_trace.tasks_gp_mutex ){+.+.}-{3:3} , at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8c799240 ( rcu_read_lock ){....}-{1:2} , at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6545 2 locks held by getty/4753: #0: ffff88802873a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 3 locks held by kworker/1:7/5136: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc9000559fdb0 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 #2: ffffffff8c7a46b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8c7a46b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 3 locks held by kworker/1:8/5153: 4 locks held by syz-executor.1/5612: #0: ffff888078d2c968 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:161 [inline] #0: ffff888078d2c968 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault+0x448/0x1210 arch/x86/mm/fault.c:1381 #1: ffff8880763f8558 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x1a1/0x690 mm/memory.c:2931 #2: ffff8880783769a0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:830 [inline] #2: ffff8880783769a0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x358/0x1680 fs/ext4/inode.c:6042 #3: ffff8880783764c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #3: ffff8880783764c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x352/0x5f0 fs/ext4/inline.c:2061 1 lock held by syz-executor.1/5736: #0: ffffffff8e114fe8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:697 [inline] #0: ffffffff8e114fe8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x240 drivers/net/tun.c:3476 2 locks held by kworker/1:13/8402: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc90017227db0 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 3 locks held by kworker/1:15/8405: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc90017377db0 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 #2: ffffffff8c7a46b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #2: ffffffff8c7a46b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-12964-g89b7fd5d7f3c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:379 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: 8855 Comm: kworker/u4:12 Not tainted 6.3.0-syzkaller-12964-g89b7fd5d7f3c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: phy11 ieee80211_iface_work RIP: 0010:rhltable_lookup include/linux/rhashtable.h:696 [inline] RIP: 0010:sta_info_hash_lookup net/mac80211/sta_info.c:193 [inline] RIP: 0010:sta_info_get+0x113/0x3e0 net/mac80211/sta_info.c:205 Code: 48 8b 0d d0 14 f9 01 4c 8b 05 d9 14 f9 01 48 89 74 24 48 48 89 44 24 30 48 89 54 24 38 48 89 4c 24 40 4c 89 44 24 50 41 50 56 <4c> 89 e6 49 bc 00 00 00 00 00 fc ff df 51 52 50 e8 d8 29 ff ff 48 RSP: 0018:ffffc900063e79c0 EFLAGS: 00000293 RAX: 0030004000060003 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0001000000000000 RSI: 0000000000000000 RDI: ffff888015ab17d0 RBP: 1ffff92000c7cf3a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000094001 R12: ffff88802b641b5a R13: ffff888021348c80 R14: ffff888015ab0de0 R15: 000000000000004c FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe283185998 CR3: 0000000035ed2000 CR4: 0000000000350ef0 Call Trace: ieee80211_update_sta_info net/mac80211/ibss.c:1000 [inline] ieee80211_rx_bss_info net/mac80211/ibss.c:1118 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x1087/0x3030 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1594 [inline] ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1648 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308