WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ================================================================== BUG: KASAN: slab-out-of-bounds in members_v1_get fs/bcachefs/sb-members.c:81 [inline] BUG: KASAN: slab-out-of-bounds in bch2_sb_members_v1_to_text+0x17e/0x270 fs/bcachefs/sb-members.c:334 Read of size 56 at addr ffff88810fe85fd8 by task syz.2.16/3368 CPU: 1 UID: 0 PID: 3368 Comm: syz.2.16 Not tainted 6.15.0-rc4-syzkaller #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0xf4/0x170 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xb4/0x290 mm/kasan/report.c:521 kasan_report+0x118/0x150 mm/kasan/report.c:634 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x29a/0x2b0 mm/kasan/generic.c:189 __asan_memcpy+0x29/0x70 mm/kasan/shadow.c:105 members_v1_get fs/bcachefs/sb-members.c:81 [inline] bch2_sb_members_v1_to_text+0x17e/0x270 fs/bcachefs/sb-members.c:334 bch2_sb_field_validate+0x17c/0x210 fs/bcachefs/super-io.c:1380 bch2_sb_validate+0xf8d/0x1400 fs/bcachefs/super-io.c:552 __bch2_read_super+0xb38/0xd10 fs/bcachefs/super-io.c:925 bch2_fs_open+0x1e5/0x860 fs/bcachefs/super.c:2383 bch2_fs_get_tree+0x400/0x1270 fs/bcachefs/fs.c:2473 vfs_get_tree+0x84/0x1a0 fs/super.c:1759 do_new_mount+0x1c7/0x850 fs/namespace.c:3884 do_mount fs/namespace.c:4224 [inline] __do_sys_mount fs/namespace.c:4435 [inline] __se_sys_mount+0x218/0x2b0 fs/namespace.c:4412 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x8f/0x170 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9fe1f900ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9fe2d9fe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9fe2d9fef0 RCX: 00007f9fe1f900ca RDX: 00002000000003c0 RSI: 0000200000000080 RDI: 00007f9fe2d9feb0 RBP: 00002000000003c0 R08: 00007f9fe2d9fef0 R09: 0000000000808040 R10: 0000000000808040 R11: 0000000000000246 R12: 0000200000000080 R13: 00007f9fe2d9feb0 R14: 0000000000005934 R15: 0000200000000400 Allocated by task 3368: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4341 [inline] __kmalloc_node_track_caller_noprof+0x25f/0x4f0 mm/slub.c:4360 __do_krealloc mm/slub.c:4918 [inline] krealloc_noprof+0x122/0x300 mm/slub.c:4971 bch2_sb_realloc+0x22d/0x4c0 fs/bcachefs/super-io.c:222 read_one_super+0x36c/0x1450 fs/bcachefs/super-io.c:759 __bch2_read_super+0x65f/0xd10 fs/bcachefs/super-io.c:851 bch2_fs_open+0x1e5/0x860 fs/bcachefs/super.c:2383 bch2_fs_get_tree+0x400/0x1270 fs/bcachefs/fs.c:2473 vfs_get_tree+0x84/0x1a0 fs/super.c:1759 do_new_mount+0x1c7/0x850 fs/namespace.c:3884 do_mount fs/namespace.c:4224 [inline] __do_sys_mount fs/namespace.c:4435 [inline] __se_sys_mount+0x218/0x2b0 fs/namespace.c:4412 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x8f/0x170 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88810fe84000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 8152 bytes inside of allocated 8192-byte region [ffff88810fe84000, ffff88810fe86000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10fe80 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x100000000000040(head|node=0|zone=2) page_type: f5(slab) raw: 0100000000000040 ffff888100042280 dead000000000100 dead000000000122 raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 head: 0100000000000040 ffff888100042280 dead000000000100 dead000000000122 head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 head: 0100000000000003 ffffea00043fa001 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 3346652939, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0xec/0x120 mm/page_alloc.c:1718 prep_new_page mm/page_alloc.c:1726 [inline] get_page_from_freelist+0x3c07/0x3d60 mm/page_alloc.c:3688 __alloc_frozen_pages_noprof+0x26b/0x460 mm/page_alloc.c:4970 alloc_pages_mpol+0x150/0x320 mm/mempolicy.c:2301 alloc_slab_page mm/slub.c:2468 [inline] allocate_slab+0x8a/0x350 mm/slub.c:2632 new_slab mm/slub.c:2686 [inline] ___slab_alloc+0x9dc/0x10e0 mm/slub.c:3872 __slab_alloc mm/slub.c:3962 [inline] __slab_alloc_node mm/slub.c:4037 [inline] slab_alloc_node mm/slub.c:4198 [inline] __do_kmalloc_node mm/slub.c:4340 [inline] __kmalloc_noprof+0x2e8/0x500 mm/slub.c:4353 kmalloc_noprof include/linux/slab.h:909 [inline] acpi_ut_initialize_buffer+0x111/0x1d0 drivers/acpi/acpica/utalloc.c:-1 acpi_rs_create_pci_routing_table+0xc1/0x890 drivers/acpi/acpica/rscreate.c:212 acpi_rs_get_prt_method_data+0x8e/0xd0 drivers/acpi/acpica/rsutils.c:456 acpi_pci_irq_find_prt_entry+0x160/0xe40 drivers/acpi/pci_irq.c:214 acpi_pci_irq_lookup+0x37/0x560 drivers/acpi/pci_irq.c:298 acpi_pci_irq_enable+0x167/0x690 drivers/acpi/pci_irq.c:413 do_pci_enable_device+0x1de/0x3e0 drivers/pci/pci.c:2082 pci_enable_device_flags+0x4b5/0x5d0 drivers/pci/pci.c:2173 virtio_pci_probe+0x19e/0x290 drivers/virtio/virtio_pci_common.c:702 page_owner free stack trace missing Memory state around the buggy address: ffff88810fe85f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88810fe85f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88810fe86000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88810fe86080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810fe86100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================