------------[ cut here ]------------ WARNING: CPU: 1 PID: 4301 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 Modules linked in: CPU: 1 PID: 4301 Comm: syz-executor Not tainted 6.1.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 lr : inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 sp : ffff800008017c70 x29: ffff800008017c70 x28: ffff0000c3535e30 x27: 0000000000000006 x26: 1fffe000186a6b54 x25: dfff800000000000 x24: 1fffe000186a6b2a x23: 1fffe000186a6b2d x22: 0000000000000007 x21: 0000000000000000 x20: 0000000000000fec x19: ffff0000c3535940 x18: 1fffe00019cdaaef x17: ffff80019e31d000 x16: ffff8000084f309c x15: 0000000000000000 x14: 1ffff00002b520b2 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800010e8e724 x8 : ffff0000ce6d5340 x7 : ffff8000083b1150 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800010e8e574 x2 : 0000000000000000 x1 : 0000000000000fec x0 : 0000000000000000 Call trace: inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 inet6_sock_destruct+0x28/0x38 net/ipv6/af_inet6.c:115 __sk_destruct+0x5c/0x75c net/core/sock.c:2142 rcu_do_batch kernel/rcu/tree.c:2297 [inline] rcu_core+0x880/0x1c48 kernel/rcu/tree.c:2557 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2574 handle_softirqs+0x318/0xd58 kernel/softirq.c:571 __do_softirq+0x14/0x20 kernel/softirq.c:605 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:654 irq_exit_rcu+0x14/0x84 kernel/softirq.c:666 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 bytes_is_nonzero mm/kasan/generic.c:84 [inline] memory_is_nonzero mm/kasan/generic.c:102 [inline] memory_is_poisoned_n mm/kasan/generic.c:128 [inline] memory_is_poisoned mm/kasan/generic.c:159 [inline] check_region_inline mm/kasan/generic.c:180 [inline] kasan_check_range+0x78/0x2a4 mm/kasan/generic.c:189 memmove+0x60/0x90 mm/kasan/shadow.c:55 copy_pages fs/btrfs/extent_io.c:5612 [inline] memmove_extent_buffer+0x2b8/0x468 fs/btrfs/extent_io.c:5680 setup_items_for_insert+0x560/0xa80 fs/btrfs/ctree.c:4111 btrfs_insert_empty_items+0x100/0x178 fs/btrfs/ctree.c:4187 btrfs_insert_empty_item fs/btrfs/ctree.h:3137 [inline] remove_free_space_extent fs/btrfs/free-space-tree.c:783 [inline] __remove_from_free_space_tree fs/btrfs/free-space-tree.c:822 [inline] remove_from_free_space_tree+0x98c/0xdf8 fs/btrfs/free-space-tree.c:851 alloc_reserved_extent+0x5c/0x438 fs/btrfs/extent-tree.c:4677 alloc_reserved_tree_block fs/btrfs/extent-tree.c:4828 [inline] run_delayed_tree_ref fs/btrfs/extent-tree.c:1676 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1705 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1954 [inline] __btrfs_run_delayed_refs+0x1310/0x3a90 fs/btrfs/extent-tree.c:2017 btrfs_run_delayed_refs+0x2c0/0x4c0 fs/btrfs/extent-tree.c:2148 commit_cowonly_roots+0x574/0x740 fs/btrfs/transaction.c:1325 btrfs_commit_transaction+0x1228/0x2cd4 fs/btrfs/transaction.c:2425 btrfs_commit_super+0xb4/0xd0 fs/btrfs/disk-io.c:4542 close_ctree+0x3c4/0xb10 fs/btrfs/disk-io.c:4716 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397 generic_shutdown_super+0x130/0x328 fs/super.c:501 kill_anon_super+0x4c/0x74 fs/super.c:1128 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2449 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 1029369 hardirqs last enabled at (1029368): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (1029368): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (1029369): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1028362): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (1028362): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (1029219): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]---