syzbot


kernel BUG in pfkey_send_acquire

Status: fixed on 2021/03/18 08:30
Reported-by: syzbot+f02b5dfb3cde2b2c8e57@syzkaller.appspotmail.com
Fix commit: fa137b50f326 block: split .sysfs_lock into two locks
First crash: 1187d, last: 1158d
Fix bisection: fixed by (bisect log) :
commit fa137b50f3264a157575413030464c19ab553b0e
Author: Ming Lei <ming.lei@redhat.com>
Date: Tue Aug 27 11:01:48 2019 +0000

  block: split .sysfs_lock into two locks

  
Similar bugs (17)
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-15 kernel BUG in pfkey_send_acquire syz unreliable error 35 523d 557d 0/2 auto-obsoleted due to no activity on 2023/05/12 13:15
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.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 886d 22/26 fixed on 2023/02/25 08:02
android-44 kernel BUG at net/core/skbuff.c:LINE! C 79 1609d 1835d 0/2 public: reported C repro on 2019/04/11 08:44
linux-4.19 kernel BUG at net/core/skbuff.c:LINE! C unreliable 494 599d 1818d 0/1 upstream: reported C repro on 2019/04/27 20:12
upstream kernel BUG at net/core/skbuff.c:LINE! (2) net C 562 2273d 2362d 4/26 fixed on 2018/01/29 03:39
android-5-10 kernel BUG in add_grec C error 83 752d 826d 2/2 fixed on 2022/03/29 10:01
android-54 kernel BUG at net/core/skbuff.c:LINE! C 267 339d 1559d 0/2 auto-obsoleted due to no activity on 2023/08/22 15:17
android-414 kernel BUG at net/core/skbuff.c:LINE! C 2743 1598d 1835d 0/1 public: reported C repro on 2019/04/11 00:00
upstream kernel BUG in netem_enqueue net 9 490d 715d 22/26 fixed on 2023/02/24 13:50
android-5-10 kernel BUG in cdc_ncm_fill_tx_frame C error 40 845d 910d 1/2 fixed on 2021/12/29 12:20
upstream kernel BUG at net/core/skbuff.c:LINE! sctp 5 2369d 2439d 3/26 fixed on 2017/10/27 10:10
upstream kernel BUG in llc_sap_action_send_xid_c net C error 61 891d 1105d 20/26 fixed on 2021/11/10 00:50
android-49 kernel BUG at net/core/skbuff.c:LINE! C 391 1598d 1834d 0/3 public: reported C repro on 2019/04/12 00:00

Sample crash report:
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
skbuff: skb_over_panic: text:00000000cba05cbc len:232 put:72 head:000000001669cc29 data:000000001669cc29 tail:0xe8 end:0xc0 dev:<NULL>
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
------------[ cut here ]------------
IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
kernel BUG at net/core/skbuff.c:104!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
CPU: 0 PID: 8361 Comm: syz-executor323 Not tainted 4.19.172-syzkaller #0
IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
RIP: 0010:skb_panic+0x172/0x174 syzkaller/managers/linux-4-19/kernel/net/core/skbuff.c:104
Code: 4c 24 10 8b 8b 80 00 00 00 41 56 45 89 e8 4c 89 e2 41 57 48 89 ee 48 c7 c7 a0 d3 4b 89 ff 74 24 10 ff 74 24 20 e8 15 23 e2 ff <0f> 0b e8 8f e6 53 f9 4c 8b 64 24 18 e8 65 84 89 f9 48 c7 c1 00 dd
RSP: 0018:ffff88809cf2efa8 EFLAGS: 00010286
RAX: 0000000000000086 RBX: ffff8880b2d4d700 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814de0d1 RDI: ffffed10139e5de7
RBP: ffffffff894bdd40 R08: 0000000000000086 R09: 0000000000000000
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff87208233
R13: 0000000000000048 R14: ffffffff894bd360 R15: 00000000000000c0
FS:  00007fecd1ebe700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff0ef8bc0c CR3: 000000009f462000 CR4: 00000000001406f0
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 skb_over_panic syzkaller/managers/linux-4-19/kernel/net/core/skbuff.c:109 [inline]
 skb_put.cold+0x24/0x24 syzkaller/managers/linux-4-19/kernel/net/core/skbuff.c:1711
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
 dump_esp_combs syzkaller/managers/linux-4-19/kernel/net/key/af_key.c:3012 [inline]
 pfkey_send_acquire+0x1853/0x2520 syzkaller/managers/linux-4-19/kernel/net/key/af_key.c:3233
 km_query+0xc5/0x210 syzkaller/managers/linux-4-19/kernel/net/xfrm/xfrm_state.c:2024
 xfrm_state_find+0x1c6c/0x2cb0 syzkaller/managers/linux-4-19/kernel/net/xfrm/xfrm_state.c:1043
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
 xfrm_tmpl_resolve_one syzkaller/managers/linux-4-19/kernel/net/xfrm/xfrm_policy.c:1410 [inline]
 xfrm_tmpl_resolve+0x2f3/0xc20 syzkaller/managers/linux-4-19/kernel/net/xfrm/xfrm_policy.c:1455
 xfrm_resolve_and_create_bundle+0xd8/0x3e0 syzkaller/managers/linux-4-19/kernel/net/xfrm/xfrm_policy.c:1753
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
 xfrm_lookup_with_ifid+0x243/0x1cb0 syzkaller/managers/linux-4-19/kernel/net/xfrm/xfrm_policy.c:2076
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
 xfrm_lookup syzkaller/managers/linux-4-19/kernel/net/xfrm/xfrm_policy.c:2200 [inline]
 xfrm_lookup_route+0x36/0x1e0 syzkaller/managers/linux-4-19/kernel/net/xfrm/xfrm_policy.c:2211
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
 ip_route_output_flow+0x114/0x150 syzkaller/managers/linux-4-19/kernel/net/ipv4/route.c:2639
 udp_sendmsg+0x19ce/0x2550 syzkaller/managers/linux-4-19/kernel/net/ipv4/udp.c:1101
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
 inet_sendmsg+0x132/0x5a0 syzkaller/managers/linux-4-19/kernel/net/ipv4/af_inet.c:798
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
 sock_sendmsg_nosec syzkaller/managers/linux-4-19/kernel/net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 syzkaller/managers/linux-4-19/kernel/net/socket.c:632
 ___sys_sendmsg+0x3b3/0x8e0 syzkaller/managers/linux-4-19/kernel/net/socket.c:2115
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
 __sys_sendmmsg+0x195/0x470 syzkaller/managers/linux-4-19/kernel/net/socket.c:2210
 __do_sys_sendmmsg syzkaller/managers/linux-4-19/kernel/net/socket.c:2239 [inline]
 __se_sys_sendmmsg syzkaller/managers/linux-4-19/kernel/net/socket.c:2236 [inline]
 __x64_sys_sendmmsg+0x99/0x100 syzkaller/managers/linux-4-19/kernel/net/socket.c:2236
 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4508b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 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:00007fecd1ebe308 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00000000004d5298 RCX: 00000000004508b9
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
RDX: 000000000800001d RSI: 0000000020007fc0 RDI: 0000000000000003
RBP: 00000000004d5290 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004d529c
R13: 000000000049e298 R14: 0100000000000000 R15: 0000000000022000
Modules linked in:
---[ end trace de4dd628040dc03a ]---
RIP: 0010:skb_panic+0x172/0x174 syzkaller/managers/linux-4-19/kernel/net/core/skbuff.c:104
Code: 4c 24 10 8b 8b 80 00 00 00 41 56 45 89 e8 4c 89 e2 41 57 48 89 ee 48 c7 c7 a0 d3 4b 89 ff 74 24 10 ff 74 24 20 e8 15 23 e2 ff <0f> 0b e8 8f e6 53 f9 4c 8b 64 24 18 e8 65 84 89 f9 48 c7 c1 00 dd
RSP: 0018:ffff88809cf2efa8 EFLAGS: 00010286
RAX: 0000000000000086 RBX: ffff8880b2d4d700 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814de0d1 RDI: ffffed10139e5de7
RBP: ffffffff894bdd40 R08: 0000000000000086 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff87208233
R13: 0000000000000048 R14: ffffffff894bd360 R15: 00000000000000c0
FS:  00007fecd1ebe700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe302f1d30 CR3: 000000009f462000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (56):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/07 05:34 linux-4.19.y 811218eceeaa 0655e081 .config console log report syz C ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/29 00:22 linux-4.19.y c4ff839de17f 7df34f59 .config console log report syz C ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/28 08:33 linux-4.19.y c4ff839de17f eefc07f2 .config console log report syz C ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/20 05:14 linux-4.19.y 43d555d83c3f 63631df1 .config console log report syz C ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/20 12:41 linux-4.19.y 43d555d83c3f d4f4eca5 .config console log report syz ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/20 02:47 linux-4.19.y 43d555d83c3f 63631df1 .config console log report syz ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/15 20:55 linux-4.19.y 811218eceeaa 98682e5e .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/15 12:48 linux-4.19.y 811218eceeaa 98682e5e .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/14 16:49 linux-4.19.y 811218eceeaa 98682e5e .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/12 07:24 linux-4.19.y 811218eceeaa a5f86b15 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/09 01:06 linux-4.19.y 811218eceeaa 2bd9619f .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/08 21:05 linux-4.19.y 811218eceeaa 2bd9619f .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/07 20:59 linux-4.19.y 811218eceeaa 2ce644fc .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/07 17:06 linux-4.19.y 811218eceeaa 2ce644fc .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/05 11:43 linux-4.19.y 811218eceeaa 23a562df .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/05 00:50 linux-4.19.y 811218eceeaa 23a562df .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/04 22:40 linux-4.19.y 811218eceeaa 42b90a7c .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/04 14:15 linux-4.19.y 811218eceeaa 42b90a7c .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/04 02:20 linux-4.19.y 811218eceeaa 624dad51 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/03 23:10 linux-4.19.y 811218eceeaa 624dad51 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/03 17:42 linux-4.19.y 811218eceeaa 624dad51 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/03 16:46 linux-4.19.y 811218eceeaa 624dad51 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/03 16:17 linux-4.19.y 811218eceeaa 624dad51 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/02 23:44 linux-4.19.y 811218eceeaa 624dad51 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/02 08:45 linux-4.19.y 811218eceeaa 19e09687 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/02 08:23 linux-4.19.y 811218eceeaa 19e09687 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/02 08:09 linux-4.19.y 811218eceeaa e6b95f32 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/02/01 14:00 linux-4.19.y 811218eceeaa e6b95f32 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/31 15:07 linux-4.19.y 811218eceeaa fc9fd31e .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/28 14:13 linux-4.19.y c4ff839de17f eefc07f2 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/28 11:42 linux-4.19.y c4ff839de17f eefc07f2 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/28 03:57 linux-4.19.y c4ff839de17f a57db36f .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/27 10:06 linux-4.19.y 2263955bf7e7 a0ebf917 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/26 18:39 linux-4.19.y 2263955bf7e7 55a7d4df .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/26 17:38 linux-4.19.y 2263955bf7e7 55a7d4df .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/26 17:18 linux-4.19.y 2263955bf7e7 55a7d4df .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/25 11:32 linux-4.19.y 2263955bf7e7 52e37319 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/25 00:26 linux-4.19.y 2263955bf7e7 52e37319 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/24 15:47 linux-4.19.y 2263955bf7e7 52e37319 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/24 14:56 linux-4.19.y 2263955bf7e7 52e37319 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/24 13:26 linux-4.19.y 2263955bf7e7 52e37319 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/23 11:29 linux-4.19.y 43d555d83c3f 52e37319 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/23 00:15 linux-4.19.y 43d555d83c3f 52e37319 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/22 04:19 linux-4.19.y 43d555d83c3f d4f4eca5 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/22 02:53 linux-4.19.y 43d555d83c3f d4f4eca5 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/21 02:20 linux-4.19.y 43d555d83c3f d4f4eca5 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/20 06:22 linux-4.19.y 43d555d83c3f 63631df1 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/20 04:44 linux-4.19.y 43d555d83c3f 63631df1 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/20 02:21 linux-4.19.y 43d555d83c3f 63631df1 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/19 04:31 linux-4.19.y c110fed0e606 63631df1 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/18 15:57 linux-4.19.y c110fed0e606 63631df1 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/17 22:09 linux-4.19.y c110fed0e606 fd103621 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/17 22:00 linux-4.19.y c110fed0e606 fd103621 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/17 16:39 linux-4.19.y c110fed0e606 fd103621 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
2021/01/17 15:22 linux-4.19.y c110fed0e606 fd103621 .config console log report info ci2-linux-4-19 kernel BUG in pfkey_send_acquire
* Struck through repros no longer work on HEAD.