INFO: task syz-executor.2:6531 blocked for more than 143 seconds. Not tainted 5.15.152-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:22552 pid: 6531 ppid: 4245 flags:0x00004006 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:0x7fc80210cdb1 RSP: 002b:0000000020000060 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fc80223af80 RCX: 00007fc80210cda9 RDX: 0000000020000080 RSI: 0000000020000060 RDI: 0000000000040000 RBP: 00007fc80215947a R08: 0000000020000100 R09: 0000000020000100 R10: 00000000200000c0 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc80223af80 R15: 00007ffec761d6f8 Showing all locks held in the system: 3 locks held by kworker/0:0/7: #0: ffff88814a8bf938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000cc7d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x1720 net/ipv6/addrconf.c:4111 2 locks held by kworker/1:0/21: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000db7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by kworker/1:1/25: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000dffd20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888022e6a240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1478 1 lock held by khungtaskd/27: #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/1:2/1068: #0: ffff88814a8bf938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900049b7d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x1720 net/ipv6/addrconf.c:4111 3 locks held by kworker/1:3/2925: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000c8b7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 2 locks held by getty/3261: #0: ffff8880248e3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000229b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/1:4/3556: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900032f7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 2 locks held by kworker/1:5/3561: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004387d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 4 locks held by kworker/u4:5/3601: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000496fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9cfe50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0xa4f/0xc40 net/core/dev.c:10652 3 locks held by kworker/u4:6/4338: 4 locks held by kworker/u4:7/4589: #0: ffff8880145aa138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003b27d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888024bd2bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #3: ffff888024bd4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x12b9/0x1570 fs/jbd2/transaction.c:462 3 locks held by syz-executor.2/6531: #0: ffff888024bd0460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff888059940de8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff888059940de8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff888024bd00e0 (&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/7173: 2 locks held by kworker/1:8/7517: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90005d2fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by kworker/1:9/7518: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90005dcfd20 (binder_deferred_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d91e948 (binder_deferred_lock){+.+.}-{3:3}, at: binder_deferred_func+0x31/0x1c40 drivers/android/binder.c:5719 3 locks held by syz-executor.3/8508: 1 lock held by syz-executor.3/8526: 2 locks held by syz-executor.2/8533: #0: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5626 #1: ffff888075a313e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x224/0x410 drivers/net/wireguard/device.c:49 4 locks held by syz-executor.3/8549: 3 locks held by syz-executor.3/8560: 2 locks held by syz-executor.1/8574: 3 locks held by syz-executor.0/8582: 2 locks held by syz-executor.1/8593: 2 locks held by syz-executor.0/8596: 4 locks held by syz-executor.1/8601: 2 locks held by syz-executor.0/8604: 4 locks held by syz-executor.1/8613: 2 locks held by syz-executor.4/8634: 4 locks held by syz-executor.0/8640: 4 locks held by syz-executor.1/8645: 4 locks held by syz-executor.4/8654: 4 locks held by syz-executor.1/8665: 2 locks held by syz-executor.0/8684: 4 locks held by syz-executor.3/8696: 4 locks held by syz-executor.1/8704: 4 locks held by syz-executor.4/8722: 4 locks held by syz-executor.1/8741: 4 locks held by syz-executor.0/8744: 4 locks held by syz-executor.4/8761: 2 locks held by syz-executor.0/8777: 3 locks held by syz-executor.1/8789: 2 locks held by syz-executor.0/8807: 4 locks held by syz-executor.3/8818: 2 locks held by syz-executor.4/8839: 4 locks held by syz-executor.3/8840: 5 locks held by syz-executor.0/8861: 4 locks held by syz-executor.1/8863: 2 locks held by syz-executor.3/8869: 2 locks held by syz-executor.0/8876: 2 locks held by syz-executor.0/8887: 3 locks held by syz-executor.1/8889: 4 locks held by syz-executor.3/8892: 6 locks held by syz-executor.4/8905: 4 locks held by syz-executor.1/8918: 4 locks held by syz-executor.0/8924: 4 locks held by syz-executor.4/8931: 4 locks held by syz-executor.1/8940: 4 locks held by syz-executor.0/8948: 2 locks held by syz-executor.4/8950: 2 locks held by syz-executor.1/8958: 4 locks held by syz-executor.4/8968: 4 locks held by syz-executor.0/8978: 5 locks held by syz-executor.3/8988: 4 locks held by syz-executor.1/8997: 2 locks held by syz-executor.3/9002: 3 locks held by syz-executor.0/9003: 2 locks held by syz-executor.0/9017: 5 locks held by syz-executor.1/9022: 4 locks held by syz-executor.3/9026: 2 locks held by kworker/1:10/9027: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900058e7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 4 locks held by syz-executor.0/9034: 2 locks held by syz-executor.1/9041: 4 locks held by syz-executor.3/9046: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8777 Comm: syz-executor.0 Not tainted 5.15.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:__lock_acquire+0x12d3/0x1ff0 kernel/locking/lockdep.c:5016 Code: 48 8b 44 24 60 80 3c 10 00 48 8b 5c 24 58 74 12 48 89 df e8 3f 52 67 00 48 ba 00 00 00 00 00 fc ff df 48 89 2b 48 8b 44 24 40 <0f> b6 04 10 84 c0 0f 85 7e 08 00 00 41 8b 45 00 ff c0 41 89 45 00 RSP: 0018:ffffc90004b66700 EFLAGS: 00000046 RAX: 1ffff110033148cd RBX: ffff8880198a4660 RCX: 1ffff9200096cca8 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8880198a3b80 RBP: 10c8020440455da5 R08: dffffc0000000000 R09: fffffbfff1f79e19 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: ffff8880198a4668 R14: ffff8880198a3b80 R15: ffff8880198a46e0 FS: 00007f25c706c6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdcbecae08 CR3: 0000000019742000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:269 rcu_read_lock include/linux/rcupdate.h:696 [inline] percpu_ref_put_many include/linux/percpu-refcount.h:317 [inline] percpu_ref_put include/linux/percpu-refcount.h:338 [inline] obj_cgroup_put+0xe/0xc0 include/linux/memcontrol.h:816 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] alloc_buffer_head+0x20/0xf0 fs/buffer.c:3311 alloc_page_buffers+0x3a3/0x660 fs/buffer.c:832 create_empty_buffers+0x3a/0x6d0 fs/buffer.c:1562 ext4_write_begin+0x40d/0x15f0 fs/ext4/inode.c:1181 ext4_da_write_begin+0x342/0xb60 fs/ext4/inode.c:2963 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:0x7f25c8aebdb1 Code: c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 48 3d 01 f0 ff ff 73 01 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:0000000020000060 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f25c8c19f80 RCX: 00007f25c8aebda9 RDX: 0000000020000080 RSI: 0000000020000060 RDI: 0000000000040000 RBP: 00007f25c8b3847a R08: 0000000020000100 R09: 0000000020000100 R10: 00000000200000c0 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f25c8c19f80 R15: 00007fff3e9de118