syzbot


WARNING in xfrm_policy_insert

Status: upstream: reported C repro on 2019/09/17 18:21
Reported-by: syzbot+a4c3057a46b912d61f69@syzkaller.appspotmail.com
First crash: 1891d, last: 1642d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in xfrm_policy_insert net C inconclusive done 6 1619d 2472d 15/28 fixed on 2020/07/28 19:58
linux-4.14 WARNING in xfrm_policy_insert syz done 8 1650d 1909d 1/1 fixed on 2020/06/15 08:02
android-414 WARNING in xfrm_policy_insert C 7 1815d 1903d 0/1 public: reported C repro on 2019/09/06 10:33
android-44 WARNING in xfrm_policy_insert C 13 1855d 2048d 0/2 public: reported C repro on 2019/04/14 00:02
android-49 WARNING in xfrm_policy_insert C 27 1815d 2048d 0/3 public: reported C repro on 2019/04/14 00:00
Last patch testing requests (6)
Created Duration User Patch Repo Result
2022/08/27 18:27 10m retest repro linux-4.19.y error
2022/08/27 15:27 14m retest repro linux-4.19.y error
2022/08/27 14:27 13m retest repro linux-4.19.y error
2022/08/27 12:27 10m retest repro linux-4.19.y error
2022/08/27 10:27 10m retest repro linux-4.19.y error
2022/08/27 08:27 12m retest repro linux-4.19.y error
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2020/06/22 14:07 0m bisect fix linux-4.19.y error job log
2020/05/20 13:26 40m (2) bisect fix linux-4.19.y OK (0) job log log
2020/04/16 04:17 40m bisect fix linux-4.19.y OK (0) job log log
2020/03/17 03:48 28m bisect fix linux-4.19.y OK (0) job log log
2020/01/21 03:04 26m bisect fix linux-4.19.y OK (0) job log log
2019/12/17 22:07 30m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 2745 at net/xfrm/xfrm_policy.c:761 xfrm_policy_insert.cold+0x11/0x8c net/xfrm/xfrm_policy.c:761
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 2745 Comm: syz-executor323 Not tainted 4.19.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x53 kernel/panic.c:541
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:xfrm_policy_insert.cold+0x11/0x8c net/xfrm/xfrm_policy.c:761
Code: ff e8 ac cf 1a fb 48 c7 c7 20 f2 54 88 e8 34 33 05 fb 0f 0b e9 6e d3 fe ff e8 94 cf 1a fb 48 c7 c7 20 f2 54 88 e8 1c 33 05 fb <0f> 0b 48 8b 45 c0 42 0f b6 14 20 48 8b 45 d0 83 e0 07 83 c0 03 38
RSP: 0018:ffff8880a91f75d8 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff88809494bb00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81558b76 RDI: ffffed101523eead
RBP: ffff8880a91f7678 R08: 0000000000000024 R09: ffffed1015d25079
R10: ffffed1015d25078 R11: ffff8880ae9283c7 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888093abe000
 xfrm_add_policy+0x28b/0x530 net/xfrm/xfrm_user.c:1669
 xfrm_user_rcv_msg+0x450/0x720 net/xfrm/xfrm_user.c:2677
 netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454
 xfrm_netlink_rcv+0x70/0x90 net/xfrm/xfrm_user.c:2685
 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
 netlink_unicast+0x53a/0x730 net/netlink/af_netlink.c:1343
 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:632
 __sys_sendto+0x262/0x380 net/socket.c:1787
 __do_sys_sendto net/socket.c:1799 [inline]
 __se_sys_sendto net/socket.c:1795 [inline]
 __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1795
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x449429
Code: e8 dc 0f 03 00 48 83 c4 18 c3 0f 1f 80 00 00 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 0f 83 ab 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f05cf73fcd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00000000006dec48 RCX: 0000000000449429
RDX: 000000000000ff3b RSI: 0000000020000000 RDI: 0000000000000005
RBP: 00000000006dec40 R08: 0000000000000000 R09: 00000000000002e2
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dec4c
R13: 00007ffd0c30362f R14: 00007f05cf7409c0 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/27 07:54 linux-4.19.y d183c8e2647a dd56146d .config console log report syz C ci2-linux-4-19
2019/12/22 03:03 linux-4.19.y 672481c2deff bc586918 .config console log report syz ci2-linux-4-19
2019/10/13 07:18 linux-4.19.y dafd634415a7 426631dd .config console log report syz ci2-linux-4-19
2019/09/26 09:18 linux-4.19.y d573e8a79f70 24d405a3 .config console log report syz ci2-linux-4-19
2019/09/17 17:20 linux-4.19.y db2d0b7c1dde 13dcda9b .config console log report syz ci2-linux-4-19
2020/02/16 03:48 linux-4.19.y 9b15f7fae677 5d7b90f1 .config console log report syz C ci2-linux-4-19
2020/04/20 13:26 linux-4.19.y 8488c3f3bc86 347a5dc3 .config console log report ci2-linux-4-19
2020/02/15 17:54 linux-4.19.y 9b15f7fae677 5d7b90f1 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.