loop3: detected capacity change from 0 to 32768
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7365 at mm/util.c:649 kvmalloc_node+0x244/0x24c
Modules linked in:
CPU: 0 PID: 7365 Comm: syz-executor.3 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : kvmalloc_node+0x244/0x24c
lr : kvmalloc_node+0x240/0x24c mm/util.c:649
sp : ffff80009b686dd0
x29: ffff80009b686de0 x28: 1fffe000196a10b5 x27: 0000000000000000
x26: dfff800000000000 x25: 0000000000000000 x24: 0000adff00000080
x23: 0000000000000000 x22: ffff8000827d5658 x21: 0000adff000000a0
x20: 00000000ffffffff x19: 0000000000000dc0 x18: 0000000000000000
x17: ffff80008eead000 x16: ffff80008ae89e3c x15: 0000000000000005
x14: 1ffff000136d0d84 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000040000 x10: 000000000003ffff x9 : ffff8000a40e6000
x8 : 0000000000040000 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 00000000ffffffff x4 : 0000000000012dc0 x3 : 0001000000000000
x2 : 0000adff000000a0 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 kvmalloc_node+0x244/0x24c
 kvmalloc include/linux/slab.h:766 [inline]
 bch2_dev_buckets_resize+0x68/0x348 fs/bcachefs/buckets.c:1349
 bch2_dev_buckets_alloc+0x16c/0x1b0 fs/bcachefs/buckets.c:1430
 __bch2_dev_alloc+0x5f4/0x850 fs/bcachefs/super.c:1321
 bch2_dev_alloc+0xcc/0x160 fs/bcachefs/super.c:1356
 bch2_fs_alloc+0x1b68/0x1c60 fs/bcachefs/super.c:944
 bch2_fs_open+0x740/0xb64 fs/bcachefs/super.c:2081
 bch2_mount+0x558/0xe10 fs/bcachefs/fs.c:1903
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:662
 vfs_get_tree+0x90/0x288 fs/super.c:1779
 do_new_mount+0x278/0x900 fs/namespace.c:3352
 path_mount+0x590/0xe04 fs/namespace.c:3679
 do_mount fs/namespace.c:3692 [inline]
 __do_sys_mount fs/namespace.c:3898 [inline]
 __se_sys_mount fs/namespace.c:3875 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3875
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
irq event stamp: 73508
hardirqs last  enabled at (73507): [<ffff80008af7caf4>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last  enabled at (73507): [<ffff80008af7caf4>] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194
hardirqs last disabled at (73508): [<ffff80008ae85288>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470
softirqs last  enabled at (71936): [<ffff8000801e6eb8>] softirq_handle_end kernel/softirq.c:400 [inline]
softirqs last  enabled at (71936): [<ffff8000801e6eb8>] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582
softirqs last disabled at (71859): [<ffff800080020de8>] __do_softirq+0x14/0x20 kernel/softirq.c:588
---[ end trace 0000000000000000 ]---
bcachefs (076a1832-646e-4f3c-b13d-b3e266154efd): shutdown complete