panic: kernel diagnostic assertion "cifp != NULL" failed: file "/syzkaller/managers/main/kernel/sys/net/route.c", line 954 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 46713 1972 0 0 0x4000000 0 syz-executor.2 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8276c032) at panic+0x165 sys/kern/subr_prf.c:198 __assert(ffffffff827e8073,ffffffff827a1be3,3ba,ffffffff827b9d76) at __assert+0x29 sys/kern/subr_prf.c:157 rtrequest(1,ffff80002b3ffc58,8,ffff80002b3ffd00,0) at rtrequest+0xb67 sys/net/route.c:954 rt_ifa_add(ffff800000edf100,40004,ffff800000edf168,0) at rt_ifa_add+0x1ac sys/net/route.c:1134 in_ifinit(ffff800024a1d5a0,ffff800000edf100,ffff80002b3ffe20,1) at in_ifinit+0x3bf pppx_add_session(ffff800000edc100,ffff800000e84400) at pppx_add_session+0x35e sys/net/if_pppx.c:731 VOP_IOCTL(fffffd8060e418a0,82907003,ffff800000e84400,1,fffffd807f7d75b0,ffff8000216d55e8) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806514d4b0,82907003,ffff800000e84400,ffff8000216d55e8) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000216d55e8,ffff80002b400160,ffff80002b4001b0) at sys_ioctl+0x49e syscall(ffff80002b400230) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x36224755640, 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 954 ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8276c032) at panic+0x165 sys/kern/subr_prf.c:198 __assert(ffffffff827e8073,ffffffff827a1be3,3ba,ffffffff827b9d76) at __assert+0x29 sys/kern/subr_prf.c:157 rtrequest(1,ffff80002b3ffc58,8,ffff80002b3ffd00,0) at rtrequest+0xb67 sys/net/route.c:954 rt_ifa_add(ffff800000edf100,40004,ffff800000edf168,0) at rt_ifa_add+0x1ac sys/net/route.c:1134 in_ifinit(ffff800024a1d5a0,ffff800000edf100,ffff80002b3ffe20,1) at in_ifinit+0x3bf pppx_add_session(ffff800000edc100,ffff800000e84400) at pppx_add_session+0x35e sys/net/if_pppx.c:731 VOP_IOCTL(fffffd8060e418a0,82907003,ffff800000e84400,1,fffffd807f7d75b0,ffff8000216d55e8) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806514d4b0,82907003,ffff800000e84400,ffff8000216d55e8) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000216d55e8,ffff80002b400160,ffff80002b4001b0) at sys_ioctl+0x49e syscall(ffff80002b400230) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x36224755640, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002b3ffa60 rbx 0x10000 __ALIGN_SIZE+0xf000 rdx 0xffff800000cdfe40 rcx 0 rax 0xffff8000216d55e8 r8 0 r9 0x8080808080808080 r10 0x4c8a84c0ce6e1a0e r11 0x668a992f990fb015 r12 0 r13 0xffff80002b3ffc58 r14 0 r15 0x1 rip 0xffffffff81a12a5c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002b3ffa50 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb> show proc PROC (syz-executor.2) pid=46713 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800024b8fb90,0xffff8000216d5340 process=0xffff800024b8c7f0 user=0xffff80002b3fb000, vmspace=0xfffffd807f014168 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 41614 32597 70978 0 2 0 syz-executor.0 41614 425985 70978 0 2 0x4000000 syz-executor.0 12012 377190 32782 0 2 0 syz-executor.5 12012 256103 32782 0 3 0x4000080 fsleep syz-executor.5 94987 473339 45569 0 2 0 syz-executor.6 94987 329446 45569 0 3 0x4000080 fsleep syz-executor.6 1972 299514 33214 0 2 0 syz-executor.2 * 1972 46713 33214 0 7 0x4000000 syz-executor.2 50521 402932 58022 0 2 0x2 syz-executor.3 32782 120375 58022 0 2 0x482 syz-executor.5 33214 374350 58022 0 3 0x82 nanoslp syz-executor.2 33426 273041 58022 0 2 0x2 syz-executor.7 70978 274116 58022 0 2 0x482 syz-executor.0 45569 329661 58022 0 3 0x82 nanoslp syz-executor.6 35192 96172 0 0 3 0x14200 acct acct 10844 69682 58022 0 3 0x82 nanoslp syz-executor.1 221 361298 0 0 3 0x14280 nfsidl nfsio 2599 281286 0 0 3 0x14280 nfsidl nfsio 4936 414396 0 0 3 0x14280 nfsidl nfsio 42212 314919 0 0 3 0x14280 nfsidl nfsio 98103 36821 0 0 3 0x14280 nfsidl nfsio 36630 18580 0 0 3 0x14280 nfsidl nfsio 95338 453602 0 0 3 0x14280 nfsidl nfsio 67142 281418 0 0 3 0x14280 nfsidl nfsio 63564 62803 0 0 3 0x14280 nfsidl nfsio 46768 72953 0 0 3 0x14280 nfsidl nfsio 15967 211020 0 0 3 0x14280 nfsidl nfsio 44848 68785 0 0 3 0x14280 nfsidl nfsio 48162 49470 0 0 3 0x14280 nfsidl nfsio 96614 214382 0 0 3 0x14280 nfsidl nfsio 72134 348948 0 0 3 0x14280 nfsidl nfsio 55732 104092 0 0 3 0x14280 nfsidl nfsio 23864 258064 0 0 3 0x14280 nfsidl nfsio 15972 258028 0 0 3 0x14280 nfsidl nfsio 58945 245883 0 0 3 0x14280 nfsidl nfsio 98085 458099 0 0 3 0x14280 nfsidl nfsio 45306 390444 1 0 3 0x100083 ttyin getty 26569 434485 0 0 3 0x14200 bored sosplice 58022 67754 9271 0 3 0x82 wait syz-fuzzer 58022 516830 9271 0 3 0x4000082 thrsleep syz-fuzzer 58022 471254 9271 0 3 0x4000082 wait syz-fuzzer 58022 24208 9271 0 3 0x4000082 wait syz-fuzzer 58022 74561 9271 0 3 0x4000082 thrsleep syz-fuzzer 58022 224683 9271 0 3 0x4000082 thrsleep syz-fuzzer 58022 347673 9271 0 3 0x4000082 wait syz-fuzzer 58022 128488 9271 0 3 0x4000082 thrsleep syz-fuzzer 58022 384032 9271 0 3 0x4000082 wait syz-fuzzer 58022 11052 9271 0 3 0x4000082 wait syz-fuzzer 58022 517025 9271 0 3 0x4000082 thrsleep syz-fuzzer 58022 101107 9271 0 3 0x4000082 wait syz-fuzzer 58022 376392 9271 0 3 0x4000082 kqread syz-fuzzer 58022 477694 9271 0 3 0x4000082 wait syz-fuzzer 9271 475614 67344 0 3 0x10008a sigsusp ksh 67344 442120 57963 0 3 0x9a kqread sshd 57963 393622 1 0 3 0x88 kqread sshd 67910 510092 78032 73 2 0x1100090 syslogd 78032 4490 1 0 3 0x100082 netio syslogd 48940 469533 1 0 2 0x100080 resolvd 41103 385126 0 0 3 0x14200 bored smr 38053 265999 0 0 2 0x14200 zerothread 72611 491080 0 0 3 0x14200 aiodoned aiodoned 3899 216608 0 0 3 0x14200 syncer update 52480 99603 0 0 3 0x14200 cleaner cleaner 16484 461354 0 0 3 0x14200 reaper reaper 46553 435310 0 0 3 0x14200 pgdaemon pagedaemon 71438 56194 0 0 3 0x14200 bored viomb 47470 96334 0 0 3 0x40014200 acpi0 acpi0 30235 81794 0 0 3 0x14200 bored softnet3 9963 335123 0 0 3 0x14200 bored softnet2 25188 162958 0 0 3 0x14200 bored softnet1 6390 244699 0 0 3 0x14200 bored softnet0 41854 113764 0 0 2 0x14200 systqmp 62818 362114 0 0 3 0x14200 bored systq 52951 101004 0 0 2 0x40014200 softclock 88253 383088 0 0 3 0x40014200 idle0 1 96759 0 0 3 0x80082 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 10211 6436K 7505K 78643K 19273 0 pcb 13 24K 26K 78643K 6132 0 rtable 211 16K 17K 78643K 8657 0 ifaddr 106 35K 36K 78643K 2830 0 sysctl 3 1K 5K 78643K 19 0 counters 30 17K 17K 78643K 952 0 ioctlops 1 1K 4K 78643K 3520 0 iov 0 0K 32K 78643K 3912 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1654 103K 104K 78643K 24422 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 337 0 VM map 2 1K 1K 78643K 2 0 sem 19 28K 56K 78643K 4179 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 73K 78643K 31374 0 sigio 0 0K 0K 78643K 596 0 proc 55 43K 83K 78643K 5482 0 subproc 104 6K 7K 78643K 2005 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2169 0 in_multi 79 5K 6K 78643K 2484 0 ether_multi 1 0K 0K 78643K 193 0 mrt 1 0K 0K 78643K 147 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 259 1155K 1155K 78643K 259 0 exec 0 0K 1K 78643K 5831 0 pfkey data 0 0K 0K 78643K 8 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 442 99K 115K 78643K 285904 0 UVM aobj 131 4K 5K 78643K 146 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 1125 0 NDP 15 0K 2K 78643K 959 0 temp 141 5850K 71514K 78643K 358168 0 kqueue 6 10K 26K 78643K 3027 0 SYN cache 2 0K 16K 78643K 4 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 4713 0 4712 51 50 1 4 0 8 0 rtentry 112 2384 0 2296 8 5 3 4 0 8 0 unpcb 144 34779 0 34771 336 330 6 11 0 8 5 syncache 296 114 0 114 30 30 0 1 0 8 0 tcpqe 32 338 0 338 21 21 0 1 0 8 0 tcpcb 776 11491 0 11487 404 403 1 21 0 8 0 arp 88 394 0 378 1 0 1 1 0 8 0 ipq 40 27 0 27 14 14 0 1 0 8 0 ipqe 40 227 0 227 14 14 0 1 0 8 0 inpcb 336 34514 0 34232 604 575 29 40 0 8 4 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 10 0 10 2 2 0 1 0 8 0 nd6 104 519 0 500 1 0 1 1 0 8 0 pkpcb 40 199 0 199 22 22 0 1 0 8 0 kcovpl 48 154 0 146 1 0 1 1 0 8 0 mppekey 1024 44 0 44 8 8 0 1 0 8 0 ppxss 1160 510 0 508 64 63 1 1 0 8 0 pppxif 1360 235 0 233 33 32 1 1 0 8 0 pfstscr 40 12 0 12 2 2 0 1 0 8 0 pfanchor 1288 917 9 405 48 5 43 43 0 8 0 pfstkey 128 20 0 20 2 2 0 1 0 8 0 pfstate 352 12 0 12 2 2 0 1 0 8 0 rttmr 136 37 0 37 11 11 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 10522 0 10138 126 100 26 33 0 8 0 art_table 32 10524 0 10139 7 3 4 5 0 8 0 art_node 16 2328 0 2253 1 0 1 1 0 8 0 sysvmsgpl 40 230 0 212 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 4166 0 4149 1 0 1 1 0 8 0 shmpl 112 143 0 15 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 52805 0 51230 99 0 99 99 0 8 0 ffsino 240 52805 0 51230 93 0 93 93 0 8 0 nchpl 144 95149 0 94654 63 42 21 63 0 8 0 rtmask 32 9 0 9 3 3 0 1 0 8 0 uvmvnodes 80 8561 0 0 175 0 175 175 0 8 0 vnodes 216 8561 0 0 476 0 476 476 0 8 0 namei 1024 384851 0 384849 23 22 1 3 0 8 0 kstatmem 264 1246 0 1216 3 0 3 3 0 8 0 scsiplug 72 12 0 12 3 3 0 1 0 8 0 scxspl 216 266242 0 266242 56 55 1 8 0 8 1 plimitpl 152 4575 0 4561 1 0 1 1 0 8 0 sigapl 424 31448 0 31387 16 8 8 8 0 8 0 futexpl 64 351517 0 351515 14 13 1 1 0 8 0 knotepl 120 526562 0 526500 349 342 7 15 0 8 3 kqueuepl 184 6788 0 6783 88 84 4 7 0 8 3 pipepl 288 7263 0 7236 141 138 3 7 0 8 0 fdescpl 432 31357 0 31335 4 1 3 4 0 8 0 filepl 120 292657 0 292439 465 452 13 20 0 8 6 lockfpl 104 7404 0 7403 19 18 1 2 0 8 0 lockfspl 48 1908 0 1907 1 0 1 1 0 8 0 sessionpl 144 170 0 155 1 0 1 1 0 8 0 pgrppl 48 781 0 766 1 0 1 1 0 8 0 ucredpl 104 87034 0 87003 1 0 1 1 0 8 0 zombiepl 144 31389 0 31387 4 3 1 1 0 8 0 processpl 1008 31448 0 31387 15 6 9 9 0 8 0 procpl 696 77264 0 77186 56 47 9 10 0 8 1 sosppl 168 786 0 786 57 57 0 1 0 8 0 sockpl 456 74307 0 74016 1756 1703 53 68 0 8 15 mcl64k 65536 1537 0 1537 73 72 1 1 0 8 1 mcl16k 16384 827 0 827 97 96 1 1 0 8 1 mcl12k 12288 1457 0 1457 83 82 1 1 0 8 1 mcl9k 9216 672 0 672 87 86 1 1 0 8 1 mcl8k 8192 3492 0 3492 45 44 1 1 0 8 1 mcl4k 4096 3508 0 3508 32 31 1 1 0 8 1 mcl2k2 2112 171 0 171 80 79 1 1 0 8 1 mcl2k 2048 150094 0 150055 108 101 7 27 0 8 0 mtagpl 96 308 0 308 12 12 0 2 0 8 0 mbufpl 256 613410 0 613317 2267 2255 12 211 0 8 0 bufpl 288 57223 0 48653 613 0 613 613 0 8 0 anonpl 24 2866096 0 2851785 270 153 117 156 0 188 0 amapchunkpl 152 938177 0 937369 261 222 39 67 0 158 0 amappl16 200 46828 0 46299 109 78 31 42 0 8 0 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 598 0 588 2 1 1 2 0 8 0 amappl13 176 40 0 40 10 10 0 1 0 8 0 amappl12 168 34176 0 34151 2 0 2 2 0 8 0 amappl11 160 57 0 53 1 0 1 1 0 8 0 amappl10 152 246 0 235 1 0 1 1 0 8 0 amappl9 144 315 0 315 72 71 1 2 0 8 1 amappl8 136 1579 0 1382 9 2 7 7 0 8 0 amappl7 128 195 0 177 1 0 1 1 0 8 0 amappl6 120 1498 0 1471 2 1 1 2 0 8 0 amappl5 112 1321 0 1317 1 0 1 1 0 8 0 amappl4 104 3277 0 3243 5 3 2 2 0 8 0 amappl3 96 178028 0 177963 3 0 3 3 0 8 0 amappl2 88 33877 0 33826 4 2 2 3 0 8 0 amappl1 80 129104 0 128704 22 11 11 22 0 8 0 amappl 88 283447 0 283227 7 0 7 7 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 145 0 15 3 0 3 3 0 8 0 uaddrrnd 24 31357 0 31335 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 31357 0 31335 1 0 1 1 0 8 0 vmmpekpl 168 220709 0 220655 3 0 3 3 0 8 0 vmmpepl 168 1891525 0 1889368 577 438 139 139 0 357 12 vmsppl 360 31356 0 31335 3 0 3 3 0 8 0 rwobjpl 24 414967 0 404768 69 7 62 63 0 8 0 pdppl 4096 62720 0 62670 2158 2100 58 66 0 8 8 pvpl 32 8518545 0 8499225 728 534 194 334 0 265 0 pmappl 216 31356 0 31335 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 6528 0 5577 34 5 29 29 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8276c032) at panic+0x165 sys/kern/subr_prf.c:198 __assert(ffffffff827e8073,ffffffff827a1be3,3ba,ffffffff827b9d76) at __assert+0x29 sys/kern/subr_prf.c:157 rtrequest(1,ffff80002b3ffc58,8,ffff80002b3ffd00,0) at rtrequest+0xb67 sys/net/route.c:954 rt_ifa_add(ffff800000edf100,40004,ffff800000edf168,0) at rt_ifa_add+0x1ac sys/net/route.c:1134 in_ifinit(ffff800024a1d5a0,ffff800000edf100,ffff80002b3ffe20,1) at in_ifinit+0x3bf pppx_add_session(ffff800000edc100,ffff800000e84400) at pppx_add_session+0x35e sys/net/if_pppx.c:731 VOP_IOCTL(fffffd8060e418a0,82907003,ffff800000e84400,1,fffffd807f7d75b0,ffff8000216d55e8) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806514d4b0,82907003,ffff800000e84400,ffff8000216d55e8) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000216d55e8,ffff80002b400160,ffff80002b4001b0) at sys_ioctl+0x49e syscall(ffff80002b400230) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x36224755640, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8276c032) at panic+0x165 sys/kern/subr_prf.c:198 __assert(ffffffff827e8073,ffffffff827a1be3,3ba,ffffffff827b9d76) at __assert+0x29 sys/kern/subr_prf.c:157 rtrequest(1,ffff80002b3ffc58,8,ffff80002b3ffd00,0) at rtrequest+0xb67 sys/net/route.c:954 rt_ifa_add(ffff800000edf100,40004,ffff800000edf168,0) at rt_ifa_add+0x1ac sys/net/route.c:1134 in_ifinit(ffff800024a1d5a0,ffff800000edf100,ffff80002b3ffe20,1) at in_ifinit+0x3bf pppx_add_session(ffff800000edc100,ffff800000e84400) at pppx_add_session+0x35e sys/net/if_pppx.c:731 VOP_IOCTL(fffffd8060e418a0,82907003,ffff800000e84400,1,fffffd807f7d75b0,ffff8000216d55e8) at VOP_IOCTL+0x91 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806514d4b0,82907003,ffff800000e84400,ffff8000216d55e8) at vn_ioctl+0xbb sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000216d55e8,ffff80002b400160,ffff80002b4001b0) at sys_ioctl+0x49e syscall(ffff80002b400230) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x36224755640, count: -12