INFO: task kworker/u4:5:1061 blocked for more than 143 seconds. Not tainted 6.3.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:22464 pid:1061 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:2) 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 folio_lock include/linux/pagemap.h:952 [inline] write_cache_pages+0x570/0x12c0 mm/page-writeback.c:2440 do_writepages+0x412/0x670 mm/page-writeback.c:2556 __writeback_single_inode+0x155/0xfb0 fs/fs-writeback.c:1600 writeback_sb_inodes+0x8ef/0x11d0 fs/fs-writeback.c:1891 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:1962 wb_writeback+0x46c/0xc70 fs/fs-writeback.c:2067 wb_check_background_flush fs/fs-writeback.c:2133 [inline] wb_do_writeback fs/fs-writeback.c:2221 [inline] wb_workfn+0xc6f/0xff0 fs/fs-writeback.c:2248 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 INFO: task syz-executor.2:5645 blocked for more than 143 seconds. Not tainted 6.3.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:22848 pid:5645 ppid:5094 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 bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1d4/0x250 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:400 [inline] __sync_dirty_buffer+0x120/0x380 fs/buffer.c:2780 __ext4_handle_dirty_metadata+0x2a6/0x820 fs/ext4/ext4_jbd2.c:387 ext4_handle_dirty_dirblock+0x362/0x6f0 fs/ext4/namei.c:438 ext4_finish_convert_inline_dir+0x57b/0x6f0 fs/ext4/inline.c:1180 ext4_convert_inline_data_nolock+0xa01/0xd80 fs/ext4/inline.c:1257 ext4_try_add_inline_entry+0x809/0xb70 fs/ext4/inline.c:1330 ext4_add_entry+0x535/0x1010 fs/ext4/namei.c:2384 ext4_add_nondir+0x98/0x290 fs/ext4/namei.c:2771 ext4_create+0x376/0x550 fs/ext4/namei.c:2816 lookup_open fs/namei.c:3416 [inline] open_last_lookups fs/namei.c:3484 [inline] path_openat+0x13df/0x3170 fs/namei.c:3712 do_filp_open+0x234/0x490 fs/namei.c:3742 do_sys_openat2+0x13f/0x500 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1375 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:0x7fd16a68c169 RSP: 002b:00007fd1691fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd16a7abf80 RCX: 00007fd16a68c169 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007fd16a6e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4612359f R14: 00007fd1691fe300 R15: 0000000000022000 INFO: task syz-executor.4:5682 blocked for more than 144 seconds. Not tainted 6.3.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:24336 pid:5682 ppid:5110 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 bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1d4/0x250 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:400 [inline] __block_write_full_page+0x57d/0x16a0 fs/buffer.c:1813 writepage_cb+0x64/0x130 mm/page-writeback.c:2535 write_cache_pages+0x89e/0x12c0 mm/page-writeback.c:2473 do_writepages+0x412/0x670 mm/page-writeback.c:2556 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] filemap_write_and_wait_range+0x1d4/0x2c0 mm/filemap.c:678 dquot_quota_sync+0x129/0x490 fs/quota/dquot.c:708 iterate_supers+0x12b/0x1e0 fs/super.c:745 quota_sync_all fs/quota/quota.c:69 [inline] __do_sys_quotactl fs/quota/quota.c:937 [inline] __se_sys_quotactl+0x37f/0x810 fs/quota/quota.c:916 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:0x7f18cd48c169 RSP: 002b:00007f18ce1d9168 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f18cd5abf80 RCX: 00007f18cd48c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000102 RBP: 00007f18cd4e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc1a5b41bf R14: 00007f18ce1d9300 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 3 locks held by kworker/u4:5/1061: #0: ffff88801779a138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc9000572fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 #2: ffff8880167700e0 (&type->s_umount_key#41){.+.+}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414 2 locks held by klogd/4418: #0: ffff8880b993be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539 #1: ffffffff8d00fe40 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: __wake_up_common_lock kernel/sched/wait.c:137 [inline] #1: ffffffff8d00fe40 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: __wake_up_sync_key+0xf9/0x1c0 kernel/sched/wait.c:208 2 locks held by getty/4745: #0: ffff888028836098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 4 locks held by kworker/u4:8/5563: 3 locks held by syz-executor.2/5645: #0: ffff88807a9d4460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888037f02218 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff888037f02218 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3481 [inline] #1: ffff888037f02218 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3712 #2: ffff888037f01ee0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888037f01ee0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xf6/0xb70 fs/ext4/inline.c:1288 1 lock held by syz-executor.4/5682: #0: ffff88807a9d40e0 (&type->s_umount_key#30){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 3 locks held by kworker/u4:9/5772: 3 locks held by syz-executor.1/5849: #0: ffff888088d82460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880745b3628 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff8880745b3628 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3481 [inline] #1: ffff8880745b3628 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3712 #2: ffff8880745b32f0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880745b32f0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xf6/0xb70 fs/ext4/inline.c:1288 1 lock held by syz-executor.4/5938: #0: ffff88807a9d40e0 (&type->s_umount_key#30){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.4/6101: #0: ffff88807a9d40e0 (&type->s_umount_key#30){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.4/6103: #0: ffff88807a9d40e0 (&type->s_umount_key#30){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc6-syzkaller #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: 41 Comm: kworker/u4:2 Not tainted 6.3.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: phy11 ieee80211_iface_work RIP: 0010:arch_stack_walk+0x5/0x140 arch/x86/kernel/stacktrace.c:17 Code: ee 31 c0 ee 83 ca 01 31 c0 ee 31 c0 ee eb 8e 31 c0 e6 d4 48 c7 c7 c0 7b f4 8c 4c 89 c6 e9 93 12 74 09 0f 1f 00 66 0f 1f 00 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 68 49 89 cf 49 89 d4 RSP: 0018:ffffc90000b27810 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000b27870 RCX: 0000000000000000 RDX: ffff888017323a80 RSI: ffffc90000b27860 RDI: ffffffff817863e0 RBP: ffffc90000b278f0 R08: dffffc0000000000 R09: ffffc90000b27900 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000b27900 R13: dffffc0000000000 R14: ffffc90000b27860 R15: 1ffff92000164f08 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564c47dca600 CR3: 000000000cd30000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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_save_free_info+0x2b/0x40 mm/kasan/generic.c:521 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook mm/slub.c:1807 [inline] slab_free mm/slub.c:3787 [inline] kmem_cache_free+0x297/0x520 mm/slub.c:3809 kfree_skb include/linux/skbuff.h:1225 [inline] ieee80211_iface_work+0x264/0xd00 net/mac80211/iface.c:1639 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