------------[ cut here ]------------ WARNING: mm/page_alloc.c:5124 at __alloc_frozen_pages_noprof+0x2c8/0x370 mm/page_alloc.c:5124, CPU#0: syz-executor262/5854 Modules linked in: CPU: 0 UID: 0 PID: 5854 Comm: syz-executor262 Not tainted 6.16.0-rc5-next-20250711-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 14 23 0d 00 8b 54 24 0c 49 83 3c 24 00 0f 85 a5 fe ff ff e9 a6 fe ff ff c6 05 61 24 b7 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:ffffc900040d7920 EFLAGS: 00010246 RAX: ffffc900040d7900 RBX: 000000000000001a RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900040d7988 RBP: ffffc900040d7a08 R08: ffffc900040d7987 R09: 0000000000000000 R10: ffffc900040d7960 R11: fffff5200081af31 R12: 0000000000000000 R13: 1ffff9200081af28 R14: 0000000000040dc0 R15: dffffc0000000000 FS: 0000555574703380(0000) GS:ffff88812578f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000001859c8 CR3: 000000007589c000 CR4: 00000000003526f0 Call Trace: alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2419 ___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+0xf9/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:0x7fd54cc152e9 Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe9b6fa838 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffe9b6faa08 RCX: 00007fd54cc152e9 RDX: 00002000001859c0 RSI: 000000008010640b RDI: 0000000000000003 RBP: 00007fd54cc88610 R08: 0000000000000000 R09: 00007ffe9b6faa08 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe9b6fa9f8 R14: 0000000000000001 R15: 0000000000000001