INFO: task syz-executor.5:5281 blocked for more than 143 seconds. Not tainted 5.15.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:22904 pid: 5281 ppid: 4485 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 __writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2684 try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2732 ext4_nonda_switch fs/ext4/inode.c:2944 [inline] ext4_da_write_begin+0x228/0xb60 fs/ext4/inode.c:2971 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3785 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268 ext4_file_write_iter+0x1d1/0x1940 fs/ext4/file.c:662 __kernel_write+0x5b1/0xa60 fs/read_write.c:539 __dump_emit+0x264/0x3a0 fs/coredump.c:875 dump_user_range+0x91/0x320 fs/coredump.c:949 elf_core_dump+0x3c7d/0x4570 fs/binfmt_elf.c:2285 do_coredump+0x1852/0x31e0 fs/coredump.c:826 get_signal+0xc06/0x14e0 kernel/signal.c:2886 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 exc_page_fault+0x342/0x700 arch/x86/mm/fault.c:1504 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x0 RSP: 002b:00000000200003c8 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f4fedfbd050 RCX: 00007f4fede9dae9 RDX: 0000000000000000 RSI: 00000000200003c0 RDI: 00000000a0b00200 RBP: 00007f4fedee947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000006e R14: 00007f4fedfbd050 R15: 00007ffc32128848 INFO: task syz-executor.5:5339 blocked for more than 144 seconds. Not tainted 5.15.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:23264 pid: 5339 ppid: 4485 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 __writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2684 try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2732 ext4_nonda_switch fs/ext4/inode.c:2944 [inline] ext4_da_write_begin+0x228/0xb60 fs/ext4/inode.c:2971 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3785 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268 ext4_file_write_iter+0x1d1/0x1940 fs/ext4/file.c:662 __kernel_write+0x5b1/0xa60 fs/read_write.c:539 __dump_emit+0x264/0x3a0 fs/coredump.c:875 dump_user_range+0x91/0x320 fs/coredump.c:949 elf_core_dump+0x3c7d/0x4570 fs/binfmt_elf.c:2285 do_coredump+0x1852/0x31e0 fs/coredump.c:826 get_signal+0xc06/0x14e0 kernel/signal.c:2886 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 exc_page_fault+0x342/0x700 arch/x86/mm/fault.c:1504 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x0 RSP: 002b:00000000200003c8 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f4fedfbcf80 RCX: 00007f4fede9dae9 RDX: 0000000000000000 RSI: 00000000200003c0 RDI: 00000000a0b00200 RBP: 00007f4fedee947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4fedfbcf80 R15: 00007ffc32128848 Showing all locks held in the system: 4 locks held by kworker/u4:0/9: #0: ffff8880171cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000ce7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8da26590 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:561 #3: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #3: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 1 lock held by khungtaskd/27: #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:2/154: 2 locks held by getty/3920: #0: ffff88802c624098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by kworker/1:4/4189: #0: ffff888017070938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900031f7d20 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c924130 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039 3 locks held by kworker/1:6/4585: 2 locks held by kworker/0:6/4613: #0: ffff888017072138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002f17d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by syz-executor.5/5281: #0: ffff88802cf6e460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff88805e43a1d8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88805e43a1d8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88802cf6e0e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2729 3 locks held by syz-executor.5/5339: #0: ffff88802cf6e460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff888073b82bd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff888073b82bd0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88802cf6e0e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2729 1 lock held by syz-executor.3/6242: 1 lock held by syz-executor.2/6246: 1 lock held by syz-executor.5/6258: 1 lock held by syz-executor.5/6259: 1 lock held by syz-executor.2/6271: 1 lock held by syz-executor.1/6281: 1 lock held by syz-executor.5/6283: 1 lock held by syz-executor.4/6289: 1 lock held by syz-executor.3/6298: 1 lock held by syz-executor.5/6300: 1 lock held by syz-executor.5/6333: 1 lock held by syz-executor.4/6339: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.1/6357: 1 lock held by syz-executor.2/6361: 1 lock held by syz-executor.3/6364: 1 lock held by syz-executor.3/6416: 1 lock held by syz-executor.4/6426: 1 lock held by syz-executor.5/6451: 1 lock held by syz-executor.4/6452: 1 lock held by syz-executor.1/6464: 1 lock held by syz-executor.4/6472: 1 lock held by syz-executor.5/6475: 1 lock held by syz-executor.5/6495: 1 lock held by syz-executor.1/6510: 1 lock held by syz-executor.1/6532: 1 lock held by syz-executor.4/6546: 1 lock held by syz-executor.1/6556: 1 lock held by syz-executor.5/6559: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.1/6577: 1 lock held by syz-executor.5/6580: 1 lock held by syz-executor.5/6581: 1 lock held by syz-executor.2/6594: 1 lock held by syz-executor.4/6602: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.3/6607: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.3/6608: 1 lock held by syz-executor.1/6616: 1 lock held by syz-executor.5/6622: 1 lock held by syz-executor.3/6624: 1 lock held by syz-executor.4/6630: 1 lock held by syz-executor.3/6636: 1 lock held by syz-executor.5/7169: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.5/7172: 1 lock held by syz-executor.4/7191: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.1/7213: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.3/7214: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 2 locks held by syz-executor.5/7221: 1 lock held by syz-executor.5/7222: 1 lock held by syz-executor.4/7235: 2 locks held by syz-executor.4/7245: 1 lock held by syz-executor.3/7251: 1 lock held by syz-executor.3/7255: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.2/7263: 3 locks held by syz-executor.0/7275: 1 lock held by syz-executor.1/7283: 1 lock held by syz-executor.5/7294: 1 lock held by syz-executor.5/7297: 1 lock held by syz-executor.2/7304: 1 lock held by syz-executor.2/7310: 1 lock held by syz-executor.3/7319: 1 lock held by syz-executor.4/7322: 1 lock held by syz-executor.4/7323: 1 lock held by syz-executor.1/7330: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.0/7332: 1 lock held by syz-executor.5/7337: 1 lock held by syz-executor.2/7341: 2 locks held by syz-executor.3/7365: 1 lock held by syz-executor.2/7366: 2 locks held by syz-executor.0/7369: 1 lock held by syz-executor.2/7372: 1 lock held by syz-executor.4/7373: 1 lock held by syz-executor.3/7378: 1 lock held by syz-executor.1/7392: 1 lock held by syz-executor.2/7396: 1 lock held by syz-executor.4/7419: 1 lock held by syz-executor.5/7424: 1 lock held by syz-executor.2/7435: 1 lock held by syz-executor.1/7454: 1 lock held by syz-executor.0/7455: 1 lock held by syz-executor.1/7460: 1 lock held by syz-executor.4/7476: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.2/7477: 1 lock held by syz-executor.0/7482: 1 lock held by syz-executor.3/7491: 1 lock held by syz-executor.0/7492: 1 lock held by syz-executor.5/7493: 1 lock held by syz-executor.1/7507: 1 lock held by syz-executor.4/7510: 3 locks held by syz-executor.2/7520: 1 lock held by syz-executor.2/7522: 1 lock held by syz-executor.3/7523: 1 lock held by syz-executor.4/7525: 1 lock held by syz-executor.0/7527: 2 locks held by syz-executor.0/7531: 3 locks held by syz-executor.5/7537: 1 lock held by syz-executor.3/7552: 2 locks held by syz-executor.0/7562: 1 lock held by syz-executor.3/7768: 1 lock held by syz-executor.2/7809: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.3/7816: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.3/7831: 1 lock held by syz-executor.4/7853: 1 lock held by syz-executor.5/7863: 1 lock held by syz-executor.4/7877: 1 lock held by syz-executor.4/7878: 1 lock held by syz-executor.3/7911: 2 locks held by syz-executor.0/7913: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 #1: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 1 lock held by syz-executor.0/7915: 1 lock held by syz-executor.4/7921: 1 lock held by syz-executor.5/7933: 1 lock held by syz-executor.0/7934: #0: ffff88814c940bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2688 1 lock held by syz-executor.2/7954: 1 lock held by syz-executor.5/7961: 1 lock held by syz-executor.3/7968: 1 lock held by dhcpcd/8123: #0: ffff888064001410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff888064001410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff888064001410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1336 2 locks held by dhcpcd/8124: #0: ffff8880669a6120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1678 [inline] #0: ffff8880669a6120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd50 net/packet/af_packet.c:3227 #1: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 1 lock held by dhcpcd/8125: #0: ffff888066382120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1678 [inline] #0: ffff888066382120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd50 net/packet/af_packet.c:3227 1 lock held by dhcpcd/8126: #0: ffff888066384120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1678 [inline] #0: ffff888066384120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd50 net/packet/af_packet.c:3227 1 lock held by dhcpcd/8127: #0: ffff888062aba120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1678 [inline] #0: ffff888062aba120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd50 net/packet/af_packet.c:3227 1 lock held by dhcpcd/8128: #0: ffff888078d2c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1678 [inline] #0: ffff888078d2c120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd50 net/packet/af_packet.c:3227 1 lock held by dhcpcd/8143: #0: ffff888074ec4120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1678 [inline] #0: ffff888074ec4120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd50 net/packet/af_packet.c:3227 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5435 Comm: kworker/u4:7 Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: phy15 ieee80211_iface_work RIP: 0010:__slab_alloc mm/slub.c:3092 [inline] RIP: 0010:slab_alloc_node mm/slub.c:3186 [inline] RIP: 0010:slab_alloc mm/slub.c:3228 [inline] RIP: 0010:__kmalloc+0x18b/0x300 mm/slub.c:4403 Code: 89 f9 e8 48 85 00 00 65 48 8b 0c 25 28 00 00 00 48 3b 4c 24 20 0f 85 d7 00 00 00 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 01 00 00 00 e8 5b e5 8d ff 48 8b 5d 00 e8 b2 7c 6a 08 41 89 c4 RSP: 0018:ffffc900031777a0 EFLAGS: 00000246 RAX: ffff8880b913df00 RBX: 0000000000000028 RCX: 0000000000000000 RDX: 000000000006ebd9 RSI: 0000000000000400 RDI: ffffffff8c9f5c20 RBP: ffff888017041dc0 R08: 0000000000000001 R09: ffff88806459f060 R10: 0000000000000006 R11: ffff88805bc9bb80 R12: 0000000000000000 R13: ffff888017041dc0 R14: 0000000000000248 R15: 0000000000000b20 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f23c4afa440 CR3: 000000002453d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmalloc include/linux/slab.h:596 [inline] kzalloc include/linux/slab.h:721 [inline] ieee802_11_parse_elems_crc+0xb3/0x1130 net/mac80211/util.c:1478 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2240 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x380/0x2af0 net/mac80211/ibss.c:1643 ieee80211_iface_process_skb net/mac80211/iface.c:1456 [inline] ieee80211_iface_work+0x78f/0xcc0 net/mac80211/iface.c:1510 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287