------------[ cut here ]------------ WARNING: CPU: 0 PID: 8787 at mm/page_alloc.c:4979 __alloc_pages_nodemask+0x44e/0x500 mm/page_alloc.c:5023 Modules linked in: CPU: 0 PID: 8787 Comm: syz-executor.2 Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__alloc_pages_nodemask+0x44e/0x500 mm/page_alloc.c:5023 Code: 00 48 ba 00 00 00 00 00 fc ff df e9 fb fd ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 06 fe ff ff e8 a7 53 09 00 e9 fc fd ff ff <0f> 0b e9 15 fe ff ff 44 89 ed a9 00 00 08 00 75 11 81 e5 7f ff ff RSP: 0018:ffffc9001796fbf8 EFLAGS: 00010246 RAX: ffffc9001796fc00 RBX: ffffc9001796fc2c RCX: 0000000000000000 RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc9001796fc28 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffc9001796fc00 R10: fffff52002f2df85 R11: 0000000000000000 R12: 000000002000021a R13: 0000000000040cc0 R14: 1ffff92002f2df85 R15: 0000000000000012 FS: 00007f564a4eb700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff5c5e1690 CR3: 000000002bc9c000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: alloc_pages include/linux/gfp.h:547 [inline] kmalloc_order+0x40/0x130 mm/slab_common.c:837 kmalloc_order_trace+0x15/0x70 mm/slab_common.c:853 kmalloc_large include/linux/slab.h:481 [inline] __kmalloc_track_caller+0x246/0x330 mm/slub.c:4458 memdup_user_nul+0x26/0xf0 mm/util.c:260 smk_write_net4addr+0x88/0x1190 security/smack/smackfs.c:1173 vfs_write+0x220/0xab0 fs/read_write.c:603 ksys_write+0x11b/0x220 fs/read_write.c:658 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f564a4eb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000020000219 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe9bc5fecf R14: 00007f564a4eb300 R15: 0000000000022000