------------[ cut here ]------------
WARNING: CPU: 0 PID: 5990 at mm/page_alloc.c:4935 __alloc_frozen_pages_noprof+0x2c8/0x370
Modules linked in:
CPU: 0 UID: 0 PID: 5990 Comm: syz.1.17 Not tainted 6.16.0-rc5-syzkaller-00193-g40f92e79b0aa-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__alloc_frozen_pages_noprof+0x2c8/0x370
Code: 74 10 4c 89 e7 89 54 24 0c e8 24 14 0d 00 8b 54 24 0c 49 83 3c 24 00 0f 85 a5 fe ff ff e9 a6 fe ff ff c6 05 3b 8f 76 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:ffffc90002abf960 EFLAGS: 00010246
RAX: ffffc90002abf900 RBX: 0000000000000019 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90002abf9c8
RBP: ffffc90002abfa50 R08: ffffc90002abf9c7 R09: 0000000000000000
R10: ffffc90002abf9a0 R11: fffff52000557f39 R12: 0000000000000000
R13: 1ffff92000557f30 R14: 0000000000040dc0 R15: dffffc0000000000
FS:  00007fa13c2446c0(0000) GS:ffff8880b8626000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa13c223d58 CR3: 0000000027382000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __alloc_pages_noprof+0xa/0x30
 ___kmalloc_large_node+0x85/0x210
 __kmalloc_large_node_noprof+0x18/0x90
 __kmalloc_noprof+0x36f/0x4f0
 comedi_unlocked_ioctl+0x9ee/0xf40
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa13b38e9a9
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:00007fa13c244038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa13b5b5fa0 RCX: 00007fa13b38e9a9
RDX: 0000200000000040 RSI: 000000008010640b RDI: 0000000000000003
RBP: 00007fa13b410d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa13b5b5fa0 R15: 00007fff0714beb8
 </TASK>
