panic: kernel diagnostic assertion "frag->fr_firstoff[index] != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/net/pf_norm.c", line 445 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 219662 11976 0 0 0 0 syz-executor.1 * 21181 11976 0 0 0x4000000 1K syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823bccba) at panic+0x15e sys/kern/subr_prf.c:218 __assert(ffffffff8242c052,ffffffff824492a2,1bd,ffffffff823aebf1) at __assert+0x2b sys/kern/subr_prf.c:162 pf_frent_remove(fffffd80689a23a0,fffffd80689a3ca8) at pf_frent_remove+0x2a4 sys/net/pf_norm.c:466 pf_fillup_fragment(ffff800022364a00,0,fffffd80689a3b40,ffff800022364c4e) at pf_fillup_fragment+0xbeb sys/net/pf_norm.c:685 pf_reassemble(ffff800022364b78,1,ffff800022364c4e) at pf_reassemble+0xda sys/net/pf_norm.c:787 pf_normalize_ip(ffff800022364b38,ffff800022364c4e) at pf_normalize_ip+0x11d sys/net/pf_norm.c:1057 pf_test(2,1,ffff800000ae5000,ffff800022364d58) at pf_test+0x30c ip_input_if(ffff800022364d58,ffff800022364d64,4,0,ffff800000ae5000) at ip_input_if+0x578 sys/netinet/ip_input.c:338 ipv4_input(ffff800000ae5000,fffffd8071644e00) at ipv4_input+0x48 sys/netinet/ip_input.c:237 tun_dev_write(5d01,ffff800022365048,ffff8000232c6000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff800022364ea0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e30d248,ffff800022365048,11,fffffd807f7b7420) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd806716ae60,ffff800022365048,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 end trace frame: 0xffff800022365030, count: 0 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 "frag->fr_firstoff[index] != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/net/pf_norm.c", line 445 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823bccba) at panic+0x15e sys/kern/subr_prf.c:218 __assert(ffffffff8242c052,ffffffff824492a2,1bd,ffffffff823aebf1) at __assert+0x2b sys/kern/subr_prf.c:162 pf_frent_remove(fffffd80689a23a0,fffffd80689a3ca8) at pf_frent_remove+0x2a4 sys/net/pf_norm.c:466 pf_fillup_fragment(ffff800022364a00,0,fffffd80689a3b40,ffff800022364c4e) at pf_fillup_fragment+0xbeb sys/net/pf_norm.c:685 pf_reassemble(ffff800022364b78,1,ffff800022364c4e) at pf_reassemble+0xda sys/net/pf_norm.c:787 pf_normalize_ip(ffff800022364b38,ffff800022364c4e) at pf_normalize_ip+0x11d sys/net/pf_norm.c:1057 pf_test(2,1,ffff800000ae5000,ffff800022364d58) at pf_test+0x30c ip_input_if(ffff800022364d58,ffff800022364d64,4,0,ffff800000ae5000) at ip_input_if+0x578 sys/netinet/ip_input.c:338 ipv4_input(ffff800000ae5000,fffffd8071644e00) at ipv4_input+0x48 sys/netinet/ip_input.c:237 tun_dev_write(5d01,ffff800022365048,ffff8000232c6000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff800022364ea0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e30d248,ffff800022365048,11,fffffd807f7b7420) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd806716ae60,ffff800022365048,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002232a540,f0,ffff800022365048,0,ffff800022365130) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002232a540,ffff8000223650e0,ffff800022365130) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000223651b0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000223651b0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4a709c12580, count: -18 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800022364820 rbx 0xffff800022364830 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81303675 kprintf+0x145 r9 0x1 r10 0x7e9b9ecb592f97c3 r11 0x86e696a903d19152 r12 0x3000000008 r13 0xffff8000223648d0 r14 0x100 r15 0x1 rip 0xffffffff812aa9b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022364810 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=21181 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002232afc0,0xffffffff828bb158 process=0xffff80002232e1d8 user=0xffff800022360000, vmspace=0xfffffd8008496a10 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11976 219662 6024 0 7 0 syz-executor.1 *11976 21181 6024 0 7 0x4000000 syz-executor.1 22708 181181 39978 0 2 0 syz-executor.0 22708 271811 39978 0 3 0x4000080 fsleep syz-executor.0 63936 258679 0 0 3 0x14280 nfsidl nfsio 68142 450667 0 0 3 0x14280 nfsidl nfsio 9506 129111 0 0 3 0x14280 nfsidl nfsio 52039 515218 0 0 3 0x14280 nfsidl nfsio 12994 161290 0 0 3 0x14280 nfsidl nfsio 17224 211664 0 0 3 0x14280 nfsidl nfsio 15540 404854 0 0 3 0x14280 nfsidl nfsio 86494 98597 0 0 3 0x14280 nfsidl nfsio 98379 516502 0 0 3 0x14280 nfsidl nfsio 23203 513349 0 0 3 0x14280 nfsidl nfsio 51557 383546 0 0 3 0x14280 nfsidl nfsio 55001 330269 0 0 3 0x14280 nfsidl nfsio 35139 68576 0 0 3 0x14280 nfsidl nfsio 26289 111938 0 0 3 0x14280 nfsidl nfsio 4577 371895 0 0 3 0x14280 nfsidl nfsio 16148 221125 0 0 3 0x14280 nfsidl nfsio 72390 343367 0 0 3 0x14280 nfsidl nfsio 15411 433206 0 0 3 0x14280 nfsidl nfsio 58340 262169 0 0 3 0x14280 nfsidl nfsio 14885 31959 0 0 3 0x14280 nfsidl nfsio 6024 512028 54095 0 3 0x82 nanoslp syz-executor.1 39978 513687 54095 0 3 0x82 nanoslp syz-executor.0 54095 124600 53830 0 3 0x82 thrsleep syz-fuzzer 54095 455625 53830 0 3 0x4000082 thrsleep syz-fuzzer 54095 231226 53830 0 3 0x4000082 thrsleep syz-fuzzer 54095 73411 53830 0 3 0x4000082 thrsleep syz-fuzzer 54095 88015 53830 0 3 0x4000082 kqread syz-fuzzer 54095 208596 53830 0 3 0x4000082 thrsleep syz-fuzzer 54095 470677 53830 0 3 0x4000082 thrsleep syz-fuzzer 54095 300215 53830 0 3 0x4000082 thrsleep syz-fuzzer 53830 387243 10301 0 3 0x10008a sigsusp ksh 10301 173500 85405 0 3 0x92 select sshd 72599 93005 1 0 3 0x100083 ttyin getty 85405 106130 1 0 3 0x80 select sshd 99263 26495 58536 74 3 0x100092 bpf pflogd 58536 460525 1 0 3 0x80 netio pflogd 5352 133255 87918 73 3 0x100090 kqread syslogd 87918 362920 1 0 3 0x100082 netio syslogd 57982 155587 1 77 3 0x100090 poll dhclient 38055 466457 1 0 3 0x80 poll dhclient 51012 148617 0 0 3 0x14200 bored smr 6694 382899 0 0 2 0x14200 zerothread 75913 524011 0 0 3 0x14200 aiodoned aiodoned 72638 220136 0 0 3 0x14200 syncer update 27200 113593 0 0 3 0x14200 cleaner cleaner 3336 69138 0 0 3 0x14200 reaper reaper 89195 180501 0 0 3 0x14200 pgdaemon pagedaemon 91307 93444 0 0 3 0x14200 bored crynlk 19647 38871 0 0 3 0x14200 bored crypto 97809 231822 0 0 3 0x14200 bored viomb 27564 214671 0 0 3 0x40014200 acpi0 acpi0 7570 76801 0 0 3 0x40014200 idle1 86069 474596 0 0 3 0x14200 bored softnet 58146 155460 0 0 3 0x14200 bored systqmp 28181 417727 0 0 3 0x14200 bored systq 69085 131506 0 0 3 0x40014200 bored softclock 18844 436428 0 0 3 0x40014200 idle0 1 389632 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 11976 (syz-executor.1) thread 0xffff80002232a540 (21181) exclusive rwlock netlock r = 0 (0xffffffff826ff250) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 tun_dev_write+0x1f9 sys/net/if_tun.c:869 #2 spec_write+0xd4 sys/kern/spec_vnops.c:309 #3 VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 #4 vn_write+0x14e sys/kern/vfs_vnops.c:414 #5 dofilewritev+0x1ab sys/kern/sys_generic.c:365 #6 sys_write+0x83 sys/kern/sys_generic.c:285 #7 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828bbd40) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x1ab sys/kern/sys_generic.c:365 #3 sys_write+0x83 sys/kern/sys_generic.c:285 #4 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #5 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9486 6416K 6426K 78643K 12708 0 pcb 13 8K 8K 78643K 77 0 rtable 105 3K 3K 78643K 199 0 ifaddr 44 10K 10K 78643K 45 0 counters 44 34K 34K 78643K 44 0 ioctlops 0 0K 4K 78643K 1633 0 iov 0 0K 0K 78643K 208 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 2882 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 164 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 333 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 24299 0 sigio 0 0K 0K 78643K 73 0 proc 60 63K 95K 78643K 1292 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 620 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 139 24K 24K 78643K 52349 0 UVM aobj 131 4K 4K 78643K 182 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 106 3981K 4045K 78643K 52212 0 kqueue 3 4K 9K 78643K 1665 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 1757 0 1747 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 736 79 0 75 4 3 1 4 0 8 0 inpcb 304 1203 0 1196 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 pffrag 232 13 0 0 1 0 1 1 0 482 0 pffrnode 88 8 0 0 1 0 1 1 0 8 0 pffrent 40 373 0 358 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 18 0 12 1 0 1 1 0 8 0 pfstkey 112 18 0 12 1 0 1 1 0 8 0 pfstate 328 18 0 12 2 1 1 2 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 187 0 0 12 0 12 12 0 8 0 art_table 32 188 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semapl 112 331 0 321 1 0 1 1 0 8 0 shmpl 112 179 0 51 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 26755 0 25350 88 0 88 88 0 8 0 ffsino 272 26755 0 25350 94 0 94 94 0 8 0 nchpl 144 58712 0 57107 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 143808 0 143808 1 0 1 1 0 8 1 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 154668 0 154668 9 8 1 8 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 24535 0 24482 6 0 6 6 0 8 0 futexpl 56 94387 0 94386 1 0 1 1 0 8 0 knotepl 112 1331 0 1311 1 0 1 1 0 8 0 kqueuepl 168 2900 0 2898 1 0 1 1 0 8 0 pipepl 336 4094 0 4083 13 12 1 2 0 8 0 fdescpl 496 24499 0 24482 3 0 3 3 0 8 0 filepl 152 68512 0 68410 6 1 5 6 0 8 0 lockfpl 104 2998 0 2997 1 0 1 1 0 8 0 lockfspl 48 1442 0 1441 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 1915 0 1904 1 0 1 1 0 8 0 ucredpl 96 9963 0 9954 1 0 1 1 0 8 0 zombiepl 144 24482 0 24482 1 0 1 1 0 8 1 processpl 1080 24535 0 24482 4 0 4 4 0 8 0 procpl 672 51798 0 51736 7 1 6 6 0 8 0 sockpl 432 2979 0 2960 3 0 3 3 0 8 0 mcl64k 65536 18 0 0 3 1 2 3 0 8 0 mcl16k 16384 20 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 34 0 0 2 0 2 2 0 8 0 mcl8k 8192 45 0 0 6 2 4 4 0 8 0 mcl4k 4096 33 0 0 4 1 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 105 0 0 11 0 11 11 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 591 0 0 15 1 14 14 0 8 0 bufpl 280 27667 0 21418 447 0 447 447 0 8 0 anonpl 24 1469873 0 1464887 35 4 31 31 0 186 0 amapchunkpl 152 79945 0 79774 7 0 7 7 0 158 0 amappl16 200 73459 0 73304 9 0 9 9 0 8 0 amappl15 192 3 0 1 1 0 1 1 0 8 0 amappl14 184 12242 0 12237 1 0 1 1 0 8 0 amappl13 176 12080 0 12075 1 0 1 1 0 8 0 amappl12 168 9 0 7 2 1 1 1 0 8 0 amappl11 160 55 0 38 1 0 1 1 0 8 0 amappl10 152 18 0 13 1 0 1 1 0 8 0 amappl9 144 290 0 288 1 0 1 1 0 8 0 amappl8 136 387 0 313 3 0 3 3 0 8 0 amappl7 128 244 0 236 1 0 1 1 0 8 0 amappl6 120 62 0 54 1 0 1 1 0 8 0 amappl5 112 12488 0 12471 1 0 1 1 0 8 0 amappl4 104 12785 0 12756 2 1 1 2 0 8 0 amappl3 96 13856 0 13846 1 0 1 1 0 8 0 amappl2 88 207847 0 207768 3 1 2 3 0 8 0 amappl1 80 646996 0 646500 26 14 12 21 0 8 0 amappl 88 52029 0 51977 2 0 2 2 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 64 181 0 51 3 0 3 3 0 8 0 uaddrrnd 24 24499 0 24482 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 24499 0 24482 1 0 1 1 0 8 0 vmmpekpl 168 120615 0 120583 2 0 2 2 0 8 0 vmmpepl 168 2960371 0 2958864 112 46 66 77 0 357 0 vmsppl 368 24498 0 24482 2 0 2 2 0 8 0 rwobjpl 56 583657 0 582762 31 18 13 19 0 8 0 pdppl 4096 49005 0 48964 57 16 41 45 0 8 0 pvpl 32 4790899 0 4782143 188 113 75 117 0 265 4 pmappl 232 24498 0 24482 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 322 0 39 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff826f0ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828bbb38) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828bbb38) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffc03b0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff826f0ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828bbb38) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828bbb38) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffc03b0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823bccba) at panic+0x15e sys/kern/subr_prf.c:218 __assert(ffffffff8242c052,ffffffff824492a2,1bd,ffffffff823aebf1) at __assert+0x2b sys/kern/subr_prf.c:162 pf_frent_remove(fffffd80689a23a0,fffffd80689a3ca8) at pf_frent_remove+0x2a4 sys/net/pf_norm.c:466 pf_fillup_fragment(ffff800022364a00,0,fffffd80689a3b40,ffff800022364c4e) at pf_fillup_fragment+0xbeb sys/net/pf_norm.c:685 pf_reassemble(ffff800022364b78,1,ffff800022364c4e) at pf_reassemble+0xda sys/net/pf_norm.c:787 pf_normalize_ip(ffff800022364b38,ffff800022364c4e) at pf_normalize_ip+0x11d sys/net/pf_norm.c:1057 pf_test(2,1,ffff800000ae5000,ffff800022364d58) at pf_test+0x30c ip_input_if(ffff800022364d58,ffff800022364d64,4,0,ffff800000ae5000) at ip_input_if+0x578 sys/netinet/ip_input.c:338 ipv4_input(ffff800000ae5000,fffffd8071644e00) at ipv4_input+0x48 sys/netinet/ip_input.c:237 tun_dev_write(5d01,ffff800022365048,ffff8000232c6000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff800022364ea0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e30d248,ffff800022365048,11,fffffd807f7b7420) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd806716ae60,ffff800022365048,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 end trace frame: 0xffff800022365030, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823bccba) at panic+0x15e sys/kern/subr_prf.c:218 __assert(ffffffff8242c052,ffffffff824492a2,1bd,ffffffff823aebf1) at __assert+0x2b sys/kern/subr_prf.c:162 pf_frent_remove(fffffd80689a23a0,fffffd80689a3ca8) at pf_frent_remove+0x2a4 sys/net/pf_norm.c:466 pf_fillup_fragment(ffff800022364a00,0,fffffd80689a3b40,ffff800022364c4e) at pf_fillup_fragment+0xbeb sys/net/pf_norm.c:685 pf_reassemble(ffff800022364b78,1,ffff800022364c4e) at pf_reassemble+0xda sys/net/pf_norm.c:787 pf_normalize_ip(ffff800022364b38,ffff800022364c4e) at pf_normalize_ip+0x11d sys/net/pf_norm.c:1057 pf_test(2,1,ffff800000ae5000,ffff800022364d58) at pf_test+0x30c ip_input_if(ffff800022364d58,ffff800022364d64,4,0,ffff800000ae5000) at ip_input_if+0x578 sys/netinet/ip_input.c:338 ipv4_input(ffff800000ae5000,fffffd8071644e00) at ipv4_input+0x48 sys/netinet/ip_input.c:237 tun_dev_write(5d01,ffff800022365048,ffff8000232c6000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff800022364ea0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e30d248,ffff800022365048,11,fffffd807f7b7420) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd806716ae60,ffff800022365048,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002232a540,f0,ffff800022365048,0,ffff800022365130) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002232a540,ffff8000223650e0,ffff800022365130) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000223651b0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000223651b0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4a709c12580, count: -18