------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 5646 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline] WARNING: CPU: 1 PID: 5646 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline] WARNING: CPU: 1 PID: 5646 at fs/buffer.c:1145 __invalidate_bh_lrus fs/buffer.c:1380 [inline] WARNING: CPU: 1 PID: 5646 at fs/buffer.c:1145 invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 Modules linked in: CPU: 1 PID: 5646 Comm: syz-executor.2 Not tainted 6.1.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 604010c5 (nZCv daIF +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : __brelse fs/buffer.c:1145 [inline] pc : brelse include/linux/buffer_head.h:326 [inline] pc : __invalidate_bh_lrus fs/buffer.c:1380 [inline] pc : invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 lr : __brelse fs/buffer.c:1145 [inline] lr : brelse include/linux/buffer_head.h:326 [inline] lr : __invalidate_bh_lrus fs/buffer.c:1380 [inline] lr : invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 sp : ffff800008017df0 x29: ffff800008017df0 x28: 0000000000000000 x27: 0000000000000000 x26: 0000000000000001 x25: 00000000ffffffff x24: ffff0001b4387698 x23: 0000000000000020 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000fa58b148 x19: ffff800012381bc0 x18: 00000000000001a8 x17: 0000000000000000 x16: ffff8000121618dc x15: 0000000000010003 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000010001 x9 : 5e87fe32f067ae00 x8 : 5e87fe32f067ae00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000080176d8 x4 : ffff800015932b00 x3 : ffff80000858856c x2 : 0000000000000001 x1 : 0000000100010001 x0 : 0000000000000000 Call trace: __brelse fs/buffer.c:1145 [inline] brelse include/linux/buffer_head.h:326 [inline] __invalidate_bh_lrus fs/buffer.c:1380 [inline] invalidate_bh_lru+0x128/0x200 fs/buffer.c:1393 __flush_smp_call_function_queue+0x46c/0x1118 kernel/smp.c:641 generic_smp_call_function_single_interrupt+0x28/0x16c kernel/smp.c:557 do_handle_IPI arch/arm64/kernel/smp.c:876 [inline] ipi_handler+0x15c/0x86c arch/arm64/kernel/smp.c:922 handle_percpu_devid_irq+0x174/0x354 kernel/irq/chip.c:930 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline] handle_irq_desc kernel/irq/irqdesc.c:651 [inline] generic_handle_domain_irq+0x7c/0xc4 kernel/irq/irqdesc.c:707 __gic_handle_irq drivers/irqchip/irq-gic-v3.c:737 [inline] __gic_handle_irq_from_irqson drivers/irqchip/irq-gic-v3.c:788 [inline] gic_handle_irq+0x70/0x1e4 drivers/irqchip/irq-gic-v3.c:832 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893 do_interrupt_handler+0xd4/0x138 arch/arm64/kernel/entry-common.c:274 __el1_irq arch/arm64/kernel/entry-common.c:471 [inline] el1_interrupt+0x34/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_restore arch/arm64/include/asm/irqflags.h:122 [inline] kasan_quarantine_put+0xec/0x204 mm/kasan/quarantine.c:242 ____kasan_slab_free+0x150/0x1c0 mm/kasan/common.c:238 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:244 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] kmem_cache_free_bulk+0x5a8/0x6f0 mm/slub.c:3779 mt_free_bulk lib/maple_tree.c:162 [inline] mas_destroy+0x1560/0x1aec lib/maple_tree.c:5859 mas_store_prealloc+0x2c4/0x3ac lib/maple_tree.c:5789 vma_mas_store+0x19c/0x490 mm/mmap.c:434 vma_expand+0x394/0x6fc mm/mmap.c:570 mmap_region+0xaf0/0x1a98 mm/mmap.c:2730 do_mmap+0xa00/0x1108 mm/mmap.c:1425 vm_mmap_pgoff+0x1a4/0x2b4 mm/util.c:520 ksys_mmap_pgoff+0xd0/0x5b0 mm/mmap.c:1471 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0xf8/0x110 arch/arm64/kernel/sys.c:21 __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:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 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: 1868 hardirqs last enabled at (1867): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242 hardirqs last disabled at (1868): [] __el1_irq arch/arm64/kernel/entry-common.c:468 [inline] hardirqs last disabled at (1868): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:486 softirqs last enabled at (1814): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1812): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---