panic: unhandled af 0 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *312898 23545 0 0x14000 0x200 0 softnet0 db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ddf4c) at panic+0x1e5 sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff80000004e858,ffff80002a1d0650,ffff800000c43f40,fffff9007849cd10,5dc) at if_output_tso+0x22b ip_output(fffff9006df2b000,0,fffff9006fd01590,800,0,fffff9006fd01628,9a478fa4308c8fac) at ip_output+0x107b sys/netinet/ip_output.c:437 tcp_output(ffff8000015bc2e0) at tcp_output+0x36e3 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a1d0aa0,ffff80002a1d0aac,0,2,ffff80002a1d0a98) at tcp_input_solocked+0x5a40 sys/netinet/tcp_input.c:2041 tcp_input_mlist(ffffffff839e7cd0,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff80000004e858,ffff80002a1d0b88,0) at if_input_process+0x526 sys/net/if.c:1086 ifiq_process(ffff80000004ed08) 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: unhandled af 0 ddb{0}> show kasan No such command ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ddf4c) at panic+0x1e5 sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff80000004e858,ffff80002a1d0650,ffff800000c43f40,fffff9007849cd10,5dc) at if_output_tso+0x22b ip_output(fffff9006df2b000,0,fffff9006fd01590,800,0,fffff9006fd01628,9a478fa4308c8fac) at ip_output+0x107b sys/netinet/ip_output.c:437 tcp_output(ffff8000015bc2e0) at tcp_output+0x36e3 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a1d0aa0,ffff80002a1d0aac,0,2,ffff80002a1d0a98) at tcp_input_solocked+0x5a40 sys/netinet/tcp_input.c:2041 tcp_input_mlist(ffffffff839e7cd0,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff80000004e858,ffff80002a1d0b88,0) at if_input_process+0x526 sys/net/if.c:1086 ifiq_process(ffff80000004ed08) 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{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1d0430 rbx 0xffffffff8393de07 cpu_info_full_primary+0x2e07 rdx 0 rcx 0xffff800045ffea60 rax 0xffffffff8393cff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x2582fd64c40bc500 r11 0xc3dab9e9f4576d1a r12 0xffffffff8393dc08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff82159dd5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1d0420 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (softnet0) tid=312898 pid=23545 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=0xffff800045ffe7c8,0xffff800045ffed08 process=0xffff800045ff9810 user=0xffff80002a1cb000, vmspace=0xffffffff83a92fb8 estcpu=0, cpticks=6, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 10314 288851 2185 32767 3 0x10 0x80 piperd syz-executor 37830 370482 8546 32767 3 0x10 0x80 piperd syz-executor 42881 70173 71033 32767 3 0x10 0x80 piperd syz-executor 39769 272199 90743 32767 3 0x10 0x80 piperd syz-executor 16686 43025 51589 32767 3 0x10 0x80 piperd syz-executor 18196 312927 20019 32767 3 0x10 0x80 piperd syz-executor 13661 377588 32556 32767 3 0x10 0x80 piperd syz-executor 20019 145151 94677 0 3 0x2 0x80 wait syz-executor 51589 128360 94677 0 3 0x2 0x80 wait syz-executor 32556 299352 94677 0 3 0x2 0x80 wait syz-executor 90743 165029 94677 0 3 0x2 0x80 wait syz-executor 2185 510373 94677 0 3 0x2 0x80 wait syz-executor 8546 162121 94677 0 3 0x2 0x80 wait syz-executor 71033 466931 94677 0 3 0x2 0x80 wait syz-executor 94677 272227 43838 0 3 0x2 0x80 nanoslp syz-executor 43838 127909 10004 0 3 0x100002 0x88 sigsusp ksh 10004 325536 63822 0 3 0x10 0x88 kqread sshd-session 63822 331246 67410 0 3 0x12 0x80 kqread sshd-session 76898 167022 1 0 3 0x100003 0x80 ttyin getty 67410 374965 1 0 3 0 0x88 kqread sshd 45474 390495 5555 73 3 0x1100010 0x80 kqread syslogd 5555 400196 1 0 3 0x100002 0x80 sbwait syslogd 1623 193346 1 0 3 0x100000 0x80 kqread resolvd 91976 476104 73507 77 3 0x100012 0x80 kqread dhcpleased 80964 477287 73507 77 3 0x100012 0x80 kqread dhcpleased 73507 486058 1 0 3 0 0x80 kqread dhcpleased 2825 226120 0 0 3 0x14000 0x200 bored smr 79665 439548 0 0 3 0x14000 0x200 pgzero zerothread 32914 410933 0 0 3 0x14000 0x200 aiodoned aiodoned 14866 362978 0 0 3 0x14000 0x200 syncer update 16485 393950 0 0 3 0x14000 0x200 cleaner cleaner 76531 359995 0 0 3 0x14000 0x200 reaper reaper 46247 8553 0 0 3 0x14000 0x200 pgdaemon pagedaemon 69793 34046 0 0 3 0x14000 0x200 bored viomb 86003 519286 0 0 3 0x14000 0x40000200 acpi0 acpi0 73200 19110 0 0 7 0x14000 0x40000200 idle1 72384 40297 0 0 3 0x14000 0x200 bored softnet1 *23545 312898 0 0 7 0x14000 0x200 softnet0 54527 205776 0 0 3 0x14000 0x200 bored systqmp 69300 244281 0 0 3 0x14000 0x200 bored systq 16054 511152 0 0 3 0x14000 0x200 tmoslp softclockmp 13630 193907 0 0 3 0x14000 0x40000200 tmoslp softclock 6318 290593 0 0 3 0x14000 0x40000200 idle0 1 285445 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 23545 (softnet0) thread 0xffff800045ffea60 (312898) exclusive rwlock inet46 r = 0 (0xffff8000015a6320) #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 (0xffffffff838f5680) #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11076 12020K 12034K 166960K 12172 0 pcb 17 12K 12K 166960K 17 0 rtable 215 6K 7K 166960K 367 0 pf 29 16K 16K 166960K 31 0 ifaddr 38 6K 7K 166960K 44 0 ifgroup 46 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 68 36K 37K 166960K 70 0 ioctlops 0 0K 4K 166960K 37 0 iov 0 0K 8K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1287 81K 81K 166960K 1517 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 12 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 57K 117K 166960K 386 0 sigio 0 0K 0K 166960K 1 0 proc 58 99K 163K 166960K 531 0 subproc 63 3K 4K 166960K 216 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 34 0 in_multi 88 6K 7K 166960K 106 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 17 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 398 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 176 149K 177K 166960K 4844 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 37 74K 109K 166960K 1516 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 5 0 NDP 10 0K 2K 166960K 27 0 temp 34 9118K 9178K 166960K 4518 0 kqueue 13 20K 28K 166960K 66 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 58 0 55 1 0 1 1 0 8 0 rtentry 176 112 0 13 6 0 6 6 0 8 0 unpcb 144 231 0 216 4 1 3 3 0 8 2 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpcb 736 123 0 119 2 0 2 2 0 8 1 arp 136 18 0 2 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 0 1 0 1 1 0 8 0 inpcb 328 291 0 284 4 0 4 4 0 8 3 nd6 152 25 0 4 1 0 1 1 0 8 0 kcovpl 48 24 0 17 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 467 0 59 30 1 29 30 0 8 0 art_table 40 468 0 59 5 0 5 5 0 8 0 art_node 32 112 0 22 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 10 0 1 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1844 0 363 93 0 93 93 0 8 0 ffsino 296 1844 0 363 115 0 115 115 0 8 0 nchpl 144 2302 0 602 64 0 64 64 0 8 0 vnodes 216 2069 0 0 115 0 115 115 0 8 0 namei 1024 7265 0 7265 2 1 1 2 0 8 1 percpumem 16 51 0 1 1 0 1 1 0 8 0 kstatmem 264 25 0 2 2 0 2 2 0 8 0 scxspl 216 7968 0 7968 11 3 8 8 1 8 8 plimitpl 152 206 0 184 2 0 2 2 0 8 1 sigapl 424 659 0 615 7 1 6 7 0 8 0 knotepl 120 306 0 0 10 0 10 10 0 8 0 kqueuepl 224 86 0 77 1 0 1 1 0 8 0 pipepl 344 263 0 236 9 5 4 9 0 8 1 fdescpl 528 643 0 615 3 0 3 3 0 8 0 filepl 160 3108 0 2918 15 4 11 15 0 8 2 lockfpl 104 47 0 45 1 0 1 1 0 8 0 lockfspl 48 19 0 17 1 0 1 1 0 8 0 sessionpl 144 49 0 34 1 0 1 1 0 8 0 pgrppl 48 73 0 51 1 0 1 1 0 8 0 ucredpl 104 518 0 500 1 0 1 1 0 8 0 zombiepl 144 615 0 615 1 0 1 1 0 8 1 processpl 1232 659 0 615 5 0 5 5 0 8 0 procpl 664 986 0 942 7 1 6 7 0 8 1 sosppl 176 3 0 3 1 0 1 1 0 8 1 sockpl 752 581 0 556 12 2 10 10 0 8 7 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 127 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 19 0 0 3 0 3 3 0 8 0 mextrefs 64 18 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 219 0 0 14 0 14 14 0 8 0 bufpl 272 2639 0 103 170 0 170 170 0 8 0 anonpl 32 7058 0 0 57 0 57 57 0 247 0 amapchunkpl 152 15274 0 14953 32 4 28 32 0 158 9 amappl16 200 2407 0 2391 17 6 11 14 0 8 8 amappl15 192 8 0 8 2 2 0 1 0 8 0 amappl14 184 419 0 418 1 0 1 1 0 8 0 amappl13 176 123 0 113 1 0 1 1 0 8 0 amappl12 168 879 0 852 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 62 0 52 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 1 0 1 0 8 0 amappl8 136 100 0 98 1 0 1 1 0 8 0 amappl7 128 158 0 147 1 0 1 1 0 8 0 amappl6 120 167 0 165 1 0 1 1 0 8 0 amappl5 112 102 0 95 1 0 1 1 0 8 0 amappl4 104 277 0 261 1 0 1 1 0 8 0 amappl3 96 2760 0 2682 5 1 4 4 0 8 0 amappl2 88 574 0 518 2 0 2 2 0 8 0 amappl1 80 12047 0 11508 16 2 14 16 0 8 0 amappl 88 4070 0 3957 6 1 5 6 0 92 1 uvmvnodes 80 103 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 643 0 615 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 643 0 615 1 0 1 1 0 8 0 vmmpekpl 168 7930 0 7891 3 0 3 3 0 8 0 vmmpepl 168 51594 0 49996 102 6 96 102 0 357 11 vmsppl 488 642 0 615 7 2 5 6 0 8 0 rwobjpl 80 17943 0 17076 26 2 24 24 0 8 2 pdppl 4096 1293 0 1230 117 36 81 93 0 8 18 pvpl 32 12918 0 0 105 0 105 105 0 265 0 pmappl 256 642 0 615 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 464 0 42 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ddf4c) at panic+0x1e5 sys/kern/subr_prf.c:198 unhandled_af(0) at unhandled_af+0x1a sys/net/if.c:-1 if_output_tso(ffff80000004e858,ffff80002a1d0650,ffff800000c43f40,fffff9007849cd10,5dc) at if_output_tso+0x22b ip_output(fffff9006df2b000,0,fffff9006fd01590,800,0,fffff9006fd01628,9a478fa4308c8fac) at ip_output+0x107b sys/netinet/ip_output.c:437 tcp_output(ffff8000015bc2e0) at tcp_output+0x36e3 sys/netinet/tcp_output.c:1070 tcp_input_solocked(ffff80002a1d0aa0,ffff80002a1d0aac,0,2,ffff80002a1d0a98) at tcp_input_solocked+0x5a40 sys/netinet/tcp_input.c:2041 tcp_input_mlist(ffffffff839e7cd0,2) at tcp_input_mlist+0x93 sys/netinet/tcp_input.c:-1 if_input_process(ffff80000004e858,ffff80002a1d0b88,0) at if_input_process+0x526 sys/net/if.c:1086 ifiq_process(ffff80000004ed08) 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{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002999dff0) 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(ffff80002999dff0) at sched_idle+0x371 sys/kern/kern_sched.c:192 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff80002999dff0) 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(ffff80002999dff0) at sched_idle+0x371 sys/kern/kern_sched.c:192 end trace frame: 0x0, count: -5