BUG: stack guard page was hit at ffffc90004667ff8 (stack is ffffc90004668000..ffffc9000466ffff) kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7568 Comm: syz-executor.5 Not tainted 5.10.161-syzkaller-00019-g416c4356f372 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:memset+0x6/0x40 mm/kasan/shadow.c:43 Code: 00 00 66 90 55 48 89 e5 89 f6 48 8b 4d 08 ba 01 00 00 00 e8 9c ed ff ff 5d c3 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 <41> 56 53 49 89 d7 41 89 f6 48 89 fb 48 8b 4d 08 48 89 d6 ba 01 00 RSP: 0018:ffffc90004668000 EFLAGS: 00010246 RAX: ffff88811059e2c0 RBX: 1ffff920008cd032 RCX: ffffc90004668130 RDX: 0000000000000060 RSI: 0000000000000000 RDI: ffffc900046680a0 RBP: ffffc90004668008 R08: dffffc0000000000 R09: ffffc90004668260 R10: fffff520008cd05c R11: 1ffff920008cd04c R12: ffff88811059e2c0 R13: ffffc900046680a0 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f8485104700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90004667ff8 CR3: 0000000115e75000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unwind_start+0x34/0x420 arch/x86/kernel/unwind_frame.c:368 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdc/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x12d/0x1f0 kernel/stacktrace.c:121 save_stack+0x97/0x240 mm/page_owner.c:146 __set_page_owner+0x28/0x2e0 mm/page_owner.c:217 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2386 [inline] prep_new_page mm/page_alloc.c:2392 [inline] get_page_from_freelist+0x755/0x810 mm/page_alloc.c:4073 __alloc_pages_nodemask+0x3b6/0x890 mm/page_alloc.c:5160 __alloc_pages include/linux/gfp.h:529 [inline] __alloc_pages_node include/linux/gfp.h:542 [inline] alloc_pages_node include/linux/gfp.h:556 [inline] alloc_pages include/linux/gfp.h:575 [inline] stack_depot_save+0x373/0x4a0 lib/stackdepot.c:303 save_stack+0x1b0/0x240 mm/page_owner.c:159 __set_page_owner+0x28/0x2e0 mm/page_owner.c:217 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2386 [inline] prep_new_page mm/page_alloc.c:2392 [inline] get_page_from_freelist+0x755/0x810 mm/page_alloc.c:4073 __alloc_pages_nodemask+0x3b6/0x890 mm/page_alloc.c:5160 __alloc_pages include/linux/gfp.h:529 [inline] __alloc_pages_node include/linux/gfp.h:542 [inline] alloc_pages_node include/linux/gfp.h:556 [inline] alloc_pages include/linux/gfp.h:575 [inline] stack_depot_save+0x373/0x4a0 lib/stackdepot.c:303 save_stack+0x1b0/0x240 mm/page_owner.c:159 __reset_page_owner+0x35/0x160 mm/page_owner.c:174 reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1332 [inline] __free_pages_ok+0x7f8/0x830 mm/page_alloc.c:1612 free_the_page mm/page_alloc.c:5221 [inline] __free_pages+0x383/0x570 mm/page_alloc.c:5228 kfree+0x226/0x290 mm/slub.c:4197 skb_free_head net/core/skbuff.c:605 [inline] skb_release_data+0x52c/0x630 net/core/skbuff.c:625 skb_release_all net/core/skbuff.c:680 [inline] __kfree_skb+0x59/0x1c0 net/core/skbuff.c:694 kfree_skb+0x7b/0x2e0 net/core/skbuff.c:713 kfree_skb_list+0x41/0x70 net/core/skbuff.c:722 __dev_queue_xmit+0x1083/0x2a20 net/core/dev.c:4200 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 __gre_xmit net/ipv4/ip_gre.c:464 [inline] ipgre_xmit+0x78c/0xa80 net/ipv4/ip_gre.c:656 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 sit_tunnel_xmit__ net/ipv6/sit.c:1056 [inline] sit_tunnel_xmit+0x8c3/0x2480 net/ipv6/sit.c:1072 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 __gre_xmit net/ipv4/ip_gre.c:464 [inline] ipgre_xmit+0x78c/0xa80 net/ipv4/ip_gre.c:656 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 sit_tunnel_xmit__ net/ipv6/sit.c:1056 [inline] sit_tunnel_xmit+0x8c3/0x2480 net/ipv6/sit.c:1072 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 __gre_xmit net/ipv4/ip_gre.c:464 [inline] ipgre_xmit+0x78c/0xa80 net/ipv4/ip_gre.c:656 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 sit_tunnel_xmit__ net/ipv6/sit.c:1056 [inline] sit_tunnel_xmit+0x8c3/0x2480 net/ipv6/sit.c:1072 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 __gre_xmit net/ipv4/ip_gre.c:464 [inline] ipgre_xmit+0x78c/0xa80 net/ipv4/ip_gre.c:656 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 sit_tunnel_xmit__ net/ipv6/sit.c:1056 [inline] sit_tunnel_xmit+0x8c3/0x2480 net/ipv6/sit.c:1072 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out+0x92/0xb0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x45e/0x830 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1988/0x2230 net/ipv4/ip_tunnel.c:810 __gre_xmit net/ipv4/ip_gre.c:464 [inline] ipgre_xmit+0x78c/0xa80 net/ipv4/ip_gre.c:656 __netdev_start_xmit include/linux/netdevice.h:4839 [inline] netdev_start_xmit include/linux/netdevice.h:4853 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3593 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3609 __dev_queue_xmit+0x1684/0x2a20 net/core/dev.c:4176 dev_queue_xmit+0x17/0x20 net/core/dev.c:4209 neigh_connected_output+0x43b/0x470 net/core/neighbour.c:1546 neigh_output include/net/neighbour.h:524 [inline] ip_finish_output2+0xb82/0xfd0 net/ipv4/ip_output.c:237 __ip_finish_output+0x412/0x750 net/ipv4/ip_output.c:259 ip_finish_output+0x1c9/0x1e0 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_mc_output+0x45a/0xa30 net/ipv4/ip_output.c:424 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb net/ipv4/ip_output.c:1580 [inline] ip_push_pending_frames+0xf4/0x190 net/ipv4/ip_output.c:1600 raw_sendmsg+0x1380/0x1d90 net/ipv4/raw.c:673 inet_sendmsg+0xa1/0xc0 net/ipv4/af_inet.c:821 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x597/0x8e0 net/socket.c:2343 ___sys_sendmsg net/socket.c:2397 [inline] __sys_sendmmsg+0x5c6/0x820 net/socket.c:2487 __do_sys_sendmmsg net/socket.c:2516 [inline] __se_sys_sendmmsg net/socket.c:2513 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2513 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f84863910c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8485104168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f84864b0f80 RCX: 00007f84863910c9 RDX: 0000000000000300 RSI: 0000000020003380 RDI: 0000000000000003 RBP: 00007f84863ecae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcd601152f R14: 00007f8485104300 R15: 0000000000022000 Modules linked in: ---[ end trace 9676a444a24583f2 ]--- RIP: 0010:memset+0x6/0x40 mm/kasan/shadow.c:43 Code: 00 00 66 90 55 48 89 e5 89 f6 48 8b 4d 08 ba 01 00 00 00 e8 9c ed ff ff 5d c3 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 <41> 56 53 49 89 d7 41 89 f6 48 89 fb 48 8b 4d 08 48 89 d6 ba 01 00 RSP: 0018:ffffc90004668000 EFLAGS: 00010246 RAX: ffff88811059e2c0 RBX: 1ffff920008cd032 RCX: ffffc90004668130 RDX: 0000000000000060 RSI: 0000000000000000 RDI: ffffc900046680a0 RBP: ffffc90004668008 R08: dffffc0000000000 R09: ffffc90004668260 R10: fffff520008cd05c R11: 1ffff920008cd04c R12: ffff88811059e2c0 R13: ffffc900046680a0 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f8485104700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90004667ff8 CR3: 0000000115e75000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 66 90 xchg %ax,%ax 4: 55 push %rbp 5: 48 89 e5 mov %rsp,%rbp 8: 89 f6 mov %esi,%esi a: 48 8b 4d 08 mov 0x8(%rbp),%rcx e: ba 01 00 00 00 mov $0x1,%edx 13: e8 9c ed ff ff callq 0xffffedb4 18: 5d pop %rbp 19: c3 retq 1a: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 21: 00 00 00 24: 55 push %rbp 25: 48 89 e5 mov %rsp,%rbp 28: 41 57 push %r15 * 2a: 41 56 push %r14 <-- trapping instruction 2c: 53 push %rbx 2d: 49 89 d7 mov %rdx,%r15 30: 41 89 f6 mov %esi,%r14d 33: 48 89 fb mov %rdi,%rbx 36: 48 8b 4d 08 mov 0x8(%rbp),%rcx 3a: 48 89 d6 mov %rdx,%rsi 3d: ba .byte 0xba 3e: 01 00 add %eax,(%rax)