syzbot


WARNING in xfrm_policy_inexact_insert

Status: auto-closed as invalid on 2020/01/05 17:33
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+0ffe44015de138d98e79@syzkaller.appspotmail.com
First crash: 1712d, last: 1686d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in xfrm_policy_inexact_insert 0 (1) 2019/08/12 12:30
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in xfrm_policy_inexact_insert (2) net 1 1561d 1561d 0/26 auto-closed as invalid on 2020/05/09 13:56

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 14565 at net/xfrm/xfrm_policy.c:1506 xfrm_policy_insert_inexact_list net/xfrm/xfrm_policy.c:1506 [inline]
WARNING: CPU: 1 PID: 14565 at net/xfrm/xfrm_policy.c:1506 xfrm_policy_inexact_insert+0x102a/0x1540 net/xfrm/xfrm_policy.c:1195
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 14565 Comm: syz-executor.1 Not tainted 5.3.0-rc7+ #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+0x1d8/0x2f8 lib/dump_stack.c:113
 panic+0x25c/0x799 kernel/panic.c:219
 __warn+0x22f/0x230 kernel/panic.c:576
 report_bug+0x190/0x290 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 do_error_trap+0xd7/0x440 arch/x86/kernel/traps.c:272
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:xfrm_policy_insert_inexact_list net/xfrm/xfrm_policy.c:1506 [inline]
RIP: 0010:xfrm_policy_inexact_insert+0x102a/0x1540 net/xfrm/xfrm_policy.c:1195
Code: c1 03 38 c1 0f 8c 0a f7 ff ff 48 89 df e8 6e 90 37 fb e9 fd f6 ff ff e8 54 95 fe fa 48 c7 c7 b2 c8 3a 88 31 c0 e8 89 db e7 fa <0f> 0b e9 b4 fc ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 04 f7 ff
RSP: 0018:ffff888088fdf8b0 EFLAGS: 00010246
RAX: 0000000000000024 RBX: ffff8880a4195d20 RCX: adc2dd59554d2c00
RDX: ffffc9000815a000 RSI: 0000000000006511 RDI: 0000000000006512
RBP: ffff888088fdf9b8 R08: ffffffff815cfa54 R09: ffffed1015d66088
R10: ffffed1015d66088 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
 xfrm_policy_insert+0xdf/0xce0 net/xfrm/xfrm_policy.c:1574
 pfkey_spdadd+0xe47/0x1980 net/key/af_key.c:2325
 pfkey_process net/key/af_key.c:2834 [inline]
 pfkey_sendmsg+0xacd/0xeb0 net/key/af_key.c:3673
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg net/socket.c:657 [inline]
 ___sys_sendmsg+0x60d/0x910 net/socket.c:2311
 __sys_sendmsg net/socket.c:2356 [inline]
 __do_sys_sendmsg net/socket.c:2365 [inline]
 __se_sys_sendmsg net/socket.c:2363 [inline]
 __x64_sys_sendmsg+0x17c/0x200 net/socket.c:2363
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4598e9
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f0987a46c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004598e9
RDX: 0000000000000000 RSI: 0000000020cd0fc8 RDI: 0000000000000005
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0987a476d4
R13: 00000000004c7783 R14: 00000000004dcff0 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/07 17:32 upstream 1e3778cb223e a60cb4cd .config console log report ci-upstream-kasan-gce-smack-root
2019/08/12 04:41 upstream 296d05cb0d3c acb51638 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.