------------[ cut here ]------------ WARNING: CPU: 0 PID: 3775 at mm/page_alloc.c:5402 __alloc_pages+0x39e/0x510 mm/page_alloc.c:5402 Modules linked in: CPU: 0 PID: 3775 Comm: syz-executor164 Not tainted 5.19.0-rc1-syzkaller-00373-g6ac6dc746d70 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__alloc_pages+0x39e/0x510 mm/page_alloc.c:5402 Code: ff ff 00 0f 84 33 fe ff ff 80 ce 01 e9 2b fe ff ff 83 fe 0a 0f 86 3e fd ff ff 80 3d b0 e1 e9 0b 00 75 09 c6 05 a7 e1 e9 0b 01 <0f> 0b 45 31 f6 e9 8d fe ff ff 65 ff 05 31 e3 45 7e 48 c7 c0 80 f9 RSP: 0018:ffffc900035b78e0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff920006b6f1d RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000012 RDI: 0000000000000000 RBP: 0000000000060a20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000012 R13: 0000000000000000 R14: 0000000000000012 R15: 0000000000000000 FS: 0000555557362300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5372990182 CR3: 0000000021738000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __alloc_pages_node include/linux/gfp.h:587 [inline] alloc_pages_node include/linux/gfp.h:610 [inline] kmalloc_large_node+0x62/0x130 mm/slub.c:4431 __kmalloc_node_track_caller+0x2ec/0x360 mm/slub.c:4936 kmalloc_reserve net/core/skbuff.c:365 [inline] pskb_expand_head+0xf23/0x1070 net/core/skbuff.c:1699 __skb_grow include/linux/skbuff.h:2967 [inline] tun_napi_alloc_frags drivers/net/tun.c:1461 [inline] tun_get_user+0x1ec3/0x3ab0 drivers/net/tun.c:1815 tun_chr_write_iter+0xdb/0x200 drivers/net/tun.c:2014 call_write_iter include/linux/fs.h:2058 [inline] new_sync_write+0x38a/0x560 fs/read_write.c:504 vfs_write+0x7c0/0xac0 fs/read_write.c:591 ksys_write+0x127/0x250 fs/read_write.c:644 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f537292fc69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffca6ed2638 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f537292fc69 RDX: 0000000020000486 RSI: 0000000020000440 RDI: 0000000000000003 RBP: 00007ffca6ed2660 R08: 0000000000000001 R09: 00007ffca6ed2668 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00000000000f4240 R14: 000000000000d756 R15: 00007ffca6ed2648