loop4: detected capacity change from 32768 to 0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7742 at mm/page_alloc.c:4659 __alloc_pages_noprof+0x36a/0x6c0 mm/page_alloc.c:4659 Modules linked in: CPU: 0 PID: 7742 Comm: syz.4.251 Not tainted 6.10.0-rc5-syzkaller-00348-ge0b668b07034 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__alloc_pages_noprof+0x36a/0x6c0 mm/page_alloc.c:4659 Code: a9 00 00 08 00 0f 85 12 01 00 00 44 89 e9 81 e1 7f ff ff ff a9 00 00 04 00 44 0f 45 e9 e9 02 01 00 00 c6 05 d7 f8 aa 0d 01 90 <0f> 0b 90 83 fb 0a 0f 86 6c fd ff ff 45 31 ed 48 c7 44 24 20 0e 36 RSP: 0018:ffffc900036ceea0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000014 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900036cef28 RBP: ffffc900036cefb8 R08: ffffc900036cef27 R09: 0000000000000000 R10: ffffc900036cef00 R11: fffff520006d9de5 R12: 1ffff920006d9ddc R13: 0000000000040dc0 R14: dffffc0000000000 R15: 1ffff920006d9dd8 FS: 00007f3c638a26c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc69c21d38 CR3: 000000005e814000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] __kmalloc_large_node+0x8b/0x1d0 mm/slub.c:4068 __do_kmalloc_node mm/slub.c:4111 [inline] __kmalloc_noprof+0x2aa/0x400 mm/slub.c:4136 kmalloc_noprof include/linux/slab.h:664 [inline] kzalloc_noprof include/linux/slab.h:778 [inline] bch2_ioctl_fs_usage fs/bcachefs/chardev.c:519 [inline] bch2_fs_ioctl+0xf67/0x37d0 fs/bcachefs/chardev.c:892 bch2_fs_file_ioctl+0x870/0x26e0 fs/bcachefs/fs-ioctl.c:532 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3c62b75b99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f3c638a2048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3c62d03fa0 RCX: 00007f3c62b75b99 RDX: 0000000020000240 RSI: 00000000c040bc0b RDI: 000000000000000a RBP: 00007f3c62bf677e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f3c62d03fa0 R15: 00007ffea1e037c8