INFO: task syz-executor.4:5285 blocked for more than 143 seconds. Not tainted 5.15.148-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:20600 pid: 5285 ppid: 3586 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 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:2933 [inline] ext4_da_write_begin+0x228/0xb60 fs/ext4/inode.c:2960 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3785 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268 ext4_file_write_iter+0x87c/0x1990 __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:2875 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:314 exc_general_protection+0x358/0x4f0 arch/x86/kernel/traps.c:562 asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:562 RIP: 0033:0x7f70ea280db1 RSP: 002b:0000000020000490 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f70ea3aef80 RCX: 00007f70ea280da9 RDX: 00000000200004c0 RSI: 0000000020000490 RDI: 0000000020004000 RBP: 00007f70ea2cd47a R08: 0000000020000540 R09: 0000000020000540 R10: 0000000020000500 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f70ea3aef80 R15: 00007ffee19ad058 Showing all locks held in the system: 2 locks held by kworker/0:0/7: #0: ffff888011c72538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000cc7d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by khungtaskd/26: #0: ffffffff8c91f220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by dhcpcd/3177: #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 2 locks held by getty/3260: #0: ffff8880254af098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000249b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by kworker/u4:2/3603: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900030c7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9cead0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 1 lock held by kworker/u4:4/3604: #0: ffff8880b9a39718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 3 locks held by kworker/1:5/3628: #0: ffff888011c70d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003337d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 3 locks held by kworker/u4:5/3663: #0: ffff8881435dd138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003407d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 3 locks held by syz-executor.4/5285: #0: ffff8880254a2460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff88806f6f03f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff88806f6f03f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff8880254a20e0 (&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/5358: 1 lock held by syz-executor.0/5359: 1 lock held by syz-executor.2/5363: 1 lock held by syz-executor.3/5386: 1 lock held by syz-executor.4/5398: 1 lock held by syz-executor.0/5410: 2 locks held by syz-executor.0/5412: 1 lock held by syz-executor.2/5414: 1 lock held by syz-executor.2/5416: 1 lock held by syz-executor.0/5427: 1 lock held by syz-executor.4/5430: 1 lock held by syz-executor.0/5433: 1 lock held by syz-executor.3/5567: 1 lock held by syz-executor.2/5775: 1 lock held by syz-executor.0/5779: 1 lock held by syz-executor.2/5781: 1 lock held by syz-executor.0/5787: 1 lock held by syz-executor.2/5824: 2 locks held by syz-executor.0/5827: 1 lock held by syz-executor.4/6775: 1 lock held by syz-executor.2/6796: 1 lock held by syz-executor.4/6798: 1 lock held by syz-executor.4/6833: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/6865: 1 lock held by syz-executor.2/7041: 1 lock held by syz-executor.3/7043: 1 lock held by syz-executor.4/7050: 1 lock held by syz-executor.3/7053: 1 lock held by syz-executor.4/7054: 1 lock held by syz-executor.2/7056: 1 lock held by syz-executor.0/7068: 1 lock held by syz-executor.3/7071: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.2/7074: 1 lock held by syz-executor.2/7075: 1 lock held by syz-executor.0/7076: 1 lock held by syz-executor.4/7081: 1 lock held by syz-executor.3/7278: 1 lock held by syz-executor.3/7281: 1 lock held by syz-executor.4/7305: 1 lock held by syz-executor.4/7308: 1 lock held by syz-executor.3/7320: 1 lock held by syz-executor.1/7323: 1 lock held by syz-executor.0/7332: 1 lock held by syz-executor.0/7334: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.3/7335: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/7352: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/7356: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 2 locks held by syz-executor.1/7361: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #1: ffff8880254a63f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: jbd2_log_do_checkpoint+0xb25/0x1220 fs/jbd2/checkpoint.c:237 2 locks held by syz-executor.4/7494: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #1: ffff8880254a63f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: jbd2_log_do_checkpoint+0xb25/0x1220 fs/jbd2/checkpoint.c:237 1 lock held by syz-executor.3/7505: 2 locks held by syz-executor.3/7616: 1 lock held by syz-executor.1/7693: 2 locks held by syz-executor.1/7718: 1 lock held by syz-executor.1/7801: 1 lock held by syz-executor.1/7802: 2 locks held by syz-executor.2/7818: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #1: ffff8880254a63f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: jbd2_log_do_checkpoint+0xb25/0x1220 fs/jbd2/checkpoint.c:237 1 lock held by syz-executor.2/7839: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.1/7866: 2 locks held by syz-executor.3/7899: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #1: ffff8880254a63f8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: jbd2_log_do_checkpoint+0xb25/0x1220 fs/jbd2/checkpoint.c:237 1 lock held by syz-executor.1/7934: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.2/7940: 1 lock held by syz-executor.4/7969: 1 lock held by syz-executor.1/8001: 1 lock held by syz-executor.1/8027: 1 lock held by syz-executor.3/8119: 1 lock held by syz-executor.1/8150: 1 lock held by syz-executor.1/8231: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.3/9002: 1 lock held by syz-executor.2/9294: 1 lock held by syz-executor.1/9355: 1 lock held by syz-executor.0/9590: 1 lock held by syz-executor.4/9602: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/9729: 1 lock held by syz-executor.1/9960: 1 lock held by syz-executor.4/10040: 1 lock held by syz-executor.4/10046: 1 lock held by syz-executor.3/10054: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/10065: 1 lock held by syz-executor.4/10068: 1 lock held by syz-executor.1/10073: 1 lock held by syz-executor.3/10792: 1 lock held by syz-executor.0/11330: 1 lock held by syz-executor.2/11344: 1 lock held by syz-executor.0/11379: #0: ffff8880254a4bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.0/11412: 1 lock held by syz-executor.2/11422: 1 lock held by syz-executor.3/11891: 2 locks held by syz-executor.3/11901: 1 lock held by syz-executor.3/12029: 1 lock held by syz-executor.3/12208: 1 lock held by syz-executor.0/12211: 1 lock held by syz-executor.0/12238: 1 lock held by syz-executor.3/12241: 3 locks held by syz-executor.0/12378: 3 locks held by syz-executor.0/12380: 1 lock held by syz-executor.3/12384: 2 locks held by syz-executor.3/12385: 2 locks held by syz-executor.2/12387: 4 locks held by syz-executor.2/12389: 3 locks held by syz-executor.4/12399: 3 locks held by syz-executor.4/12401: 2 locks held by dhcpcd/12403: #0: ffff88806f425010 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #0: ffff88806f425010 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff88806f425010 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1336 #1: ffffffff8c9237e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c9237e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 2 locks held by syz-executor.1/12405: #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 #1: ffffffff8c9237e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8c9237e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 2 locks held by syz-executor.0/12409: 2 locks held by syz-executor.0/12410: 3 locks held by syz-executor.2/12417: 2 locks held by syz-executor.3/12425: 3 locks held by syz-executor.4/12426: 2 locks held by syz-executor.2/12427: 3 locks held by syz-executor.0/12431: 3 locks held by syz-executor.0/12432: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb 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:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3604 Comm: kworker/u4:4 Not tainted 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: phy5 ieee80211_iface_work RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65 Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01 RSP: 0018:ffffc900030d71e0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc900030d72f0 RCX: 0000000000000000 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc900030d7300 RBP: ffffffff8e59eae6 R08: dffffc0000000000 R09: ffffc900030d72f0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cb3d5c R13: 1ffffffff1cb3d5c R14: ffffffff8e59eae2 R15: ffffc900030d72a0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e9ffacf680 CR3: 0000000024b8d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xbc8/0x1fa0 arch/x86/kernel/unwind_orc.c:547 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc+0xba/0xf0 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc+0x168/0x300 mm/slub.c:4407 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:2238 [inline] ieee80211_bss_info_update+0x86d/0xc80 net/mac80211/scan.c:212 ieee80211_rx_bss_info net/mac80211/ibss.c:1123 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline] ieee80211_ibss_rx_queued_mgmt+0x175e/0x2af0 net/mac80211/ibss.c:1643 ieee80211_iface_process_skb net/mac80211/iface.c:1441 [inline] ieee80211_iface_work+0x78f/0xcc0 net/mac80211/iface.c:1495 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298