------------[ cut here ]------------ WARNING: mm/page_alloc.c:5124 at __alloc_frozen_pages_noprof+0x2c8/0x370 mm/page_alloc.c:5124, CPU#0: syz.6.2330/14095 Modules linked in: CPU: 0 UID: 0 PID: 14095 Comm: syz.6.2330 Not tainted 6.16.0-rc6-next-20250716-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__alloc_frozen_pages_noprof+0x2c8/0x370 mm/page_alloc.c:5124 Code: 74 10 4c 89 e7 89 54 24 0c e8 a4 1d 0d 00 8b 54 24 0c 49 83 3c 24 00 0f 85 a5 fe ff ff e9 a6 fe ff ff c6 05 4e 51 b6 0d 01 90 <0f> 0b 90 e9 18 ff ff ff a9 00 00 08 00 48 8b 4c 24 10 4c 8d 44 24 RSP: 0018:ffffc9000af6f920 EFLAGS: 00010246 RAX: ffffc9000af6f900 RBX: 0000000000000014 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000af6f988 RBP: ffffc9000af6fa08 R08: ffffc9000af6f987 R09: 0000000000000000 R10: ffffc9000af6f960 R11: fffff520015edf31 R12: 0000000000000000 R13: 1ffff920015edf28 R14: 0000000000040dc0 R15: dffffc0000000000 FS: 00007f5b94fc76c0(0000) GS:ffff8881257aa000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000001859c0 CR3: 000000007723a000 CR4: 00000000003526f0 DR0: ffffffffffffffff DR1: 000000000000008d DR2: 0000000020000008 DR3: 0000000000007fff DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2416 ___kmalloc_large_node+0x5f/0x1b0 mm/slub.c:4306 __kmalloc_large_node_noprof+0x18/0x90 mm/slub.c:4337 __do_kmalloc_node mm/slub.c:4353 [inline] __kmalloc_noprof+0x36f/0x4f0 mm/slub.c:4377 kmalloc_noprof include/linux/slab.h:909 [inline] kmalloc_array_noprof include/linux/slab.h:948 [inline] comedi_unlocked_ioctl+0x9ee/0xf40 drivers/comedi/comedi_fops.c:2242 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5b9418e929 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:00007f5b94fc7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5b943b6080 RCX: 00007f5b9418e929 RDX: 00002000001859c0 RSI: 000000008010640b RDI: 000000000000000a RBP: 00007f5b94210ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5b943b6080 R15: 00007ffc3bdaf178