------------[ cut here ]------------ WARNING: CPU: 1 PID: 19882 at mm/page_alloc.c:5407 __alloc_pages+0x39e/0x510 mm/page_alloc.c:5407 Modules linked in: CPU: 0 PID: 19882 Comm: syz-executor.4 Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:__alloc_pages+0x39e/0x510 mm/page_alloc.c:5407 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 ef 49 ea 0b 00 75 09 c6 05 e6 49 ea 0b 01 <0f> 0b 45 31 f6 e9 8d fe ff ff 65 ff 05 e1 85 45 7e 48 c7 c0 60 bf RSP: 0018:ffffc900162d78e0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff92002c5af1d RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000013 RDI: 0000000000000000 RBP: 0000000000060a20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000013 R13: 0000000000000000 R14: 0000000000000013 R15: 0000000000000000 FS: 00007fb4711d1700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7217b6d058 CR3: 0000000079ef1000 CR4: 0000000000350ef0 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:4438 __kmalloc_node_track_caller+0x370/0x4a0 mm/slub.c:4941 kmalloc_reserve net/core/skbuff.c:362 [inline] pskb_expand_head+0xfe8/0x1100 net/core/skbuff.c:1721 __skb_grow include/linux/skbuff.h:3172 [inline] tun_napi_alloc_frags drivers/net/tun.c:1472 [inline] tun_get_user+0x1ef8/0x3ac0 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+0x315/0x4d0 fs/read_write.c:493 vfs_write+0x7c0/0xac0 fs/read_write.c:580 ksys_write+0x127/0x250 fs/read_write.c:633 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:0x7fb470089279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb4711d1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb47019bf80 RCX: 00007fb470089279 RDX: 00000000fffffdef RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007fb4711d11d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffdf758b07f R14: 00007fb4711d1300 R15: 0000000000022000