------------[ cut here ]------------ WARNING: CPU: 0 PID: 4380 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154 Modules linked in: CPU: 0 PID: 4380 Comm: syz.2.3 Not tainted 6.1.109-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 : ffff800008007c70 x29: ffff800008007c70 x28: ffff0000d67844b0 x27: 000000000000000a x26: 1fffe0001acf0824 x25: dfff800000000000 x24: 1fffe0001acf07fa x23: 1fffe0001acf07fd x22: 0000000000000007 x21: 0000000000000000 x20: 0000000000000fec x19: ffff0000d6783fc0 x18: 1fffe00019f3a777 x17: ffff80019e3d5000 x16: ffff8000084fa148 x15: 0000000000000000 x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800010def5b8 x8 : ffff0000cf9d3780 x7 : ffff8000083b5460 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800010def408 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:2139 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 arch_local_irq_enable arch/arm64/include/asm/irqflags.h:35 [inline] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] _raw_spin_unlock_irq+0x44/0x90 kernel/locking/spinlock.c:202 spin_unlock_irq include/linux/spinlock.h:401 [inline] __filemap_add_folio+0x704/0x1258 mm/filemap.c:909 filemap_add_folio+0x10c/0x298 mm/filemap.c:934 __filemap_get_folio+0x7b0/0xb6c mm/filemap.c:1976 pagecache_get_page+0x3c/0x16c mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:646 [inline] gfs2_find_jhead+0x350/0xbe0 fs/gfs2/lops.c:537 gfs2_make_fs_rw+0x1a0/0x4b0 fs/gfs2/super.c:140 gfs2_fill_super+0x1bb4/0x1ef8 fs/gfs2/ops_fstype.c:1271 get_tree_bdev+0x360/0x54c fs/super.c:1366 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x278/0x8fc fs/namespace.c:3051 path_mount+0x590/0xe5c fs/namespace.c:3381 do_mount fs/namespace.c:3394 [inline] __do_sys_mount fs/namespace.c:3602 [inline] __se_sys_mount fs/namespace.c:3579 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3579 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 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: 104315 hardirqs last enabled at (104314): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (104314): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (104315): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (103244): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (103244): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (103815): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 15 at include/linux/backing-dev.h:246 inode_to_wb include/linux/backing-dev.h:243 [inline] WARNING: CPU: 0 PID: 15 at include/linux/backing-dev.h:246 __folio_end_writeback+0x7d8/0x9c8 mm/page-writeback.c:2951 Modules linked in: CPU: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G W 6.1.109-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 404000c5 (nZcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:243 [inline] pc : __folio_end_writeback+0x7d8/0x9c8 mm/page-writeback.c:2951 lr : inode_to_wb include/linux/backing-dev.h:243 [inline] lr : __folio_end_writeback+0x7d8/0x9c8 mm/page-writeback.c:2951 sp : ffff80001d177970 x29: ffff80001d177990 x28: dfff800000000000 x27: 1fffff80006c0480 x26: 0000000000000000 x25: ffff0000c05405e8 x24: 05ffd60000002052 x23: 0000000000000003 x22: ffff0000dd5a0d30 x21: ffff0000dd5a0d38 x20: 0000000000000001 x19: fffffc0003602400 x18: 1fffe0003679f176 x17: ffff8000159cd000 x16: ffff800008303e1c x15: 0000000000000000 x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 0000000000000003 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000877d4bc x8 : ffff0000c09bb780 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : 0000000000000010 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:243 [inline] __folio_end_writeback+0x7d8/0x9c8 mm/page-writeback.c:2951 folio_end_writeback+0x12c/0x420 mm/filemap.c:1613 end_page_writeback+0x58/0x74 mm/folio-compat.c:26 end_buffer_async_write+0x398/0x53c fs/buffer.c:375 end_bio_bh_io_sync+0xb0/0x1e0 fs/buffer.c:2655 bio_endio+0x7c8/0x80c block/bio.c:1554 req_bio_endio block/blk-mq.c:781 [inline] blk_update_request+0x4ac/0xdf0 block/blk-mq.c:926 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1051 lo_complete_rq+0x140/0x258 drivers/block/loop.c:368 blk_complete_reqs block/blk-mq.c:1131 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1136 handle_softirqs+0x318/0xd58 kernel/softirq.c:571 run_ksoftirqd+0x6c/0x29c kernel/softirq.c:938 smpboot_thread_fn+0x4b0/0x96c kernel/smpboot.c:164 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 310221 hardirqs last enabled at (310220): [] folio_memcg_lock+0xf4/0x20c mm/memcontrol.c:2110 hardirqs last disabled at (310221): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (310221): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (310210): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (310210): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (310215): [] run_ksoftirqd+0x6c/0x29c kernel/softirq.c:938 ---[ end trace 0000000000000000 ]---