------------[ cut here ]------------ WARNING: CPU: 1 PID: 4324 at mm/page_alloc.c:5476 current_gfp_context include/linux/sched/mm.h:-1 [inline] WARNING: CPU: 1 PID: 4324 at mm/page_alloc.c:5476 __alloc_pages+0x39f/0x480 mm/page_alloc.c:5488 Modules linked in: CPU: 1 PID: 4324 Comm: syz.0.14 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__alloc_pages+0x39f/0x480 mm/page_alloc.c:5476 Code: 31 ff e9 b1 fe ff ff e8 6f c8 0b 08 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 4f fd ff ff 4c 89 e7 e8 36 d3 09 00 e9 42 fd ff ff <0f> 0b 45 31 ff e9 ee fe ff ff 65 44 8b 2d 17 c9 4d 7e 41 83 fd 08 RSP: 0018:ffffc900032efa00 EFLAGS: 00010246 RAX: ffffc900032efa40 RBX: 1ffff9200065df44 RCX: 0000000000000000 RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc900032efa68 RBP: ffffc900032efaf0 R08: ffffc900032efa67 R09: ffffc900032efa40 R10: dffffc0000000000 R11: fffff5200065df4d R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000040cc0 R15: 0000000000000013 FS: 00007ff45a5936c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007928d000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmalloc_order+0x40/0x150 mm/slab_common.c:986 kmalloc_order_trace+0x14/0xf0 mm/slab_common.c:1002 memdup_user_nul+0x23/0xf0 mm/util.c:260 bitmap_parse_user+0x1f/0x60 lib/bitmap.c:453 cpumask_parse_user include/linux/cpumask.h:623 [inline] write_irq_affinity kernel/irq/proc.c:153 [inline] irq_affinity_proc_write+0x107/0x1d0 kernel/irq/proc.c:182 pde_write fs/proc/inode.c:335 [inline] proc_reg_write+0x1dd/0x2c0 fs/proc/inode.c:347 vfs_write+0x304/0xd70 fs/read_write.c:592 ksys_write+0x153/0x260 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7ff45c33b0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff45a593028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff45c5c2fa0 RCX: 00007ff45c33b0d9 RDX: 00000000fffffcf0 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ff45c3d2024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff45c5c3038 R14: 00007ff45c5c2fa0 R15: 00007ffc35a23ae8