syzbot
kernel BUG in pfkey_send_acquire
Status:
auto-obsoleted due to no activity on 2023/05/12 13:15
Reported-by: syzbot+8f6dede5334be35e31d6@syzkaller.appspotmail.com
First crash: 1390d, last: 1355d
▶
▼
Last patch testing requests (1)
Sample crash report:
skbuff: skb_over_panic: text:ffffffff846c2c78 len:160 put:72 head:ffff8881224bf800 data:ffff8881224bf800 tail:0xa0 end:0x80 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:113!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 473 Comm: syz-executor.4 Not tainted 5.15.74-syzkaller-04383-g7f2e600bf63a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:skb_panic+0x14c/0x150 net/core/skbuff.c:113
Code: c7 a0 70 be 85 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 31 c0 53 41 56 41 55 41 54 e8 03 fe dc 00 48 83 c4 20 <0f> 0b 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 78 4c
RSP: 0018:ffffc90000f76b08 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffffffff85be7120 RCX: 0542a8159a19ec00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90000f76b50 R08: ffffffff815838e9 R09: ffffed103ee24e93
R10: ffffed103ee24e93 R11: 1ffff1103ee24e92 R12: ffff8881224bf800
R13: 00000000000000a0 R14: 0000000000000080 R15: dffffc0000000000
FS: 00007f8fc6b6e700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3794456718 CR3: 000000011cdcd000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
skb_over_panic net/core/skbuff.c:118 [inline]
skb_put+0x153/0x210 net/core/skbuff.c:2039
dump_esp_combs net/key/af_key.c:3009 [inline]
pfkey_send_acquire+0x19a8/0x2db0 net/key/af_key.c:3230
km_query+0x75/0xe0 net/xfrm/xfrm_state.c:2247
xfrm_state_find+0x24d8/0x3510 net/xfrm/xfrm_state.c:1164
xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2393 [inline]
xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2438 [inline]
xfrm_resolve_and_create_bundle+0x66d/0x2c80 net/xfrm/xfrm_policy.c:2731
xfrm_lookup_with_ifid+0xff4/0x2640 net/xfrm/xfrm_policy.c:3065
xfrm_lookup net/xfrm/xfrm_policy.c:3194 [inline]
xfrm_lookup_route+0x3b/0x160 net/xfrm/xfrm_policy.c:3205
ip_route_output_flow+0x1e7/0x310 net/ipv4/route.c:2889
udp_sendmsg+0x1650/0x2920 net/ipv4/udp.c:1224
inet_sendmsg+0xa1/0xc0 net/ipv4/af_inet.c:827
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
____sys_sendmsg+0x597/0x8e0 net/socket.c:2412
___sys_sendmsg net/socket.c:2466 [inline]
__sys_sendmmsg+0x5c7/0x800 net/socket.c:2552
__do_sys_sendmmsg net/socket.c:2581 [inline]
__se_sys_sendmmsg net/socket.c:2578 [inline]
__x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2578
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f8fc703c5a9
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:00007f8fc6b6e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f8fc715d120 RCX: 00007f8fc703c5a9
RDX: 000000000800001d RSI: 0000000020007fc0 RDI: 0000000000000003
RBP: 00007f8fc70977b0 R08: 0000000000000000 R09: 0000000000000000
R10: 000000a742250118 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcc17306ff R14: 00007f8fc6b6e300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace b1362fe7339b77db ]---
RIP: 0010:skb_panic+0x14c/0x150 net/core/skbuff.c:113
Code: c7 a0 70 be 85 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 31 c0 53 41 56 41 55 41 54 e8 03 fe dc 00 48 83 c4 20 <0f> 0b 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 78 4c
RSP: 0018:ffffc90000f76b08 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffffffff85be7120 RCX: 0542a8159a19ec00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90000f76b50 R08: ffffffff815838e9 R09: ffffed103ee24e93
R10: ffffed103ee24e93 R11: 1ffff1103ee24e92 R12: ffff8881224bf800
R13: 00000000000000a0 R14: 0000000000000080 R15: dffffc0000000000
FS: 00007f8fc6b6e700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3794456718 CR3: 000000011cdcd000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.