panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *400207 6550 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f2199) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da5b328,fffffd805da5b420,244) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d677d88,ffff80001d677d94,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d677d88,ffff80001d677d94,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d677d88,ffff80001d677d94,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d677d88,ffff80001d677d94,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806b728300) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806b728300,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d677e98) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d677e98) at if_input_process+0xf8 sys/net/if.c:942 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 end trace frame: 0x0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic sbdrop ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f2199) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da5b328,fffffd805da5b420,244) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d677d88,ffff80001d677d94,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d677d88,ffff80001d677d94,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d677d88,ffff80001d677d94,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d677d88,ffff80001d677d94,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806b728300) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806b728300,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d677e98) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d677e98) at if_input_process+0xf8 sys/net/if.c:942 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 end trace frame: 0x0, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d677910 rbx 0xffff80001d6779c0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8121e54f kprintf+0x15f r9 0x1 r10 0x2 r11 0x7303849d36a6fbfb r12 0x3000000008 r13 0xffff80001d677920 r14 0x100 r15 0x1 rip 0xffffffff81cb0468 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d677900 ss 0 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=400207 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d651000,0xffff80001d6514f0 process=0xffff8000ffffe000 user=0xffff80001d673000, vmspace=0xffffffff8280b010 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 2701 374601 0 0 3 0x14200 acct acct 26730 31643 0 0 3 0x14200 bored sosplice 5115 468049 48253 0 3 0x82 piperd syz-executor.0 26751 311099 48253 0 3 0x82 piperd syz-executor.1 48253 231068 96866 0 3 0x82 thrsleep syz-fuzzer 48253 341749 96866 0 3 0x4000082 nanosleep syz-fuzzer 48253 521515 96866 0 3 0x4000082 thrsleep syz-fuzzer 48253 415256 96866 0 3 0x4000082 thrsleep syz-fuzzer 48253 77854 96866 0 3 0x4000082 thrsleep syz-fuzzer 48253 365840 96866 0 2 0x4000002 syz-fuzzer 48253 183512 96866 0 3 0x4000082 thrsleep syz-fuzzer 48253 278880 96866 0 3 0x4000082 thrsleep syz-fuzzer 96866 499161 69659 0 3 0x10008a pause ksh 69659 274660 49983 0 3 0x92 select sshd 95170 12834 1 0 3 0x100083 ttyin getty 49983 256679 1 0 3 0x80 select sshd 97670 414584 17923 73 3 0x100090 kqread syslogd 17923 328019 1 0 3 0x100082 netio syslogd 82545 135759 1 77 3 0x100090 poll dhclient 59971 502723 1 0 3 0x80 poll dhclient 90741 129164 0 0 3 0x14200 bored smr 93348 485172 0 0 2 0x14200 zerothread 73513 314217 0 0 3 0x14200 aiodoned aiodoned 42716 369831 0 0 3 0x14200 syncer update 79236 206478 0 0 3 0x14200 cleaner cleaner 68668 343763 0 0 3 0x14200 reaper reaper 27100 432946 0 0 3 0x14200 pgdaemon pagedaemon 51030 307389 0 0 3 0x14200 bored crynlk 62836 357639 0 0 3 0x14200 bored crypto 82654 487572 0 0 3 0x40014200 acpi0 acpi0 * 6550 400207 0 0 7 0x14200 softnet 7676 232080 0 0 3 0x14200 bored systqmp 66604 225628 0 0 3 0x14200 bored systq 85212 188909 0 0 3 0x40014200 bored softclock 39499 142960 0 0 3 0x40014200 idle0 1 380987 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9490 6346K 6735K 78643K 10954 0 pcb 13 8K 8K 78643K 42 0 rtable 127 16K 16K 78643K 312 0 ifaddr 70 15K 15K 78643K 113 0 counters 21 16K 16K 78643K 27 0 ioctlops 0 0K 4K 78643K 46 0 iov 0 0K 16K 78643K 28 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1331 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 27 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 4 9K 25K 78643K 176 0 proc 49 38K 54K 78643K 374 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 9 0 in_multi 36 2K 2K 78643K 53 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 4 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 1K 78643K 191 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 116 22K 23K 78643K 1272 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 14 0 NDP 10 0K 0K 78643K 21 0 temp 92 3849K 3913K 78643K 9456 0 kqueue 3 4K 9K 78643K 14 0 SYN cache 2 16K 16K 78643K 2 0 ddb> 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 rtpcb 80 43 0 41 1 0 1 1 0 8 0 rtentry 112 52 0 9 2 0 2 2 0 8 0 unpcb 120 87 0 79 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 66 0 66 1 1 0 1 0 8 0 tcpcb 544 46 0 42 1 0 1 1 0 8 0 inpcb 280 139 0 132 1 0 1 1 0 8 0 nd6 48 8 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 18 0 8 1 0 1 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfrule 1360 10 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 239 0 46 13 0 13 13 0 8 0 art_table 32 240 0 46 2 0 2 2 0 8 0 art_node 16 51 0 11 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 21 0 11 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1642 0 243 88 0 88 88 0 8 0 ffsino 240 1642 0 243 83 0 83 83 0 8 0 nchpl 144 2164 0 576 60 0 60 60 0 8 0 uvmvnodes 72 1766 0 0 33 0 33 33 0 8 0 vnodes 208 1766 0 0 93 0 93 93 0 8 0 namei 1024 5613 0 5613 2 1 1 1 0 8 1 vmpool 528 2 0 2 1 1 0 1 0 8 0 pfiaddrpl 120 12 0 0 1 0 1 1 0 8 0 scxspl 192 6221 0 6221 2 1 1 1 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 424 364 0 335 4 0 4 4 0 8 0 futexpl 56 3179 0 3179 2 1 1 1 0 8 1 knotepl 112 76 0 57 1 0 1 1 0 8 0 kqueuepl 144 32 0 30 1 0 1 1 0 8 0 pipelkpl 16 104 0 94 1 0 1 1 0 8 0 pipepl 120 208 0 189 1 0 1 1 0 8 0 fdescpl 432 348 0 335 2 0 2 2 0 8 0 filepl 120 2133 0 2038 4 0 4 4 0 8 1 lockfpl 104 59 0 58 1 0 1 1 0 8 0 lockfspl 48 22 0 21 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 201 0 194 1 0 1 1 0 8 0 zombiepl 144 335 0 335 1 0 1 1 0 8 1 processpl 920 364 0 335 4 0 4 4 0 8 0 procpl 624 567 0 531 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 274 0 257 4 1 3 3 0 8 1 mcl64k 65536 4 0 4 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 4 0 4 2 2 0 1 0 8 0 mcl4k 4096 19 0 19 4 3 1 1 0 8 1 mcl2k 2048 74787 0 74738 15 8 7 13 0 8 0 mtagpl 80 26 0 4 2 1 1 1 0 8 0 mbufpl 256 120115 0 119994 16 3 13 15 0 8 3 bufpl 280 3670 0 128 253 0 253 253 0 8 0 anonpl 16 56508 0 40388 86 6 80 80 0 107 15 amapchunkpl 152 1870 0 1743 11 4 7 10 0 158 0 amappl16 192 2114 0 1234 64 13 51 56 0 8 7 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 28 0 19 1 0 1 1 0 8 0 amappl13 168 132 0 128 1 0 1 1 0 8 0 amappl12 160 12 0 10 1 0 1 1 0 8 0 amappl11 152 48 0 39 1 0 1 1 0 8 0 amappl10 144 59 0 53 1 0 1 1 0 8 0 amappl9 136 292 0 291 1 0 1 1 0 8 0 amappl8 128 320 0 283 2 0 2 2 0 8 0 amappl7 120 108 0 96 1 0 1 1 0 8 0 amappl6 112 30 0 23 1 0 1 1 0 8 0 amappl5 104 443 0 433 1 0 1 1 0 8 0 amappl4 96 526 0 496 1 0 1 1 0 8 0 amappl3 88 107 0 101 1 0 1 1 0 8 0 amappl2 80 1965 0 1908 2 0 2 2 0 8 0 amappl1 72 15799 0 15409 24 15 9 17 0 8 0 amappl 80 800 0 762 1 0 1 1 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 350 0 337 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 350 0 337 1 0 1 1 0 8 0 vmmpekpl 168 6497 0 6473 2 0 2 2 0 8 0 vmmpepl 168 48772 0 46923 145 49 96 139 0 357 11 vmsppl 272 349 0 337 2 1 1 2 0 8 0 pdppl 4096 706 0 674 6 1 5 6 0 8 0 pvpl 32 165420 0 146389 193 4 189 189 0 265 35 pmappl 200 349 0 337 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 250 0 24 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f2199) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da5b328,fffffd805da5b420,244) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d677d88,ffff80001d677d94,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d677d88,ffff80001d677d94,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d677d88,ffff80001d677d94,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d677d88,ffff80001d677d94,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806b728300) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806b728300,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d677e98) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d677e98) at if_input_process+0xf8 sys/net/if.c:942 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 end trace frame: 0x0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f2199) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da5b328,fffffd805da5b420,244) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d677d88,ffff80001d677d94,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d677d88,ffff80001d677d94,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d677d88,ffff80001d677d94,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d677d88,ffff80001d677d94,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806b728300) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806b728300,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d677e98) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d677e98) at if_input_process+0xf8 sys/net/if.c:942 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 end trace frame: 0x0, count: -12