syzbot


WARNING in xfrm_policy_insert

Status: public: reported C repro on 2019/04/14 00:00
Reported-by: syzbot+dd5f9bcd3f7d75d52e5e@syzkaller.appspotmail.com
First crash: 2472d, last: 1815d
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
linux-4.19 WARNING in xfrm_policy_insert C error 8 1642d 1891d 0/1 upstream: reported C repro on 2019/09/17 18:21
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

Sample crash report:
request_module: runaway loop modprobe net-pf-10-proto-15
SELinux: unrecognized netlink message: protocol=6 nlmsg_type=0 sclass=netlink_xfrm_socket pig=3846 comm=syzkaller759731
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4002 at net/xfrm/xfrm_policy.c:786 xfrm_policy_insert+0x6ff/0xda0 net/xfrm/xfrm_policy.c:786
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4002 Comm: syzkaller759731 Not tainted 4.9.81-g1a93831 #33
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d694f3a8 ffffffff81d94e69 ffffffff83a48080 ffff8801d694f480
 ffffffff83f42a00 ffffffff833bf29f 0000000000000009 ffff8801d694f470
 ffffffff8142f691 0000000041b58ab3 ffffffff8418b0a8 ffffffff8142f4d5
Call Trace:
 [<ffffffff81d94e69>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d94e69>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8142f691>] panic+0x1bc/0x3a8 kernel/panic.c:179
 [<ffffffff811311c4>] __warn+0x1c4/0x1e0 kernel/panic.c:542
 [<ffffffff8113142c>] warn_slowpath_null+0x2c/0x40 kernel/panic.c:585
 [<ffffffff833bf29f>] xfrm_policy_insert+0x6ff/0xda0 net/xfrm/xfrm_policy.c:786
 [<ffffffff833ee8df>] xfrm_add_policy+0x38f/0x660 net/xfrm/xfrm_user.c:1546
 [<ffffffff833eb0fd>] xfrm_user_rcv_msg+0x40d/0x6a0 net/xfrm/xfrm_user.c:2525
 [<ffffffff8309552e>] netlink_rcv_skb+0x13e/0x370 net/netlink/af_netlink.c:2351
 [<ffffffff833e75ff>] xfrm_netlink_rcv+0x6f/0x90 net/xfrm/xfrm_user.c:2533
 [<ffffffff830940b1>] netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline]
 [<ffffffff830940b1>] netlink_unicast+0x511/0x750 net/netlink/af_netlink.c:1301
 [<ffffffff83094bd8>] netlink_sendmsg+0x8e8/0xc50 net/netlink/af_netlink.c:1847
 [<ffffffff82ed7baa>] sock_sendmsg_nosec net/socket.c:635 [inline]
 [<ffffffff82ed7baa>] sock_sendmsg+0xca/0x110 net/socket.c:645
 [<ffffffff82ed97c1>] ___sys_sendmsg+0x6d1/0x7e0 net/socket.c:1969
 [<ffffffff82edb7f6>] __sys_sendmsg+0xd6/0x190 net/socket.c:2003
 [<ffffffff82edb8dd>] SYSC_sendmsg net/socket.c:2014 [inline]
 [<ffffffff82edb8dd>] SyS_sendmsg+0x2d/0x50 net/socket.c:2010
 [<ffffffff81006505>] do_syscall_64+0x1a5/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b3dbd>] entry_SYSCALL_64_after_swapgs+0x47/0xc5
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/02/14 07:51 https://android.googlesource.com/kernel/common android-4.9 1a938310b8af 88bc17df .config console log report syz C ci-android-49-kasan-gce
2019/09/14 04:49 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 32d59357 .config console log report syz ci-android-49-kasan-gce
2019/09/14 04:46 https://android.googlesource.com/kernel/common android-4.9 bb1c7f3a1ca8 32d59357 .config console log report syz ci-android-49-kasan-gce-root
2019/09/09 12:13 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 a60cb4cd .config console log report syz ci-android-49-kasan-gce
2019/09/09 12:13 https://android.googlesource.com/kernel/common android-4.9 9ca86082667c a60cb4cd .config console log report syz ci-android-49-kasan-gce-root
2019/09/06 09:33 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 040fda58 .config console log report syz ci-android-49-kasan-gce
2019/09/06 09:31 https://android.googlesource.com/kernel/common android-4.9 d342ee64906f 040fda58 .config console log report syz ci-android-49-kasan-gce-root
2019/12/03 08:49 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 ab342da3 .config console log report ci-android-49-kasan-gce
2019/11/30 05:04 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 3a75be00 .config console log report ci-android-49-kasan-gce
2019/11/28 06:25 android-4.9 13ff5130ff6e 0d63f89c .config console log report ci-android-49-kasan-gce-root
2019/11/03 18:53 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 c9610487 .config console log report ci-android-49-kasan-gce
2019/10/24 21:40 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 d01bb02a .config console log report ci-android-49-kasan-gce
2019/10/21 07:56 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 8c88c9c1 .config console log report ci-android-49-kasan-gce
2019/10/18 13:28 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 8c88c9c1 .config console log report ci-android-49-kasan-gce
2019/10/10 21:33 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 a4efa8c0 .config console log report ci-android-49-kasan-gce
2019/10/09 12:00 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 312c6a5a .config console log report ci-android-49-kasan-gce
2019/10/02 13:10 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 2e29b534 .config console log report ci-android-49-kasan-gce
2019/10/02 01:26 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 b7a87a83 .config console log report ci-android-49-kasan-gce-root
2019/09/29 15:10 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 c1ad5441 .config console log report ci-android-49-kasan-gce
2019/09/28 20:46 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 eb6b9855 .config console log report ci-android-49-kasan-gce
2019/09/27 17:43 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 d8074e0b .config console log report ci-android-49-kasan-gce
2019/09/15 22:53 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 32d59357 .config console log report ci-android-49-kasan-gce
2019/09/07 06:45 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 a60cb4cd .config console log report ci-android-49-kasan-gce
2019/07/24 05:29 https://android.googlesource.com/kernel/common android-4.9 cd46375d4f59 de453f34 .config console log report ci-android-49-kasan-gce-root
2018/06/03 22:36 https://android.googlesource.com/kernel/common android-4.9 d7e64f8022e4 2f93b54f .config console log report ci-android-49-kasan-gce
2018/05/15 15:47 https://android.googlesource.com/kernel/common android-4.9 74fa0af47306 661fd7b9 .config console log report ci-android-49-kasan-gce-root
2018/02/22 17:58 https://android.googlesource.com/kernel/common android-4.9 da9fb78452e8 02fb4232 .config console log report ci-android-49-kasan-gce
* Struck through repros no longer work on HEAD.