þ$q¦<Üá¸dÆÉ ãÞMÂfuûô.Pó‹_T±Ø½“<“7ŒÜGÕU·/ø]¨ƒJ)ÉTU.„. Úø¬2;H„ûÖÉvëù#·¬¿?ðjÀ3euùK²Ì©€ü V" ënßð=ý»Š¤þ$q¦<Üá¸dÆÉ ãÞMÂfuûô.Pó‹_T±Ø½“<“7ŒÜGÕU·/ø]¨ƒJ)ÉTU.„. Úø¬2;H„ûÖÉvëù#·¬¿?ðjÀ3euùK²Ì©€ü V" ënßð=ý»Š¤panic: kernel diagnostic assertion "cifp != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/net/route.c", line 951 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *212746 16035 0 0 0x4000000 1K syz-executor.0 96144 14151 0 0 0 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 __assert(ffffffff82205f9e,ffffffff821d0b37,3b7,ffffffff821e6def) at __assert+0x2b sys/kern/subr_prf.c:154 rtrequest(1,ffff800021ba6c88,4,ffff800021ba6d58,0) at rtrequest+0xbf1 sys/net/route.c:951 rt_ifa_add(ffff800000a48900,840100,ffff800000a48958,0) at rt_ifa_add+0x290 sys/net/route.c:1133 in_ifinit(ffff800000b2e000,ffff800000a48900,ffff800021ba7060,1) at in_ifinit+0x37a in_insert_prefix sys/netinet/in.c:717 [inline] in_ifinit(ffff800000b2e000,ffff800000a48900,ffff800021ba7060,1) at in_ifinit+0x37a sys/netinet/in.c:648 in_ioctl_change_ifaddr(8040691a,ffff800021ba7050,ffff800000b2e000,1) at in_ioctl_change_ifaddr+0x5de sys/netinet/in.c:452 in_ioctl(8040691a,ffff800021ba7050,ffff800000b2e000,1) at in_ioctl+0x205 sys/netinet/in.c:234 ifioctl(fffffd807d557048,8040691a,ffff800021ba7050,ffff800020ab0290) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020ab0290,ffff800021ba7168,ffff800021ba71b0) at sys_ioctl+0x5b9 syscall(ffff800021ba7230) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021ba7230) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,d7f451c9010) at Xsyscall+0x128 end of kernel end trace frame: 0xd817f29ce30, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel diagnostic assertion "cifp != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/net/route.c", line 951 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 __assert(ffffffff82205f9e,ffffffff821d0b37,3b7,ffffffff821e6def) at __assert+0x2b sys/kern/subr_prf.c:154 rtrequest(1,ffff800021ba6c88,4,ffff800021ba6d58,0) at rtrequest+0xbf1 sys/net/route.c:951 rt_ifa_add(ffff800000a48900,840100,ffff800000a48958,0) at rt_ifa_add+0x290 sys/net/route.c:1133 in_ifinit(ffff800000b2e000,ffff800000a48900,ffff800021ba7060,1) at in_ifinit+0x37a in_insert_prefix sys/netinet/in.c:717 [inline] in_ifinit(ffff800000b2e000,ffff800000a48900,ffff800021ba7060,1) at in_ifinit+0x37a sys/netinet/in.c:648 in_ioctl_change_ifaddr(8040691a,ffff800021ba7050,ffff800000b2e000,1) at in_ioctl_change_ifaddr+0x5de sys/netinet/in.c:452 in_ioctl(8040691a,ffff800021ba7050,ffff800000b2e000,1) at in_ioctl+0x205 sys/netinet/in.c:234 ifioctl(fffffd807d557048,8040691a,ffff800021ba7050,ffff800020ab0290) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020ab0290,ffff800021ba7168,ffff800021ba71b0) at sys_ioctl+0x5b9 syscall(ffff800021ba7230) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021ba7230) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,d7f451c9010) at Xsyscall+0x128 end of kernel end trace frame: 0xd817f29ce30, count: -12 ddb{1}> show registers rdi 0xffffffff81c952f7 db_enter+0x17 rsi 0x3cb0 __ALIGN_SIZE+0x2cb0 rbp 0xffff800021ba6aa0 rbx 0xffff800021ba6b50 rdx 0x3cb1 __ALIGN_SIZE+0x2cb1 rcx 0xffff800023b8c000 rax 0xffff800023b8c000 r8 0xffffffff8199ba8f kprintf+0x16f r9 0x1 r10 0x25 r11 0x25431d430d17b62f r12 0x3000000008 r13 0xffff800021ba6ab0 r14 0x100 r15 0x1 rip 0xffffffff81c952f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021ba6a90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=212746 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0c70,0xffffffff8263f188 process=0xffff800020add500 user=0xffff800021ba2000, vmspace=0xfffffd807f00ba10 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 16035 442739 38823 0 2 0 syz-executor.0 *16035 212746 38823 0 7 0x4000000 syz-executor.0 14151 96144 15581 0 7 0 syz-executor.1 14151 214228 15581 0 2 0x4000000 syz-executor.1 15581 115991 98993 0 3 0x82 nanosleep syz-executor.1 60157 441160 1 0 3 0x100083 ttyin getty 38823 40582 98993 0 3 0x82 nanosleep syz-executor.0 74545 329053 0 0 3 0x14200 acct acct 88531 143594 0 0 3 0x14200 bored sosplice 98993 484576 60982 0 3 0x82 thrsleep syz-fuzzer 98993 267456 60982 0 3 0x4000082 thrsleep syz-fuzzer 98993 218252 60982 0 3 0x4000082 thrsleep syz-fuzzer 98993 240815 60982 0 3 0x4000082 thrsleep syz-fuzzer 98993 228343 60982 0 3 0x4000082 thrsleep syz-fuzzer 98993 141674 60982 0 3 0x4000082 thrsleep syz-fuzzer 98993 134818 60982 0 3 0x4000082 thrsleep syz-fuzzer 98993 413276 60982 0 3 0x4000082 kqread syz-fuzzer 98993 470734 60982 0 3 0x4000082 thrsleep syz-fuzzer 98993 245649 60982 0 3 0x4000082 thrsleep syz-fuzzer 60982 346009 77456 0 3 0x10008a pause ksh 77456 298910 70798 0 3 0x92 select sshd 70798 291240 1 0 3 0x80 select sshd 26558 488927 56659 74 3 0x100092 bpf pflogd 56659 508713 1 0 3 0x80 netio pflogd 61556 313513 96364 73 3 0x100090 kqread syslogd 96364 343644 1 0 3 0x100082 netio syslogd 18945 399782 1 77 3 0x100090 poll dhclient 37993 437012 1 0 3 0x80 poll dhclient 7441 127440 0 0 2 0x14200 zerothread 58387 80520 0 0 3 0x14200 aiodoned aiodoned 59267 192523 0 0 3 0x14200 syncer update 40968 359821 0 0 3 0x14200 cleaner cleaner 42155 405867 0 0 3 0x14200 reaper reaper 81772 127241 0 0 3 0x14200 pgdaemon pagedaemon 85799 185621 0 0 3 0x14200 bored crynlk 83164 93498 0 0 3 0x14200 bored crypto 97900 89036 0 0 3 0x40014200 acpi0 acpi0 33474 119577 0 0 3 0x40014200 idle1 94574 323867 0 0 3 0x14200 bored softnet 90040 518554 0 0 3 0x14200 bored systqmp 99659 397933 0 0 3 0x14200 bored systq 73091 238774 0 0 3 0x40014200 bored softclock 45970 141539 0 0 3 0x40014200 idle0 496 353970 0 0 3 0x14200 bored smr 1 510966 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 16035 (syz-executor.0) thread 0xffff800020ab0290 (212746) exclusive rwlock netlock r = 0 (0xffffffff824d0138) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 in_ioctl_change_ifaddr+0x3f #2 in_ioctl+0x205 sys/netinet/in.c:234 #3 ifioctl+0xb64 sys/net/if.c:2202 #4 sys_ioctl+0x5b9 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82668f60) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9577 7205K 8110K 78643K 15155 0 0 pcb 16 9K 10K 78643K 1657 0 0 rtable 108 13K 13K 78643K 1154 0 0 ifaddr 83 17K 18K 78643K 384 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1559 0 0 iov 0 0K 16K 78643K 352 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1219 77K 77K 78643K 2729 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 3 5K 9K 78643K 20 0 0 VM map 10 5K 5K 78643K 14 0 0 sem 12 0K 1K 78643K 753 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 1573 0 0 sigio 0 0K 0K 78643K 27 0 0 proc 62 63K 95K 78643K 878 0 0 subproc 32 2K 2K 78643K 136 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 172 0 0 in_multi 24 1K 2K 78643K 224 0 0 ether_multi 1 0K 0K 78643K 25 0 0 mrt 0 0K 0K 78643K 14 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 437 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 133 55K 65K 78643K 6469 0 0 UVM aobj 106 3K 3K 78643K 111 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 1 0K 2K 78643K 995 0 0 NDP 19 0K 0K 78643K 111 0 0 temp 222 3564K 4203K 78643K 59387 0 0 kqueue 0 0K 0K 78643K 11 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 28 0 24 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 147 0 145 1 0 1 1 0 8 0 rtentry 112 194 0 158 2 0 2 2 0 8 0 unpcb 120 1337 0 1326 1 0 1 1 0 8 0 syncache 264 9 0 9 4 4 0 1 0 8 0 tcpqe 32 42 0 42 3 3 0 1 0 8 0 tcpcb 544 1064 0 1059 8 7 1 6 0 8 0 inpcb 280 4137 0 4126 10 8 2 7 0 8 1 rttmr 72 3 0 3 2 2 0 1 0 8 0 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 21 0 19 3 2 1 1 0 8 0 pkpcb 40 12 0 12 3 3 0 1 0 8 0 ppxss 1128 48 0 48 6 5 1 1 0 8 1 pffrag 232 46 0 46 5 4 1 1 0 482 1 pffrnode 88 46 0 46 5 4 1 1 0 8 1 pffrent 40 1799 0 1799 4 3 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 135 0 81 1 0 1 1 0 8 0 pfstkey 112 135 0 81 2 0 2 2 0 8 0 pfstate 328 135 0 81 5 0 5 5 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 17 0 16 6 3 3 4 0 8 2 art_heap4 256 806 0 623 21 9 12 15 0 8 0 art_table 32 823 0 639 2 0 2 2 0 8 0 art_node 16 189 0 157 1 0 1 1 0 8 0 sysvmsgpl 40 31 0 12 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 751 0 741 1 0 1 1 0 8 0 shmpl 112 109 0 5 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3850 0 2437 46 0 46 46 0 8 0 ffsino 272 3850 0 2437 96 1 95 95 0 8 0 nchpl 144 6468 0 4857 61 0 61 61 0 8 0 uvmvnodes 72 5003 0 0 91 0 91 91 0 8 0 vnodes 208 5003 0 0 264 0 264 264 0 8 0 namei 1024 21229 0 21229 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 552 12 0 4 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 19746 0 19746 11 10 1 6 0 8 1 plimitpl 152 115 0 107 1 0 1 1 0 8 0 sigapl 432 1757 0 1741 3 1 2 3 0 8 0 futexpl 56 41559 0 41559 1 0 1 1 0 8 1 knotepl 112 376 0 357 2 1 1 2 0 8 0 kqueuepl 104 390 0 388 1 0 1 1 0 8 0 pipepl 112 1016 0 997 2 1 1 2 0 8 0 fdescpl 488 1758 0 1741 3 0 3 3 0 8 0 filepl 152 15630 0 15520 14 9 5 9 0 8 0 lockfpl 104 587 0 585 1 0 1 1 0 8 0 lockfspl 48 198 0 196 1 0 1 1 0 8 0 sessionpl 112 26 0 15 1 0 1 1 0 8 0 pgrppl 48 38 0 27 1 0 1 1 0 8 0 ucredpl 96 1572 0 1563 1 0 1 1 0 8 0 zombiepl 144 1741 0 1741 1 0 1 1 0 8 1 processpl 896 1775 0 1741 4 0 4 4 0 8 0 procpl 632 5325 0 5280 5 0 5 5 0 8 1 srpgc 64 6 0 6 1 1 0 1 0 8 0 sosppl 128 24 0 24 7 6 1 1 0 8 1 sockpl 384 5668 0 5644 16 12 4 11 0 8 1 mcl64k 65536 19 0 0 3 0 3 3 0 8 0 mcl16k 16384 12 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 11 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 169 0 0 20 0 20 20 0 8 0 mtagpl 80 27 0 0 1 0 1 1 0 8 0 mbufpl 256 407 0 0 24 0 24 24 0 8 0 bufpl 256 10368 0 3320 441 0 441 441 0 8 0 anonpl 16 215447 0 199690 129 42 87 95 0 124 9 amapchunkpl 152 12014 0 11862 35 24 11 15 0 158 2 amappl16 192 9740 0 8700 111 56 55 65 0 8 1 amappl15 184 504 0 502 2 1 1 1 0 8 0 amappl14 176 254 0 250 1 0 1 1 0 8 0 amappl13 168 220 0 220 1 0 1 1 0 8 1 amappl12 160 10 0 8 1 0 1 1 0 8 0 amappl11 152 167 0 152 1 0 1 1 0 8 0 amappl10 144 289 0 280 1 0 1 1 0 8 0 amappl9 136 903 0 897 1 0 1 1 0 8 0 amappl8 128 471 0 432 2 0 2 2 0 8 0 amappl7 120 353 0 341 1 0 1 1 0 8 0 amappl6 112 169 0 159 1 0 1 1 0 8 0 amappl5 104 202 0 188 1 0 1 1 0 8 0 amappl4 96 2080 0 2046 1 0 1 1 0 8 0 amappl3 88 562 0 557 1 0 1 1 0 8 0 amappl2 80 13316 0 13233 3 1 2 3 0 8 0 amappl1 72 49053 0 48595 25 15 10 20 0 8 0 amappl 80 5706 0 5652 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 110 0 5 2 0 2 2 0 8 0 uaddrrnd 24 1770 0 1741 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1770 0 1741 1 0 1 1 0 8 0 vmmpekpl 168 18842 0 18807 2 0 2 2 0 8 0 vmmpepl 168 228934 0 226607 221 83 138 170 0 357 35 vmsppl 368 1757 0 1741 2 0 2 2 0 8 0 pdppl 4096 3547 0 3498 7 0 7 7 0 8 0 pvpl 32 583620 0 564568 268 57 211 220 0 265 29 pmappl 232 1769 0 1745 3 1 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 644 0 23 18 0 18 18 0 8 0