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: 557d, last: 522d
Cause bisection: introduced by (bisect log) [merge commit]:
commit 4248b89fb1c8558a980d3a3dd5e97a18e51fc7cc
Author: Greg Kroah-Hartman <gregkh@google.com>
Date: Fri Sep 30 11:27:38 2022 +0000

  Merge 5.15.69 into android13-5.15-lts

Crash: kernel BUG in pfkey_send_acquire (log)
Repro: syz .config
  
Fix bisection: failed (error log, bisect log)
  
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG in pfkey_send_acquire C 278 523d 1187d 0/2 auto-obsoleted due to no activity on 2023/04/19 14:24
android-5-10 kernel BUG in add_grec (2) C error inconclusive 1039 512d 512d 2/2 fixed on 2023/02/24 12:10
upstream kernel BUG at net/core/skbuff.c:LINE! (3) C done 4399 1151d 2268d 19/26 fixed on 2021/03/10 01:48
linux-4.19 kernel BUG in pfkey_send_acquire C done 56 1158d 1187d 1/1 fixed on 2021/03/18 08:30
linux-4.14 kernel BUG at net/core/skbuff.c:LINE! C 3066 414d 1833d 0/1 upstream: reported C repro on 2019/04/12 15:43
upstream kernel BUG in pskb_expand_head net C done 1600 434d 885d 22/26 fixed on 2023/02/25 08:02
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/05/12 12:52 14m retest repro android13-5.15-lts OK log

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

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/01 23:44 android13-5.15-lts 7f2e600bf63a 08977f5d .config console log report syz ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/13 08:04 android13-5.15-lts 7f2e600bf63a f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/12 06:12 android13-5.15-lts 7f2e600bf63a f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/11 22:25 android13-5.15-lts 7f2e600bf63a f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/10 15:29 android13-5.15-lts 7f2e600bf63a 3ead01ad .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/09 17:03 android13-5.15-lts 7f2e600bf63a bebca8b7 .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/09 17:02 android13-5.15-lts 7f2e600bf63a bebca8b7 .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/09 09:29 android13-5.15-lts 7f2e600bf63a 5fa28208 .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/08 02:05 android13-5.15-lts 7f2e600bf63a 6feb842b .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/07 02:14 android13-5.15-lts 7f2e600bf63a 6d752409 .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/06 07:38 android13-5.15-lts 7f2e600bf63a 6d752409 .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/03 20:10 android13-5.15-lts 7f2e600bf63a 7a2ebf95 .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/03 06:03 android13-5.15-lts 7f2e600bf63a 7a2ebf95 .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/11/01 20:57 android13-5.15-lts 7f2e600bf63a 08977f5d .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/30 21:00 android13-5.15-lts 7f2e600bf63a 2a71366b .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/30 14:29 android13-5.15-lts 7f2e600bf63a 2a71366b .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/29 12:36 android13-5.15-lts 7f2e600bf63a 899d812a .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/29 06:36 android13-5.15-lts 7f2e600bf63a 899d812a .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/28 16:12 android13-5.15-lts 7f2e600bf63a 8168b69e .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/28 00:04 android13-5.15-lts 7f2e600bf63a 5c716ff6 .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/27 23:06 android13-5.15-lts 7f2e600bf63a 5c716ff6 .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/27 13:08 android13-5.15-lts 7f2e600bf63a 5c716ff6 .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/27 10:35 android13-5.15-lts 7f2e600bf63a 86777b7f .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/27 09:03 android13-5.15-lts 7f2e600bf63a 86777b7f .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/26 01:07 android13-5.15-lts 7f2e600bf63a 2159e4d2 .config console log report info ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/25 02:40 android13-5.15-lts 7f2e600bf63a faae2fda .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/24 19:19 android13-5.15-lts 7f2e600bf63a faae2fda .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/22 23:04 android13-5.15-lts 7f2e600bf63a c0b80a55 .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/22 04:36 android13-5.15-lts 7f2e600bf63a 63e790dd .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/21 17:22 android13-5.15-lts 7f2e600bf63a 63e790dd .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/20 16:00 android13-5.15-lts 7f2e600bf63a b31320fc .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/18 00:10 android13-5.15-lts 44b8b2ac1d96 94744d21 .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/16 01:13 android13-5.15-lts 44b8b2ac1d96 67cb024c .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/14 22:06 android13-5.15-lts 44b8b2ac1d96 67cb024c .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
2022/10/09 17:24 android13-5.15-lts 43eb03f7ce81 aea5da89 .config console log report info [disk image] [vmlinux] ci2-android-5-15 kernel BUG in pfkey_send_acquire
* Struck through repros no longer work on HEAD.