panic: kernel diagnostic assertion "cifp != NULL" failed: file "/syzkaller/managers/main/kernel/sys/net/route.c", line 946 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *433081 19543 0 0 0x4000000 0 syz-executor.7 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82722f34) at panic+0x161 sys/kern/subr_prf.c:198 __assert(ffffffff827a0c78,ffffffff8275fee9,3b2,ffffffff827780fb) at __assert+0x25 sys/kern/subr_prf.c:157 rtrequest(1,ffff80002e913fe0,8,ffff80002e9140a8,0) at rtrequest+0xc17 sys/net/route.c:946 rt_ifa_add(ffff800000cb5500,40004,ffff800000cb5568,0) at rt_ifa_add+0x260 sys/net/route.c:1126 in_ifinit(ffff80002173b588,ffff800000cb5500,ffff80002e9141d0,1) at in_ifinit+0x3af pppx_add_session(ffff800000cb5200,ffff800000e02400) at pppx_add_session+0x34e sys/net/if_pppx.c:731 VOP_IOCTL(fffffd80721a9388,82907003,ffff800000e02400,1,fffffd807f7d78f0,ffff80002e863610) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80072ef630,82907003,ffff800000e02400,ffff80002e863610) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002e863610,ffff80002e914518,ffff80002e914560) at sys_ioctl+0x49e syscall(ffff80002e9145e0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x53b29e45d30, count: 3 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: kernel diagnostic assertion "cifp != NULL" failed: file "/syzkaller/managers/main/kernel/sys/net/route.c", line 946 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82722f34) at panic+0x161 sys/kern/subr_prf.c:198 __assert(ffffffff827a0c78,ffffffff8275fee9,3b2,ffffffff827780fb) at __assert+0x25 sys/kern/subr_prf.c:157 rtrequest(1,ffff80002e913fe0,8,ffff80002e9140a8,0) at rtrequest+0xc17 sys/net/route.c:946 rt_ifa_add(ffff800000cb5500,40004,ffff800000cb5568,0) at rt_ifa_add+0x260 sys/net/route.c:1126 in_ifinit(ffff80002173b588,ffff800000cb5500,ffff80002e9141d0,1) at in_ifinit+0x3af pppx_add_session(ffff800000cb5200,ffff800000e02400) at pppx_add_session+0x34e sys/net/if_pppx.c:731 VOP_IOCTL(fffffd80721a9388,82907003,ffff800000e02400,1,fffffd807f7d78f0,ffff80002e863610) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80072ef630,82907003,ffff800000e02400,ffff80002e863610) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002e863610,ffff80002e914518,ffff80002e914560) at sys_ioctl+0x49e syscall(ffff80002e9145e0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x53b29e45d30, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002e913e10 rbx 0x10000 __ALIGN_SIZE+0xf000 rdx 0xffff800000ced540 rcx 0 rax 0xffff80002e863610 r8 0 r9 0x8080808080808080 r10 0x7c24d98af4146b48 r11 0x86d97ceed9c5730 r12 0 r13 0xffff80002e913fe0 r14 0 r15 0x1 rip 0xffffffff81a69eb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e913e00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.7) pid=433081 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002e862308,0xffff80002e862df8 process=0xffff8000fffee400 user=0xffff80002e90f000, vmspace=0xfffffd807f012c18 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 33821 520437 83371 0 2 0 syz-executor.6 33821 457468 83371 0 3 0x4000080 netio syz-executor.6 33821 344770 83371 0 3 0x4000080 fsleep syz-executor.6 37323 428880 76604 0 2 0 syz-executor.5 37323 225822 76604 0 3 0x4000080 netio syz-executor.5 19543 298449 42617 0 2 0 syz-executor.7 *19543 433081 42617 0 7 0x4000000 syz-executor.7 97751 44942 98091 0 2 0x2 syz-executor.1 2971 491744 0 0 3 0x14200 acct acct 85634 179067 98091 0 2 0x482 syz-executor.2 76604 81623 98091 0 2 0x482 syz-executor.5 5586 296057 98091 0 2 0x482 syz-executor.0 63225 231511 0 0 3 0x14280 nfsidl nfsio 50141 316785 0 0 3 0x14280 nfsidl nfsio 18198 191010 0 0 3 0x14280 nfsidl nfsio 43853 474547 0 0 3 0x14280 nfsidl nfsio 50429 400305 0 0 3 0x14280 nfsidl nfsio 32123 33051 0 0 3 0x14280 nfsidl nfsio 80998 72988 0 0 3 0x14280 nfsidl nfsio 70484 135691 0 0 3 0x14280 nfsidl nfsio 42151 117937 0 0 3 0x14280 nfsidl nfsio 37432 406374 0 0 3 0x14280 nfsidl nfsio 41504 239920 0 0 3 0x14280 nfsidl nfsio 81120 65147 0 0 3 0x14280 nfsidl nfsio 90738 335887 0 0 3 0x14280 nfsidl nfsio 44449 300132 0 0 3 0x14280 nfsidl nfsio 44830 132615 0 0 3 0x14280 nfsidl nfsio 50898 57246 0 0 3 0x14280 nfsidl nfsio 52731 238315 0 0 3 0x14280 nfsidl nfsio 98573 49435 0 0 3 0x14280 nfsidl nfsio 77924 270104 0 0 3 0x14280 nfsidl nfsio 32070 302919 0 0 3 0x14280 nfsidl nfsio 83371 277740 98091 0 2 0x482 syz-executor.6 64644 451543 0 0 3 0x14200 bored sosplice 42617 496220 98091 0 3 0x82 nanoslp syz-executor.7 48325 342610 98091 0 3 0x82 nanoslp syz-executor.3 98091 92245 68564 0 3 0x82 wait syz-fuzzer 98091 124328 68564 0 3 0x4000082 nanoslp syz-fuzzer 98091 122737 68564 0 3 0x4000082 thrsleep syz-fuzzer 98091 175089 68564 0 3 0x4000082 wait syz-fuzzer 98091 473200 68564 0 3 0x4000082 wait syz-fuzzer 98091 296040 68564 0 3 0x4000082 thrsleep syz-fuzzer 98091 138444 68564 0 3 0x4000082 wait syz-fuzzer 98091 89888 68564 0 3 0x4000082 wait syz-fuzzer 98091 100177 68564 0 3 0x4000082 wait syz-fuzzer 98091 61316 68564 0 3 0x4000082 wait syz-fuzzer 98091 194727 68564 0 3 0x4000082 thrsleep syz-fuzzer 98091 156395 68564 0 3 0x4000082 kqread syz-fuzzer 98091 404480 68564 0 3 0x4000082 wait syz-fuzzer 98091 69896 68564 0 3 0x4000082 thrsleep syz-fuzzer 68564 114655 33646 0 3 0x10008a sigsusp ksh 33646 490890 57012 0 3 0x9a kqread sshd 82841 144169 1 0 3 0x100083 ttyin getty 57012 234335 1 0 3 0x88 kqread sshd 17799 361922 77621 73 3 0x1100090 kqread syslogd 77621 351840 1 0 3 0x100082 netio syslogd 10746 87106 1 0 2 0x100080 resolvd 82183 34282 71333 77 2 0x100092 dhcpleased 54653 237346 71333 77 3 0x100092 kqread dhcpleased 71333 474727 1 0 3 0x80 kqread dhcpleased 51430 332890 0 0 3 0x14200 bored smr 97337 390918 0 0 2 0x14200 zerothread 42408 224725 0 0 3 0x14200 aiodoned aiodoned 18799 418367 0 0 3 0x14200 syncer update 35295 500446 0 0 3 0x14200 cleaner cleaner 48033 156773 0 0 3 0x14200 reaper reaper 2107 405104 0 0 3 0x14200 pgdaemon pagedaemon 11291 501509 0 0 3 0x14200 bored viomb 4205 465460 0 0 3 0x40014200 acpi0 acpi0 75648 430025 0 0 3 0x14200 bored softnet 60011 226524 0 0 3 0x14200 bored softnet 16346 93068 0 0 3 0x14200 bored softnet 82359 281927 0 0 3 0x14200 bored softnet 36434 3403 0 0 3 0x14200 bored systqmp 99245 164082 0 0 3 0x14200 bored systq 64596 282832 0 0 2 0x40014200 softclock 16944 270556 0 0 3 0x40014200 idle0 1 13389 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10215 6423K 6874K 78643K 16625 0 pcb 13 16K 18K 78643K 957 0 rtable 215 15K 17K 78643K 1056 0 ifaddr 81 22K 22K 78643K 394 0 sysctl 2 0K 0K 78643K 2 0 counters 31 17K 17K 78643K 191 0 ioctlops 1 1K 4K 78643K 543 0 iov 2 20K 32K 78643K 713 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1460 91K 91K 78643K 3912 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 16 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 644 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 65K 78643K 3286 0 sigio 1 0K 0K 78643K 187 0 proc 60 59K 83K 78643K 862 0 subproc 104 6K 6K 78643K 221 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 170 0 in_multi 86 5K 6K 78643K 277 0 ether_multi 1 0K 0K 78643K 22 0 mrt 1 0K 0K 78643K 16 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 157 705K 705K 78643K 157 0 exec 0 0K 1K 78643K 943 0 pfkey data 0 0K 0K 78643K 7 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 310 87K 101K 78643K 22684 0 UVM aobj 71 3K 3K 78643K 74 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 77 0 NDP 14 0K 1K 78643K 121 0 temp 137 5770K 71434K 78643K 44290 0 kqueue 13 20K 26K 78643K 330 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 431 0 428 8 5 3 3 0 8 2 rtentry 112 294 0 201 4 0 4 4 0 8 0 unpcb 144 3114 0 3099 35 29 6 9 0 8 5 syncache 296 37 0 37 6 5 1 1 0 8 1 tcpqe 32 160 47 160 2 2 0 1 0 8 0 tcpcb 776 4346 0 4335 46 41 5 15 0 8 3 arp 88 45 0 28 1 0 1 1 0 8 0 ipq 40 5 0 5 3 3 0 1 0 8 0 ipqe 40 47 0 47 3 3 0 1 0 8 0 inpcb 336 6993 0 6974 52 44 8 13 0 8 5 nd6 48 54 0 32 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 2 0 1 0 8 0 kcovpl 48 17 0 9 1 0 1 1 0 8 0 ppxss 1160 113 0 111 7 6 1 1 0 8 0 pppxif 1360 91 0 89 5 4 1 1 0 8 0 pfosfp 40 4 0 3 1 0 1 1 0 8 0 pfosfpen 112 4 0 2 1 0 1 1 0 8 0 pfanchor 1280 764 0 386 40 3 37 37 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 2 3 2 1 2 0 8 0 art_heap4 256 1275 0 880 34 7 27 31 0 8 0 art_table 32 1278 0 882 4 0 4 4 0 8 0 art_node 16 286 0 207 1 0 1 1 0 8 0 sysvmsgpl 40 82 0 42 2 1 1 1 0 8 0 semapl 112 642 0 632 1 0 1 1 0 8 0 shmpl 112 71 0 3 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5987 0 4548 91 0 91 91 0 8 0 ffsino 240 5987 0 4548 87 1 86 86 0 8 0 nchpl 144 10712 0 9073 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 39200 0 39199 3 2 1 3 0 8 0 vmpool 664 19 0 19 5 4 1 1 0 8 1 kstatmem 264 170 0 142 2 0 2 2 0 8 0 scxspl 216 30897 0 30897 16 14 2 8 0 8 2 plimitpl 152 515 0 500 1 0 1 1 0 8 0 sigapl 424 3583 0 3518 9 1 8 8 0 8 0 futexpl 64 38142 0 38141 1 0 1 1 0 8 0 knotepl 120 67016 0 66938 30 23 7 11 0 8 4 kqueuepl 184 834 0 825 10 9 1 4 0 8 0 pipepl 288 878 0 851 16 13 3 7 0 8 0 fdescpl 432 3545 0 3520 5 1 4 4 0 8 0 filepl 120 29491 0 29253 46 34 12 17 0 8 3 lockfpl 104 1407 0 1405 5 3 2 2 0 8 1 lockfspl 48 431 0 429 1 0 1 1 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 46 0 30 1 0 1 1 0 8 0 ucredpl 104 3499 0 3488 1 0 1 1 0 8 0 zombiepl 144 3522 0 3518 1 0 1 1 0 8 0 processpl 1008 3583 0 3518 11 2 9 9 0 8 0 procpl 696 8539 0 8457 11 2 9 10 0 8 0 sosppl 168 79 0 78 2 1 1 1 0 8 0 sockpl 456 10549 0 10516 248 235 13 34 0 8 8 mcl64k 65536 110 0 110 3 2 1 1 0 8 1 mcl16k 16384 59 0 59 5 4 1 1 0 8 1 mcl12k 12288 135 0 135 5 4 1 1 0 8 1 mcl9k 9216 56 0 56 5 5 0 1 0 8 0 mcl8k 8192 222 0 222 3 2 1 1 0 8 1 mcl4k 4096 375 0 375 4 3 1 1 0 8 1 mcl2k2 2112 23 0 23 5 4 1 1 0 8 1 mcl2k 2048 84362 0 84286 40 29 11 32 0 8 0 mtagpl 96 644 0 320 11 2 9 10 0 8 0 mbufpl 256 178750 0 178175 482 439 43 240 0 8 2 bufpl 288 9989 0 3595 459 1 458 458 0 8 0 anonpl 24 759984 0 742651 163 44 119 137 0 188 0 amapchunkpl 152 64818 0 64142 50 21 29 40 0 158 0 amappl16 200 9854 0 9193 84 48 36 51 0 8 0 amappl15 192 7 0 6 1 0 1 1 0 8 0 amappl14 184 178 0 165 2 1 1 2 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 511 0 505 1 0 1 1 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 41 0 32 1 0 1 1 0 8 0 amappl9 144 970 0 969 2 1 1 1 0 8 0 amappl8 136 272 0 193 3 0 3 3 0 8 0 amappl7 128 170 0 149 2 0 2 2 0 8 0 amappl6 120 224 0 212 2 1 1 2 0 8 0 amappl5 112 194 0 188 1 0 1 1 0 8 0 amappl4 104 674 0 647 2 1 1 2 0 8 0 amappl3 96 9801 0 9751 3 1 2 2 0 8 0 amappl2 88 4094 0 4022 3 0 3 3 0 8 0 amappl1 80 81920 0 81229 31 15 16 26 0 8 0 amappl 88 21980 0 21810 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 73 0 3 2 0 2 2 0 8 0 uaddrrnd 24 3564 0 3539 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3564 0 3539 1 0 1 1 0 8 0 vmmpekpl 168 30675 0 30623 4 1 3 3 0 8 0 vmmpepl 168 333321 0 330640 202 63 139 150 0 357 8 vmsppl 344 3563 0 3539 4 1 3 3 0 8 0 rwobjpl 24 94728 0 86972 50 1 49 49 0 8 0 pdppl 4096 7134 0 7078 198 134 64 64 0 8 8 pvpl 32 1488154 0 1465607 363 165 198 333 0 265 0 pmappl 216 3563 0 3539 3 1 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1491 0 689 28 3 25 27 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82722f34) at panic+0x161 sys/kern/subr_prf.c:198 __assert(ffffffff827a0c78,ffffffff8275fee9,3b2,ffffffff827780fb) at __assert+0x25 sys/kern/subr_prf.c:157 rtrequest(1,ffff80002e913fe0,8,ffff80002e9140a8,0) at rtrequest+0xc17 sys/net/route.c:946 rt_ifa_add(ffff800000cb5500,40004,ffff800000cb5568,0) at rt_ifa_add+0x260 sys/net/route.c:1126 in_ifinit(ffff80002173b588,ffff800000cb5500,ffff80002e9141d0,1) at in_ifinit+0x3af pppx_add_session(ffff800000cb5200,ffff800000e02400) at pppx_add_session+0x34e sys/net/if_pppx.c:731 VOP_IOCTL(fffffd80721a9388,82907003,ffff800000e02400,1,fffffd807f7d78f0,ffff80002e863610) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80072ef630,82907003,ffff800000e02400,ffff80002e863610) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002e863610,ffff80002e914518,ffff80002e914560) at sys_ioctl+0x49e syscall(ffff80002e9145e0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x53b29e45d30, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82722f34) at panic+0x161 sys/kern/subr_prf.c:198 __assert(ffffffff827a0c78,ffffffff8275fee9,3b2,ffffffff827780fb) at __assert+0x25 sys/kern/subr_prf.c:157 rtrequest(1,ffff80002e913fe0,8,ffff80002e9140a8,0) at rtrequest+0xc17 sys/net/route.c:946 rt_ifa_add(ffff800000cb5500,40004,ffff800000cb5568,0) at rt_ifa_add+0x260 sys/net/route.c:1126 in_ifinit(ffff80002173b588,ffff800000cb5500,ffff80002e9141d0,1) at in_ifinit+0x3af pppx_add_session(ffff800000cb5200,ffff800000e02400) at pppx_add_session+0x34e sys/net/if_pppx.c:731 VOP_IOCTL(fffffd80721a9388,82907003,ffff800000e02400,1,fffffd807f7d78f0,ffff80002e863610) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80072ef630,82907003,ffff800000e02400,ffff80002e863610) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002e863610,ffff80002e914518,ffff80002e914560) at sys_ioctl+0x49e syscall(ffff80002e9145e0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x53b29e45d30, count: -12