------------[ cut here ]------------ WARNING: CPU: 1 PID: 5352 at mm/page_alloc.c:5476 current_gfp_context include/linux/sched/mm.h:-1 [inline] WARNING: CPU: 1 PID: 5352 at mm/page_alloc.c:5476 __alloc_pages+0x39f/0x480 mm/page_alloc.c:5488 Modules linked in: CPU: 1 PID: 5352 Comm: syz.1.231 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 af c0 0c 08 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 4f fd ff ff 4c 89 e7 e8 06 d4 09 00 e9 42 fd ff ff <0f> 0b 45 31 ff e9 ee fe ff ff 65 44 8b 2d f7 a0 4d 7e 41 83 fd 08 RSP: 0018:ffffc900034d7a20 EFLAGS: 00010246 RAX: ffffc900034d7a60 RBX: 1ffff9200069af48 RCX: 0000000000000000 RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc900034d7a88 RBP: ffffc900034d7b18 R08: ffffc900034d7a87 R09: ffffc900034d7a60 R10: dffffc0000000000 R11: fffff5200069af51 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000040dc0 R15: 000000000000000b FS: 00007f51dbd626c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000087030 CR3: 000000001f831000 CR4: 00000000003506e0 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 kmalloc_array include/linux/slab.h:647 [inline] kcalloc include/linux/slab.h:676 [inline] max_vclocks_store+0x22e/0x3b0 drivers/ptp/ptp_sysfs.c:283 kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2179 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x748/0xd70 fs/read_write.c:594 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:0x7f51ddb0a159 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:00007f51dbd62028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f51ddd91fa0 RCX: 00007f51ddb0a159 RDX: 0000000000000007 RSI: 0000200000000100 RDI: 0000000000000003 RBP: 00007f51ddba106b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f51ddd92038 R14: 00007f51ddd91fa0 R15: 00007fff117a3838