panic: unhandled af 0 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *413278 28158 0 0x14000 0x200 1 softnet0 db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834e98e2) at panic+0x1e5 sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff800000050858,ffff80002a1d0460,ffff800000c40fe0,fffffa006fbc0dc0,5dc) at if_output_tso+0x22b ip_output(fffffa006df28400,0,fffffa006ff63070,800,0,fffffa006ff63108,21e81aec890cf1c2) at ip_output+0x107f sys/netinet/ip_output.c:437 tcp_output(ffff8000015b9140) at tcp_output+0x36e3 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a1d08b0,ffff80002a1d08bc,0,2,ffff80002a1d08a8) at tcp_input_solocked+0x655d sys/netinet/tcp_input.c:-1 tcp_input_mlist(ffffffff83ac4e10,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff800000050858,ffff80002a1d0998,0) at if_input_process+0x526 sys/net/if.c:1086 ifiq_process(ffff800000050d08) at ifiq_process+0xcd sys/net/ifq.c:864 taskq_thread(ffff80000002c000) at taskq_thread+0x157 sys/kern/kern_task.c:446 end trace frame: 0x0, count: 4 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 *cpu1: unhandled af 0 ddb{1}> show kasan No such command ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834e98e2) at panic+0x1e5 sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff800000050858,ffff80002a1d0460,ffff800000c40fe0,fffffa006fbc0dc0,5dc) at if_output_tso+0x22b ip_output(fffffa006df28400,0,fffffa006ff63070,800,0,fffffa006ff63108,21e81aec890cf1c2) at ip_output+0x107f sys/netinet/ip_output.c:437 tcp_output(ffff8000015b9140) at tcp_output+0x36e3 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a1d08b0,ffff80002a1d08bc,0,2,ffff80002a1d08a8) at tcp_input_solocked+0x655d sys/netinet/tcp_input.c:-1 tcp_input_mlist(ffffffff83ac4e10,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff800000050858,ffff80002a1d0998,0) at if_input_process+0x526 sys/net/if.c:1086 ifiq_process(ffff800000050d08) at ifiq_process+0xcd sys/net/ifq.c:864 taskq_thread(ffff80000002c000) at taskq_thread+0x157 sys/kern/kern_task.c:446 end trace frame: 0x0, count: -11 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1d0240 rbx 0xffff80002999ee0f rdx 0 rcx 0xffff800045ffe000 rax 0xffff80002999dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x5fe24277210e1fd6 r11 0x4b53925527492bb3 r12 0xffff80002999ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff83104b95 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1d0230 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (softnet0) tid=413278 pid=28158 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800045ffe298,0xffff800045ffe540 process=0xffff800045ff84d0 user=0xffff80002a1cb000, vmspace=0xffffffff83b4a150 estcpu=0, cpticks=5, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 65056 13936 66397 32767 3 0x10 0x80 piperd syz-executor 66397 103428 54341 0 3 0x2 0x80 wait syz-executor 59288 5628 69936 32767 3 0x10 0x80 piperd syz-executor 69936 342671 54341 0 3 0x2 0x80 wait syz-executor 74598 109149 25720 32767 3 0x10 0x80 piperd syz-executor 25720 273586 54341 0 3 0x2 0x80 wait syz-executor 6267 297254 42277 32767 3 0x10 0x80 piperd syz-executor 42277 3801 54341 0 3 0x2 0x80 wait syz-executor 4068 428723 75143 32767 3 0x10 0x80 piperd syz-executor 75143 292268 54341 0 3 0x2 0x80 wait syz-executor 48516 315556 98939 32767 3 0x10 0x80 piperd syz-executor 98939 16892 54341 0 3 0x2 0x80 wait syz-executor 27892 44571 57904 32767 3 0x10 0x80 piperd syz-executor 57904 154014 54341 0 3 0x2 0x80 wait syz-executor 54341 369619 44174 0 3 0x2 0x80 nanoslp syz-executor 44174 316124 5502 0 3 0x100002 0x88 sigsusp ksh 5502 49291 12303 0 3 0x10 0x88 kqread sshd-session 12303 407366 68028 0 3 0x12 0x80 kqread sshd-session 57267 445484 1 0 3 0x100003 0x80 ttyin getty 68028 176288 1 0 3 0 0x88 kqread sshd 75611 285846 73911 73 3 0x1100010 0x80 kqread syslogd 73911 12475 1 0 3 0x100002 0x80 sbwait syslogd 29302 114951 1 0 3 0x100000 0x80 kqread resolvd 55382 475187 97791 77 3 0x100012 0x80 kqread dhcpleased 97860 333206 97791 77 3 0x100012 0x80 kqread dhcpleased 97791 34137 1 0 3 0 0x80 kqread dhcpleased 21015 65005 0 0 3 0x14000 0x200 bored smr 85593 372352 0 0 3 0x14000 0x200 pgzero zerothread 22253 459139 0 0 3 0x14000 0x200 aiodoned aiodoned 25247 510866 0 0 3 0x14000 0x200 syncer update 74119 245842 0 0 3 0x14000 0x200 cleaner cleaner 59340 64046 0 0 3 0x14000 0x200 reaper reaper 81927 411 0 0 3 0x14000 0x200 pgdaemon pagedaemon 19721 376500 0 0 3 0x14000 0x200 bored viomb 37039 362427 0 0 3 0x14000 0x40000200 acpi0 acpi0 52287 3818 0 0 3 0x14000 0x40000200 idle1 91720 304268 0 0 3 0x14000 0x200 bored softnet1 *28158 413278 0 0 7 0x14000 0x200 softnet0 95988 414592 0 0 3 0x14000 0x200 smrbar systqmp 55391 405554 0 0 3 0x14000 0x200 bored systq 74822 70852 0 0 3 0x14000 0x200 tmoslp softclockmp 65204 22092 0 0 3 0x14000 0x40000200 tmoslp softclock 34166 87954 0 0 7 0x14000 0x40000200 idle0 1 499081 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 28158 (softnet0) thread 0xffff800045ffe000 (413278) exclusive rwlock inet46 r = 0 (0xffff8000015b6610) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 in_pcbsolock+0xdb sys/netinet/in_pcb.c:631 #3 tcp_input_solocked+0xa9a sys/netinet/tcp_input.c:-1 #4 tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 #5 if_input_process+0x526 sys/net/if.c:1086 #6 ifiq_process+0xcd sys/net/ifq.c:864 #7 taskq_thread+0x157 sys/kern/kern_task.c:446 #8 proc_trampoline+0x10 shared rwlock netlock r = 0 (0xffffffff839783a0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_read+0x3e8 sys/kern/kern_rwlock.c:413 #2 if_input_process+0x1c9 sys/net/if.c:1061 #3 ifiq_process+0xcd sys/net/ifq.c:864 #4 taskq_thread+0x157 sys/kern/kern_task.c:446 #5 proc_trampoline+0x10 shared rwlock softnet0 r = 0 (0xffff80000002c078) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 Process 95988 (systqmp) thread 0xffff800045ffe298 (414592) shared rwlock systqmp r = 0 (0xffffffff838e1218) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11073 12019K 12034K 166960K 12228 0 pcb 17 12K 12K 166960K 17 0 rtable 215 6K 7K 166960K 960 0 pf 29 16K 16K 166960K 71 0 ifaddr 38 6K 7K 166960K 126 0 ifgroup 46 2K 2K 166960K 130 0 sysctl 2 1K 9K 166960K 6 0 counters 68 36K 37K 166960K 110 0 ioctlops 0 0K 4K 166960K 63 0 iov 0 0K 4K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1288 81K 81K 166960K 1708 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 20 2K 2K 166960K 22 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 125K 166960K 732 0 sigio 0 0K 0K 166960K 3 0 proc 58 99K 163K 166960K 1079 0 subproc 63 3K 4K 166960K 414 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 55 0 in_multi 88 5K 6K 166960K 328 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 21 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 660 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 183 174K 193K 166960K 6972 0 UVM aobj 10 2K 2K 166960K 10 0 pinsyscall 37 74K 114K 166960K 2375 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 14 0 NDP 14 0K 2K 166960K 87 0 temp 65 9126K 9146K 166960K 7268 0 kqueue 13 20K 26K 166960K 68 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 96 0 93 1 0 1 1 0 8 0 rtentry 176 331 0 232 6 1 5 6 0 8 0 unpcb 144 291 0 276 6 0 6 6 0 8 5 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 147 0 143 7 0 7 7 0 8 6 arp 136 58 0 42 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 328 542 0 535 7 0 7 7 0 8 6 ip6q 80 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 152 84 0 63 1 0 1 1 0 8 0 kcovpl 48 46 0 39 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1335 0 924 29 1 28 29 0 8 2 art_table 40 1336 0 924 5 0 5 5 0 8 0 art_node 32 331 0 239 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 72 19 0 1 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 1900 0 367 96 0 96 96 0 8 0 ffsino 296 1900 0 367 119 0 119 119 0 8 1 nchpl 144 2382 0 625 66 0 66 66 0 8 0 vnodes 216 2323 0 0 130 0 130 130 0 8 0 namei 1024 10882 0 10882 4 3 1 3 0 8 1 percpumem 16 71 0 21 1 0 1 1 0 8 0 kstatmem 264 65 0 42 2 0 2 2 0 8 0 scxspl 216 8116 0 8116 9 6 3 8 1 8 3 plimitpl 152 213 0 191 2 0 2 2 0 8 0 sigapl 424 960 0 916 7 0 7 7 0 8 0 knotepl 120 322 0 0 10 0 10 10 0 8 0 kqueuepl 224 144 0 135 3 2 1 3 0 8 0 pipepl 344 258 0 231 4 1 3 4 0 8 0 fdescpl 528 944 0 916 4 1 3 4 0 8 0 filepl 160 4281 0 4091 19 0 19 19 0 8 8 lockfpl 104 83 0 81 1 0 1 1 0 8 0 lockfspl 48 38 0 36 1 0 1 1 0 8 0 sessionpl 144 73 0 58 1 0 1 1 0 8 0 pgrppl 48 119 0 97 1 0 1 1 0 8 0 ucredpl 104 641 0 623 1 0 1 1 0 8 0 zombiepl 144 916 0 916 1 0 1 1 0 8 1 processpl 1232 960 0 916 5 0 5 5 0 8 0 procpl 664 1350 0 1306 6 0 6 6 0 8 0 sockpl 752 931 0 906 23 12 11 23 0 8 8 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 117 0 0 15 0 15 15 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mextrefs 64 24 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 351 0 0 22 0 22 22 0 8 0 bufpl 272 2525 0 102 162 0 162 162 0 8 0 anonpl 32 9455 0 0 77 0 77 77 0 247 0 amapchunkpl 152 19679 0 19342 28 4 24 28 0 158 4 amappl16 200 2353 0 2342 21 7 14 14 0 8 12 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 690 0 689 1 0 1 1 0 8 0 amappl13 176 162 0 152 1 0 1 1 0 8 0 amappl12 168 1266 0 1239 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 59 0 49 1 0 1 1 0 8 0 amappl9 144 304 0 304 1 1 0 1 0 8 0 amappl8 136 176 0 175 1 0 1 1 0 8 0 amappl7 128 185 0 174 1 0 1 1 0 8 0 amappl6 120 347 0 345 1 0 1 1 0 8 0 amappl5 112 163 0 155 1 0 1 1 0 8 0 amappl4 104 334 0 318 1 0 1 1 0 8 0 amappl3 96 3485 0 3421 4 1 3 3 0 8 0 amappl2 88 1025 0 953 3 0 3 3 0 8 1 amappl1 80 14371 0 13834 15 0 15 15 0 8 2 amappl 88 5847 0 5728 5 0 5 5 0 92 0 uvmvnodes 80 105 0 0 3 0 3 3 0 8 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 944 0 916 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 944 0 916 1 0 1 1 0 8 0 vmmpekpl 168 9423 0 9360 4 0 4 4 0 8 0 vmmpepl 168 69785 0 68190 101 3 98 101 0 357 10 vmsppl 488 943 0 916 6 0 6 6 0 8 0 rwobjpl 80 22176 0 21312 26 2 24 26 0 8 2 pdppl 4096 1895 0 1832 141 56 85 97 0 8 22 pvpl 32 15230 0 0 123 0 123 123 0 265 0 pmappl 256 943 0 916 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 493 0 62 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83907ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffffffff83907ff0) at sched_idle+0x371 sys/kern/kern_sched.c:192 end trace frame: 0x0, count: 10 ddb{0}> trace x86_ipi_db(ffffffff83907ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffffffff83907ff0) at sched_idle+0x371 sys/kern/kern_sched.c:192 end trace frame: 0x0, count: -5 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834e98e2) at panic+0x1e5 sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff800000050858,ffff80002a1d0460,ffff800000c40fe0,fffffa006fbc0dc0,5dc) at if_output_tso+0x22b ip_output(fffffa006df28400,0,fffffa006ff63070,800,0,fffffa006ff63108,21e81aec890cf1c2) at ip_output+0x107f sys/netinet/ip_output.c:437 tcp_output(ffff8000015b9140) at tcp_output+0x36e3 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a1d08b0,ffff80002a1d08bc,0,2,ffff80002a1d08a8) at tcp_input_solocked+0x655d sys/netinet/tcp_input.c:-1 tcp_input_mlist(ffffffff83ac4e10,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff800000050858,ffff80002a1d0998,0) at if_input_process+0x526 sys/net/if.c:1086 ifiq_process(ffff800000050d08) at ifiq_process+0xcd sys/net/ifq.c:864 taskq_thread(ffff80000002c000) at taskq_thread+0x157 sys/kern/kern_task.c:446 end trace frame: 0x0, count: 4 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834e98e2) at panic+0x1e5 sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff800000050858,ffff80002a1d0460,ffff800000c40fe0,fffffa006fbc0dc0,5dc) at if_output_tso+0x22b ip_output(fffffa006df28400,0,fffffa006ff63070,800,0,fffffa006ff63108,21e81aec890cf1c2) at ip_output+0x107f sys/netinet/ip_output.c:437 tcp_output(ffff8000015b9140) at tcp_output+0x36e3 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a1d08b0,ffff80002a1d08bc,0,2,ffff80002a1d08a8) at tcp_input_solocked+0x655d sys/netinet/tcp_input.c:-1 tcp_input_mlist(ffffffff83ac4e10,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff800000050858,ffff80002a1d0998,0) at if_input_process+0x526 sys/net/if.c:1086 ifiq_process(ffff800000050d08) at ifiq_process+0xcd sys/net/ifq.c:864 taskq_thread(ffff80000002c000) at taskq_thread+0x157 sys/kern/kern_task.c:446 end trace frame: 0x0, count: -11