0aK= %;T{;uyEoGT (>qj9?|M_16%P (5:panic: kernel diagnostic assertion "ifa == rt->rt_ifa" failed: file "/syzkaller/managers/multicore/kernel/sys/netinet6/nd6.c", line 947 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 70532 35518 0 0 0x4000000 1K syz-executor.1 145813 11505 0 0 0x4000080 0 syz-executor.0 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(ffffffff82206dec,ffffffff821fd7ce,3b3,ffffffff821bf451) at __assert+0x2b sys/kern/subr_prf.c:154 nd6_rtrequest(ffff800000a94800,1,fffffd8065f7bee8) at nd6_rtrequest+0xbb4 sys/netinet6/nd6.c:947 rtrequest(1,ffff800023b9a998,1,ffff800023b9aa68,0) at rtrequest+0x9bf sys/net/route.c:973 rt_ifa_add(ffff800000afdf00,240404,ffff800000afdf58,0) at rt_ifa_add+0x290 sys/net/route.c:1133 rt_ifa_addlocal(ffff800000afdf00) at rt_ifa_addlocal+0x16d sys/net/route.c:1242 in_ifinit(ffff800000a94800,ffff800000afdf00,ffff800023b9ad90,1) at in_ifinit+0x1cf sys/netinet/in.c:614 in_ioctl_sifaddr(8020690c,ffff800023b9ad80,ffff800000a94800,1) at in_ioctl_sifaddr+0x208 sys/netinet/in.c:360 in_ioctl(8020690c,ffff800023b9ad80,ffff800000a94800,1) at in_ioctl+0x1e7 sys/netinet/in.c:231 ifioctl(fffffd806b187310,8020690c,ffff800023b9ad80,ffff800020ab09f8) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020ab09f8,ffff800023b9ae98,ffff800023b9aee0) at sys_ioctl+0x5b9 syscall(ffff800023b9af60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023b9af60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,b1fff8fa010) at Xsyscall+0x128 end of kernel end trace frame: 0xb221229cf40, count: 1 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 "ifa == rt->rt_ifa" failed: file "/syzkaller/managers/multicore/kernel/sys/netinet6/nd6.c", line 947 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(ffffffff82206dec,ffffffff821fd7ce,3b3,ffffffff821bf451) at __assert+0x2b sys/kern/subr_prf.c:154 nd6_rtrequest(ffff800000a94800,1,fffffd8065f7bee8) at nd6_rtrequest+0xbb4 sys/netinet6/nd6.c:947 rtrequest(1,ffff800023b9a998,1,ffff800023b9aa68,0) at rtrequest+0x9bf sys/net/route.c:973 rt_ifa_add(ffff800000afdf00,240404,ffff800000afdf58,0) at rt_ifa_add+0x290 sys/net/route.c:1133 rt_ifa_addlocal(ffff800000afdf00) at rt_ifa_addlocal+0x16d sys/net/route.c:1242 in_ifinit(ffff800000a94800,ffff800000afdf00,ffff800023b9ad90,1) at in_ifinit+0x1cf sys/netinet/in.c:614 in_ioctl_sifaddr(8020690c,ffff800023b9ad80,ffff800000a94800,1) at in_ioctl_sifaddr+0x208 sys/netinet/in.c:360 in_ioctl(8020690c,ffff800023b9ad80,ffff800000a94800,1) at in_ioctl+0x1e7 sys/netinet/in.c:231 ifioctl(fffffd806b187310,8020690c,ffff800023b9ad80,ffff800020ab09f8) at ifioctl+0xb64 sys/net/if.c:2202 sys_ioctl(ffff800020ab09f8,ffff800023b9ae98,ffff800023b9aee0) at sys_ioctl+0x5b9 syscall(ffff800023b9af60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023b9af60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,b1fff8fa010) at Xsyscall+0x128 end of kernel end trace frame: 0xb221229cf40, count: -14 ddb{1}> show registers rdi 0xffffffff8195ee37 db_enter+0x17 rsi 0x4cca __ALIGN_SIZE+0x3cca rbp 0xffff800023b9a6d0 rbx 0xffff800023b9a780 rdx 0x4ccb __ALIGN_SIZE+0x3ccb rcx 0xffff800021b66000 rax 0xffff800021b66000 r8 0xffffffff819b183f kprintf+0x16f r9 0x1 r10 0x25 r11 0x1b1007eac30fe1c3 r12 0x3000000008 r13 0xffff800023b9a6e0 r14 0x100 r15 0x1 rip 0xffffffff8195ee38 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023b9a6c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=70532 stat=onproc flags process=0 proc=4000000 pri=71, usrpri=71, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0508,0xffff800020ab0028 process=0xffff800020adca80 user=0xffff800023b96000, vmspace=0xfffffd807f00bb80 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 35518 176139 54897 0 2 0 syz-executor.1 *35518 70532 54897 0 7 0x4000000 syz-executor.1 11505 148821 81624 0 2 0 syz-executor.0 11505 145813 81624 0 7 0x4000080 syz-executor.0 11505 523080 81624 0 3 0x4000080 fsleep syz-executor.0 54897 62886 75005 0 3 0x82 nanosleep syz-executor.1 50376 226263 0 0 3 0x14200 bored sosplice 81624 385239 75005 0 3 0x82 nanosleep syz-executor.0 75005 384879 29499 0 3 0x82 kqread syz-fuzzer 75005 383656 29499 0 3 0x4000082 nanosleep syz-fuzzer 75005 103347 29499 0 3 0x4000082 thrsleep syz-fuzzer 75005 459 29499 0 3 0x4000082 thrsleep syz-fuzzer 75005 155486 29499 0 3 0x4000082 thrsleep syz-fuzzer 75005 186573 29499 0 3 0x4000082 thrsleep syz-fuzzer 75005 246874 29499 0 3 0x4000082 thrsleep syz-fuzzer 75005 446360 29499 0 3 0x4000082 thrsleep syz-fuzzer 75005 386510 29499 0 3 0x4000082 thrsleep syz-fuzzer 75005 519030 29499 0 3 0x4000082 thrsleep syz-fuzzer 29499 203753 89792 0 3 0x10008a pause ksh 89792 203705 64571 0 3 0x92 select sshd 78323 459080 1 0 3 0x100083 ttyin getty 64571 247218 1 0 3 0x80 select sshd 4136 457330 55766 74 3 0x100092 bpf pflogd 55766 384775 1 0 3 0x80 netio pflogd 19728 15597 39764 73 3 0x100090 kqread syslogd 39764 43646 1 0 3 0x100082 netio syslogd 75967 69571 1 77 3 0x100090 poll dhclient 45642 235524 1 0 3 0x80 poll dhclient 8828 230480 0 0 2 0x14200 zerothread 83234 319251 0 0 3 0x14200 aiodoned aiodoned 7674 474585 0 0 3 0x14200 syncer update 58842 56261 0 0 3 0x14200 cleaner cleaner 8696 502167 0 0 3 0x14200 reaper reaper 4162 76500 0 0 3 0x14200 pgdaemon pagedaemon 5969 95796 0 0 3 0x14200 bored crynlk 61946 45711 0 0 3 0x14200 bored crypto 48824 315271 0 0 3 0x40014200 acpi0 acpi0 4818 279787 0 0 3 0x40014200 idle1 68622 161951 0 0 3 0x14200 bored softnet 92266 94001 0 0 3 0x14200 bored systqmp 25394 274152 0 0 3 0x14200 bored systq 84414 171942 0 0 3 0x40014200 bored softclock 67133 407353 0 0 3 0x40014200 idle0 47651 308959 0 0 3 0x14200 bored smr 1 246535 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 35518 (syz-executor.1) thread 0xffff800020ab09f8 (70532) exclusive rwlock netlock r = 0 (0xffffffff82478e48) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 in_ioctl_sifaddr+0x69 #2 in_ioctl+0x1e7 sys/netinet/in.c:231 #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 (0xffffffff8263e9d8) #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 9542 6664K 7107K 78643K 11307 0 0 pcb 13 8K 8K 78643K 100 0 0 rtable 79 3K 4K 78643K 416 0 0 ifaddr 56 12K 13K 78643K 124 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1484 0 0 iov 0 0K 16K 78643K 41 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1223 77K 77K 78643K 1547 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 4 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 187 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 307 0 0 sigio 0 0K 0K 78643K 1 0 0 proc 60 63K 95K 78643K 534 0 0 subproc 32 2K 2K 78643K 68 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 55 0 0 in_multi 13 0K 2K 78643K 88 0 0 ether_multi 1 0K 0K 78643K 12 0 0 mrt 1 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 102 450K 450K 78643K 102 0 0 exec 0 0K 1K 78643K 269 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 120 22K 23K 78643K 2081 0 0 UVM aobj 75 3K 3K 78643K 75 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 2K 78643K 99 0 0 NDP 12 0K 0K 78643K 36 0 0 temp 164 3557K 3623K 78643K 19066 0 0 kqueue 0 0K 0K 78643K 2 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 9 0 6 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 48 0 45 1 0 1 1 0 8 0 rtentry 112 75 0 47 2 0 2 2 0 8 0 unpcb 120 168 0 155 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 73 0 73 1 1 0 1 0 8 0 tcpcb 544 205 0 200 1 0 1 1 0 8 0 inpcb 280 512 0 502 3 1 2 2 0 8 1 nd6 48 15 0 13 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 ppxss 1128 8 0 8 3 2 1 1 0 8 1 pffrag 232 5 0 5 3 2 1 1 0 482 1 pffrnode 88 5 0 5 3 2 1 1 0 8 1 pffrent 40 227 0 227 3 2 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 40 0 7 1 0 1 1 0 8 0 pfstkey 112 40 0 7 1 0 1 1 0 8 0 pfstate 328 40 0 7 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 433 0 283 15 3 12 14 0 8 2 art_table 32 434 0 283 2 0 2 2 0 8 0 art_node 16 74 0 48 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 30 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 185 0 175 1 0 1 1 0 8 0 shmpl 112 73 0 0 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1932 0 525 46 0 46 46 0 8 0 ffsino 272 1932 0 525 95 0 95 95 0 8 0 nchpl 144 2552 0 948 61 0 61 61 0 8 0 uvmvnodes 72 2152 0 0 40 0 40 40 0 8 0 vnodes 208 2152 0 0 114 0 114 114 0 8 0 namei 1024 8390 0 8390 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 6929 0 6929 10 8 2 7 0 8 2 plimitpl 152 43 0 35 1 0 1 1 0 8 0 sigapl 432 501 0 485 3 1 2 3 0 8 0 futexpl 56 7480 0 7479 1 0 1 1 0 8 0 knotepl 112 121 0 102 1 0 1 1 0 8 0 kqueuepl 104 42 0 40 1 0 1 1 0 8 0 pipepl 112 284 0 265 1 0 1 1 0 8 0 fdescpl 488 502 0 485 3 0 3 3 0 8 0 filepl 152 4251 0 4145 7 1 6 6 0 8 1 lockfpl 104 219 0 218 1 0 1 1 0 8 0 lockfspl 48 58 0 57 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 1207 0 1198 1 0 1 1 0 8 0 zombiepl 144 485 0 485 2 1 1 1 0 8 1 processpl 896 518 0 485 4 0 4 4 0 8 0 procpl 632 1220 0 1175 6 1 5 5 0 8 1 srpgc 64 6 0 6 3 3 0 1 0 8 0 sosppl 128 6 0 6 2 1 1 1 0 8 1 sockpl 384 746 0 720 5 1 4 4 0 8 1 mcl64k 65536 257 0 0 33 0 33 33 0 8 1 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 162 0 0 20 0 20 20 0 8 0 mtagpl 80 27 0 0 1 0 1 1 0 8 0 mbufpl 256 405 0 0 24 0 24 24 0 8 0 bufpl 256 6827 0 1315 345 0 345 345 0 8 0 anonpl 16 74716 0 55984 85 8 77 81 0 124 0 amapchunkpl 152 3129 0 2973 11 4 7 10 0 158 0 amappl16 192 2599 0 1548 65 11 54 65 0 8 1 amappl14 176 40 0 39 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 126 0 121 1 0 1 1 0 8 0 amappl11 152 158 0 140 1 0 1 1 0 8 0 amappl10 144 13 0 8 1 0 1 1 0 8 0 amappl9 136 648 0 641 1 0 1 1 0 8 0 amappl8 128 195 0 166 2 0 2 2 0 8 0 amappl7 120 50 0 44 1 0 1 1 0 8 0 amappl6 112 181 0 168 1 0 1 1 0 8 0 amappl5 104 265 0 249 1 0 1 1 0 8 0 amappl4 96 641 0 610 1 0 1 1 0 8 0 amappl3 88 238 0 232 1 0 1 1 0 8 0 amappl2 80 2966 0 2888 3 1 2 3 0 8 0 amappl1 72 21332 0 20860 26 16 10 20 0 8 0 amappl 80 1504 0 1456 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 74 0 0 2 0 2 2 0 8 0 uaddrrnd 24 502 0 485 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 502 0 485 1 0 1 1 0 8 0 vmmpekpl 168 8275 0 8242 2 0 2 2 0 8 0 vmmpepl 168 71056 0 68730 162 28 134 137 0 357 32 vmsppl 368 501 0 485 2 0 2 2 0 8 0 pdppl 4096 1011 0 970 6 0 6 6 0 8 0 pvpl 32 219547 0 197540 192 10 182 192 0 265 1 pmappl 232 501 0 485 2 1 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 554 0 7 16 0 16 16 0 8 0