BUG: stack guard page was hit in inet_stream_connect

Status: upstream: reported on 2026/10/08 05:26
Reported-by: syzbot+ab223458d638b5975d65@syzkaller.appspotmail.com
First crash: 52d, last: 9d09h
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: stack guard page was hit in inet_stream_connect prio:low lvs nfs -1 syz, C 34 41d 97d 0/30 upstream: reported C repro on 2026/08/24 19:47
upstream kernel panic: corrupted stack end in inet_stream_connect net 2 1 850d 850d 0/30 auto-obsoleted due to no activity on 2024/11/07 06:16

Sample crash report:
BUG: TASK stack guard page was hit at ffffc90003ecfff8 (stack is ffffc90003ed0000..ffffc90003ed8000)
stack guard page: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8356 Comm: syz.5.13003 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__unwind_start+0x0/0x650 arch/x86/kernel/unwind_orc.c:631
Code: 5f 5d c3 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 5d ff ff ff 4c 89 ff e8 6e 39 89 00 e9 50 ff ff ff 66 0f 1f 84 00 00 00 00 00 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 4c 24 08 49 89 d4
RSP: 0018:ffffc90003ed0000 EFLAGS: 00010246
RAX: ffff888077990000 RBX: ffffc90003ed00c0 RCX: ffffc90003ed0090
RDX: 0000000000000000 RSI: ffff888077990000 RDI: ffffc90003ed0008
RBP: ffffc90003ed0090 R08: ffffc90003ed01ff R09: ffffc90003ed0180
R10: dffffc0000000000 R11: fffff520007da040 R12: ffff888077990000
R13: 1ffff1100ef320b0 R14: ffffffff81679710 R15: 0000000000000000
FS:  00007f54625626c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90003ecfff8 CR3: 000000006a31e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 000000000000000f DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 unwind_start arch/x86/include/asm/unwind.h:60 [inline]
 arch_stack_walk+0xda/0x140 arch/x86/kernel/stacktrace.c:24
 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
 save_stack+0x121/0x230 mm/page_owner.c:119
 __set_page_owner+0x41/0x2d0 mm/page_owner.c:181
 prep_new_page mm/page_alloc.c:2426 [inline]
 get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192
 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
 __alloc_pages_node include/linux/gfp.h:570 [inline]
 alloc_pages_node include/linux/gfp.h:584 [inline]
 kmalloc_large_node+0x7d/0x1a0 mm/slub.c:4426
 __kmalloc_node_track_caller+0x219/0x3a0 mm/slub.c:4949
 kmalloc_reserve net/core/skbuff.c:356 [inline]
 pskb_expand_head+0x128/0x1100 net/core/skbuff.c:1714
 __skb_cow include/linux/skbuff.h:3414 [inline]
 skb_cow_head include/linux/skbuff.h:3448 [inline]
 rpl_do_srh_inline net/ipv6/rpl_iptunnel.c:157 [inline]
 rpl_do_srh+0x50a/0xe50 net/ipv6/rpl_iptunnel.c:201
 rpl_output+0x178/0x730 net/ipv6/rpl_iptunnel.c:217
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 rpl_output+0x321/0x730 net/ipv6/rpl_iptunnel.c:250
 lwtunnel_output+0x27e/0x440 net/core/lwtunnel.c:342
 dst_output include/net/dst.h:452 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 ip6_xmit+0x1160/0x1780 net/ipv6/ip6_output.c:343
 inet6_csk_xmit+0x405/0x680 net/ipv6/inet6_connection_sock.c:135
 dccp_transmit_skb+0xafb/0xf10 net/dccp/output.c:138
 dccp_connect+0x4e1/0x750 net/dccp/output.c:569
 dccp_v6_connect+0xbd8/0x1220 net/dccp/ipv6.c:965
 __inet_stream_connect+0x244/0xd80 net/ipv4/af_inet.c:672
 inet_stream_connect+0x62/0xa0 net/ipv4/af_inet.c:736
 __sys_connect_file net/socket.c:1933 [inline]
 __sys_connect+0x3cb/0x450 net/socket.c:1950
 __do_sys_connect net/socket.c:1960 [inline]
 __se_sys_connect net/socket.c:1957 [inline]
 __x64_sys_connect+0x76/0x80 net/socket.c:1957
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f5464315559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5462562028 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f5464591fa0 RCX: 00007f5464315559
RDX: 000000000000001c RSI: 00002000000000c0 RDI: 0000000000000004
RBP: 00007f54643a4136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5464592038 R14: 00007f5464591fa0 R15: 00007ffc91175958
 </TASK>
Modules linked in:
---[ end trace 06eb0cf44cc2f31b ]---
RIP: 0010:__unwind_start+0x0/0x650 arch/x86/kernel/unwind_orc.c:631
Code: 5f 5d c3 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 5d ff ff ff 4c 89 ff e8 6e 39 89 00 e9 50 ff ff ff 66 0f 1f 84 00 00 00 00 00 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 4c 24 08 49 89 d4
RSP: 0018:ffffc90003ed0000 EFLAGS: 00010246
RAX: ffff888077990000 RBX: ffffc90003ed00c0 RCX: ffffc90003ed0090
RDX: 0000000000000000 RSI: ffff888077990000 RDI: ffffc90003ed0008
RBP: ffffc90003ed0090 R08: ffffc90003ed01ff R09: ffffc90003ed0180
R10: dffffc0000000000 R11: fffff520007da040 R12: ffff888077990000
R13: 1ffff1100ef320b0 R14: ffffffff81679710 R15: 0000000000000000
FS:  00007f54625626c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90003ecfff8 CR3: 000000006a31e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 000000000000000f DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	5f                   	pop    %rdi
   1:	5d                   	pop    %rbp
   2:	c3                   	ret
   3:	44 89 f9             	mov    %r15d,%ecx
   6:	80 e1 07             	and    $0x7,%cl
   9:	80 c1 03             	add    $0x3,%cl
   c:	38 c1                	cmp    %al,%cl
   e:	0f 8c 5d ff ff ff    	jl     0xffffff71
  14:	4c 89 ff             	mov    %r15,%rdi
  17:	e8 6e 39 89 00       	call   0x89398a
  1c:	e9 50 ff ff ff       	jmp    0xffffff71
  21:	66 0f 1f 84 00 00 00 	nopw   0x0(%rax,%rax,1)
  28:	00 00
* 2a:	55                   	push   %rbp <-- trapping instruction
  2b:	41 57                	push   %r15
  2d:	41 56                	push   %r14
  2f:	41 55                	push   %r13
  31:	41 54                	push   %r12
  33:	53                   	push   %rbx
  34:	48 83 ec 18          	sub    $0x18,%rsp
  38:	48 89 4c 24 08       	mov    %rcx,0x8(%rsp)
  3d:	49 89 d4             	mov    %rdx,%r12

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/20 10:36 linux-5.15.y 29c6cdaac04a 625aa117 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: stack guard page was hit in inet_stream_connect
2026/10/08 05:25 linux-5.15.y a051a4bf909f 4f6a9fcf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: stack guard page was hit in inet_stream_connect
* Struck through repros no longer work on HEAD.