------------[ cut here ]------------ WARNING: CPU: 1 PID: 3660 at mm/page_alloc.c:5525 __alloc_pages+0x39e/0x510 mm/page_alloc.c:5525 Modules linked in: CPU: 1 PID: 3660 Comm: syz-executor217 Not tainted 6.0.0-rc7-syzkaller-00130-g511cce163b75 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:__alloc_pages+0x39e/0x510 mm/page_alloc.c:5525 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 5a e5 0b 0c 00 75 09 c6 05 51 e5 0b 0c 01 <0f> 0b 45 31 f6 e9 8d fe ff ff 65 ff 05 11 77 44 7e 48 c7 c0 60 6a RSP: 0018:ffffc90003baf940 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff92000775f29 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: 0000555555fdf300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f93028fb4b0 CR3: 000000007d542000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __alloc_pages_node include/linux/gfp.h:243 [inline] alloc_pages_node include/linux/gfp.h:266 [inline] kmalloc_large_node+0x62/0x130 mm/slub.c:4443 __kmalloc_node_track_caller+0x30f/0x390 mm/slub.c:4950 kmalloc_reserve net/core/skbuff.c:370 [inline] pskb_expand_head+0xfeb/0x1110 net/core/skbuff.c:1729 __skb_grow include/linux/skbuff.h:3038 [inline] tun_napi_alloc_frags drivers/net/tun.c:1472 [inline] tun_get_user+0x18b7/0x3a00 drivers/net/tun.c:1826 tun_chr_write_iter+0xdb/0x200 drivers/net/tun.c:2025 call_write_iter include/linux/fs.h:2187 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x9e9/0xdd0 fs/read_write.c:578 ksys_write+0x127/0x250 fs/read_write.c:631 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+0x63/0xcd RIP: 0033:0x7f93028c5ba9 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:00007fff7d760868 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f93028c5ba9 RDX: 000000002000036e RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fff7d760880 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00000000000f4240 R14: 000000000000c2fa R15: 00007fff7d760874