INFO: task kworker/u4:11:31125 blocked for more than 143 seconds. Not tainted 6.2.0-syzkaller-02019-g89f5349e0673 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:11 state:D stack:25584 pid:31125 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc77/0x5af0 kernel/sched/core.c:6617 schedule+0xde/0x1a0 kernel/sched/core.c:6693 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 ip6_tnl_exit_batch_net+0x86/0x890 net/ipv6/ip6_tunnel.c:2275 ops_exit_list+0x125/0x170 net/core/net_namespace.c:174 cleanup_net+0x4ee/0xb10 net/core/net_namespace.c:613 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task kworker/1:5:32384 blocked for more than 143 seconds. Not tainted 6.2.0-syzkaller-02019-g89f5349e0673 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:5 state:D stack:28136 pid:32384 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc77/0x5af0 kernel/sched/core.c:6617 schedule+0xde/0x1a0 kernel/sched/core.c:6693 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4629 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.1:32633 blocked for more than 144 seconds. Not tainted 6.2.0-syzkaller-02019-g89f5349e0673 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24416 pid:32633 ppid:5121 flags:0x20004006 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc77/0x5af0 kernel/sched/core.c:6617 schedule+0xde/0x1a0 kernel/sched/core.c:6693 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 vti6_exit_batch_net+0x86/0x670 net/ipv6/ip6_vti.c:1183 ops_exit_list+0x125/0x170 net/core/net_namespace.c:174 setup_net+0x7fb/0xc50 net/core/net_namespace.c:361 copy_net_ns+0x4e9/0x8d0 net/core/net_namespace.c:490 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x3b3/0x4a0 kernel/nsproxy.c:179 copy_process+0x3129/0x75f0 kernel/fork.c:2275 kernel_clone+0xeb/0x9f0 kernel/fork.c:2687 __do_compat_sys_ia32_clone+0x9e/0xd0 arch/x86/kernel/sys_ia32.c:254 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f25549 RSP: 002b:00000000f7f2057c EFLAGS: 00000246 ORIG_RAX: 0000000000000078 RAX: ffffffffffffffda RBX: 0000000044000080 RCX: 0000000000000000 RDX: 0000000020000280 RSI: 0000000000000000 RDI: 0000000020000300 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c794410 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c794110 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8c794f60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6495 2 locks held by getty/4755: #0: ffff888027f54098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 3 locks held by kworker/0:0/25763: #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90005507da8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4629 3 locks held by kworker/u4:5/31111: 4 locks held by kworker/u4:11/31125: #0: ffff888012617938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012617938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012617938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012617938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012617938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012617938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000a797da8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8e0d2ed0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb10 net/core/net_namespace.c:575 #3: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: ip6_tnl_exit_batch_net+0x86/0x890 net/ipv6/ip6_tunnel.c:2275 3 locks held by kworker/1:5/32384: #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888027513538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000575fda8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4629 2 locks held by syz-executor.1/32633: #0: ffffffff8e0d2ed0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x8d0 net/core/net_namespace.c:486 #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: vti6_exit_batch_net+0x86/0x670 net/ipv6/ip6_vti.c:1183 4 locks held by syz-executor.1/32634: 1 lock held by syz-executor.1/32635: 2 locks held by syz-executor.4/32656: #0: ffffffff8e0d2ed0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x8d0 net/core/net_namespace.c:486 #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:805 [inline] #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x218/0x470 net/smc/smc_pnet.c:874 1 lock held by syz-executor.2/32662: #0: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x16e/0x910 net/netlink/af_netlink.c:2365 2 locks held by syz-executor.1/32686: #0: ffffffff8e0d2ed0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x8d0 net/core/net_namespace.c:486 #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:805 [inline] #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x218/0x470 net/smc/smc_pnet.c:874 2 locks held by syz-executor.1/32690: #0: ffffffff8e0d2ed0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x8d0 net/core/net_namespace.c:486 #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:805 [inline] #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x218/0x470 net/smc/smc_pnet.c:874 2 locks held by syz-executor.1/32698: #0: ffffffff8e0d2ed0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x8d0 net/core/net_namespace.c:486 #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:805 [inline] #1: ffffffff8e0e6b68 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x218/0x470 net/smc/smc_pnet.c:874 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller-02019-g89f5349e0673 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 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: 32635 Comm: syz-executor.1 Not tainted 6.2.0-syzkaller-02019-g89f5349e0673 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:get_current arch/x86/include/asm/current.h:41 [inline] RIP: 0010:lockdep_hardirqs_on+0xd/0x100 kernel/locking/lockdep.c:4329 Code: 4c 8a c6 05 de 62 56 04 01 e8 6f 58 40 f7 0f 0b c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 44 8b 05 c5 ea 6b 04 55 53 <65> 48 8b 1c 25 00 ac 03 00 45 85 c0 0f 84 85 00 00 00 65 8b 05 82 RSP: 0018:ffffc90016336cc8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff888078182fb8 RCX: 1ffffffff2272836 RDX: dffffc0000000000 RSI: 0000000000000002 RDI: ffffffff8a0db043 RBP: ffff888078182fc0 R08: 0000000000000001 R09: ffffffff91378b4f R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000001 R14: ffff888078182fc0 R15: ffffea0000fd6474 FS: 0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000f7edeb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055b3235f35c0 CR3: 000000002fac0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] _raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202 spin_unlock_irq include/linux/spinlock.h:400 [inline] __remove_mapping+0x1e7/0xb80 mm/vmscan.c:1417 shrink_folio_list+0x131a/0x3ca0 mm/vmscan.c:2038 evict_folios+0x79d/0x1970 mm/vmscan.c:5047 lru_gen_shrink_lruvec mm/vmscan.c:5232 [inline] shrink_lruvec+0x6fa/0x35d0 mm/vmscan.c:5924 shrink_node_memcgs mm/vmscan.c:6145 [inline] shrink_node+0x633/0x1f00 mm/vmscan.c:6176 shrink_zones mm/vmscan.c:6414 [inline] do_try_to_free_pages+0x3c8/0x17d0 mm/vmscan.c:6476 try_to_free_mem_cgroup_pages+0x39d/0xa70 mm/vmscan.c:6791 reclaim_high.constprop.0+0x182/0x230 mm/memcontrol.c:2393 mem_cgroup_handle_over_high+0x190/0x520 mm/memcontrol.c:2578 try_charge_memcg+0xe0c/0x12f0 mm/memcontrol.c:2816 try_charge mm/memcontrol.c:2827 [inline] charge_memcg+0x90/0x3b0 mm/memcontrol.c:6906 __mem_cgroup_charge+0x2b/0x90 mm/memcontrol.c:6927 mem_cgroup_charge include/linux/memcontrol.h:671 [inline] __filemap_add_folio+0x615/0xf80 mm/filemap.c:853 filemap_add_folio+0xaf/0x1e0 mm/filemap.c:935 __filemap_get_folio+0x389/0xd80 mm/filemap.c:1977 pagecache_get_page+0x2e/0x280 mm/folio-compat.c:98 find_or_create_page include/linux/pagemap.h:612 [inline] aio_setup_ring fs/aio.c:532 [inline] ioctx_alloc+0x6ac/0x2180 fs/aio.c:790 __do_compat_sys_io_setup fs/aio.c:1387 [inline] __se_compat_sys_io_setup fs/aio.c:1370 [inline] __ia32_compat_sys_io_setup+0xc8/0x210 fs/aio.c:1370 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f25549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7ede5cc EFLAGS: 00000296 ORIG_RAX: 00000000000000f5 RAX: ffffffffffffffda RBX: 0000000000010000 RCX: 0000000020000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000