panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *512144 19441 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fc389) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac6328,fffffd805dac6420,534) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d7086e8,ffff80001d7086f4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d7086e8,ffff80001d7086f4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d7086e8,ffff80001d7086f4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d7086e8,ffff80001d7086f4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80696d7d00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80696d7d00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7087f8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7087f8) at if_input_process+0xf8 sys/net/if.c:943 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff8000000290c0) at taskq_thread+0x52 sys/kern/kern_task.c:370 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(ffffffff821fc389) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac6328,fffffd805dac6420,534) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d7086e8,ffff80001d7086f4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d7086e8,ffff80001d7086f4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d7086e8,ffff80001d7086f4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d7086e8,ffff80001d7086f4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80696d7d00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80696d7d00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7087f8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7087f8) at if_input_process+0xf8 sys/net/if.c:943 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff8000000290c0) at taskq_thread+0x52 sys/kern/kern_task.c:370 end trace frame: 0x0, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d708270 rbx 0xffff80001d708320 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d708230 r9 0x1 r10 0 r11 0xf0ca4f74825b2e72 r12 0x3000000008 r13 0xffff80001d708280 r14 0x100 r15 0x1 rip 0xffffffff81259218 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d708260 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=512144 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e19c0,0xffff80001d6e1010 process=0xffff8000fffff1f8 user=0xffff80001d703000, vmspace=0xffffffff825c4708 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 58276 241805 95994 0 2 0 syz-executor.1 58276 393665 95994 0 3 0x4000080 poll syz-executor.1 58276 73704 95994 0 3 0x4000080 fsleep syz-executor.1 63982 503352 75357 0 2 0 syz-executor.0 63982 405264 75357 0 2 0x4000000 syz-executor.0 95093 207728 0 0 3 0x14200 bored sosplice 33432 427419 1 0 3 0x100083 ttyin getty 75357 396811 9153 0 3 0x82 nanosleep syz-executor.0 95994 517054 9153 0 3 0x82 nanosleep syz-executor.1 9153 330498 89123 0 3 0x82 thrsleep syz-fuzzer 9153 198369 89123 0 3 0x4000082 thrsleep syz-fuzzer 9153 367449 89123 0 3 0x4000082 thrsleep syz-fuzzer 9153 407917 89123 0 3 0x4000082 thrsleep syz-fuzzer 9153 326148 89123 0 3 0x4000082 thrsleep syz-fuzzer 9153 10016 89123 0 3 0x4000082 kqread syz-fuzzer 9153 317341 89123 0 3 0x4000082 thrsleep syz-fuzzer 89123 423807 83004 0 3 0x10008a pause ksh 83004 44807 24422 0 3 0x92 select sshd 24422 83732 1 0 3 0x80 select sshd 44409 237189 66966 73 3 0x100090 kqread syslogd 66966 265739 1 0 3 0x100082 netio syslogd 47429 175031 1 77 3 0x100090 poll dhclient 40015 478528 1 0 3 0x80 poll dhclient 72113 56961 0 0 3 0x14200 bored smr 32535 74109 0 0 2 0x14200 zerothread 9899 439316 0 0 3 0x14200 aiodoned aiodoned 76913 523972 0 0 3 0x14200 syncer update 86162 453587 0 0 3 0x14200 cleaner cleaner 27426 197823 0 0 3 0x14200 reaper reaper 48357 60448 0 0 3 0x14200 pgdaemon pagedaemon 18957 497764 0 0 3 0x14200 bored crynlk 22375 131328 0 0 3 0x14200 bored crypto 86417 382171 0 0 3 0x40014200 acpi0 acpi0 *19441 512144 0 0 7 0x14200 softnet 60430 20199 0 0 3 0x14200 bored systqmp 8362 161227 0 0 3 0x14200 bored systq 64945 351530 0 0 3 0x40014200 bored softclock 6632 51919 0 0 3 0x40014200 idle0 1 132710 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 9502 6352K 6782K 78643K 11339 0 pcb 13 8K 8K 78643K 79 0 rtable 115 4K 4K 78643K 352 0 ifaddr 76 15K 15K 78643K 147 0 counters 21 16K 16K 78643K 33 0 ioctlops 0 0K 2K 78643K 50 0 iov 0 0K 16K 78643K 78 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1455 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 29 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1808 195K 288K 78643K 12860 0 file desc 6 17K 25K 78643K 414 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 63K 78643K 392 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 46 0 in_multi 55 2K 3K 78643K 119 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 230 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 132 71K 87K 78643K 1903 0 UVM aobj 8 2K 2K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 94 0 NDP 12 0K 0K 78643K 31 0 temp 98 3038K 3102K 78643K 12195 0 kqueue 3 4K 22K 78643K 154 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 9 0 1 1 0 1 1 0 8 0 rtpcb 80 55 0 53 1 0 1 1 0 8 0 rtentry 112 71 0 25 2 0 2 2 0 8 0 unpcb 120 195 0 186 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 125 0 125 1 1 0 1 0 8 0 tcpcb 544 174 0 170 1 0 1 1 0 8 0 ipq 40 4 0 4 3 2 1 1 0 8 1 ipqe 40 10 0 10 3 2 1 1 0 8 1 inpcb 280 809 0 799 3 1 2 2 0 8 1 rttmr 72 2 0 2 1 0 1 1 0 8 1 nd6 48 11 0 7 1 0 1 1 0 8 0 pkpcb 40 4 0 4 3 2 1 1 0 8 1 ppxss 1128 4 0 4 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 314 0 121 14 0 14 14 0 8 0 art_table 32 316 0 121 2 0 2 2 0 8 0 art_node 16 70 0 27 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 25 0 15 1 0 1 1 0 8 0 shmpl 112 10 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1988 0 588 88 0 88 88 0 8 0 ffsino 240 1988 0 588 83 0 83 83 0 8 0 nchpl 144 2935 0 1334 60 0 60 60 0 8 0 uvmvnodes 72 2191 0 0 40 0 40 40 0 8 0 vnodes 208 2191 0 0 116 0 116 116 0 8 0 namei 1024 7803 0 7803 1 0 1 1 0 8 1 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 16 0 8 1 0 1 1 0 8 0 scxspl 192 7681 0 7681 1 0 1 1 0 8 1 plimitpl 152 78 0 71 1 0 1 1 0 8 0 sigapl 424 602 0 572 4 0 4 4 0 8 0 futexpl 56 8875 0 8874 1 0 1 1 0 8 0 knotepl 112 355 0 336 2 1 1 2 0 8 0 kqueuepl 144 438 0 435 1 0 1 1 0 8 0 pipelkpl 16 154 0 143 1 0 1 1 0 8 0 pipepl 120 308 0 287 2 0 2 2 0 8 1 fdescpl 432 587 0 572 2 0 2 2 0 8 0 filepl 120 4407 0 4303 5 0 5 5 0 8 1 lockfpl 104 107 0 106 1 0 1 1 0 8 0 lockfspl 48 37 0 36 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 455 0 448 1 0 1 1 0 8 0 zombiepl 144 572 0 572 1 0 1 1 0 8 1 processpl 920 602 0 572 4 0 4 4 0 8 0 procpl 624 1155 0 1116 4 0 4 4 0 8 1 sosppl 128 4 0 4 2 2 0 1 0 8 0 sockpl 400 1063 0 1042 5 1 4 4 0 8 1 mcl64k 65536 49 0 46 1 0 1 1 0 8 0 mcl16k 16384 6 0 6 2 2 0 1 0 8 0 mcl12k 12288 7 0 7 3 2 1 1 0 8 1 mcl9k 9216 4 0 4 3 2 1 1 0 8 1 mcl8k 8192 5 0 5 4 3 1 1 0 8 1 mcl4k 4096 39 0 39 1 0 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 64782 0 64739 16 9 7 13 0 8 1 mtagpl 80 58 0 2 3 1 2 2 0 8 0 mbufpl 256 105973 0 105362 43 3 40 40 0 8 0 bufpl 280 5381 0 125 376 0 376 376 0 8 0 anonpl 16 132332 0 117608 97 21 76 76 0 107 15 amapchunkpl 152 5006 0 4859 35 15 20 20 0 158 13 amappl16 192 6724 0 5914 66 17 49 53 0 8 8 amappl15 184 6 0 3 1 0 1 1 0 8 0 amappl14 176 28 0 22 1 0 1 1 0 8 0 amappl13 168 31 0 29 1 0 1 1 0 8 0 amappl12 160 8 0 6 2 1 1 1 0 8 0 amappl11 152 43 0 34 1 0 1 1 0 8 0 amappl10 144 396 0 387 1 0 1 1 0 8 0 amappl9 136 371 0 370 1 0 1 1 0 8 0 amappl8 128 339 0 296 2 0 2 2 0 8 0 amappl7 120 486 0 472 1 0 1 1 0 8 0 amappl6 112 26 0 22 1 0 1 1 0 8 0 amappl5 104 532 0 519 1 0 1 1 0 8 0 amappl4 96 429 0 402 1 0 1 1 0 8 0 amappl3 88 108 0 103 1 0 1 1 0 8 0 amappl2 80 3883 0 3808 2 0 2 2 0 8 0 amappl1 72 19962 0 19529 24 15 9 17 0 8 0 amappl 80 1406 0 1359 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 11 0 4 1 0 1 1 0 8 0 uaddrrnd 24 603 0 580 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 603 0 580 1 0 1 1 0 8 0 vmmpekpl 168 7820 0 7790 2 0 2 2 0 8 0 vmmpepl 168 80501 0 78450 154 43 111 131 0 357 21 vmsppl 272 602 0 580 3 1 2 2 0 8 0 pdppl 4096 1212 0 1168 7 1 6 6 0 8 0 pvpl 32 356938 0 339146 223 39 184 223 0 265 40 pmappl 200 602 0 580 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 280 0 22 8 0 8 8 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(ffffffff821fc389) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac6328,fffffd805dac6420,534) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d7086e8,ffff80001d7086f4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d7086e8,ffff80001d7086f4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d7086e8,ffff80001d7086f4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d7086e8,ffff80001d7086f4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80696d7d00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80696d7d00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7087f8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7087f8) at if_input_process+0xf8 sys/net/if.c:943 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff8000000290c0) at taskq_thread+0x52 sys/kern/kern_task.c:370 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(ffffffff821fc389) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac6328,fffffd805dac6420,534) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d7086e8,ffff80001d7086f4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d7086e8,ffff80001d7086f4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d7086e8,ffff80001d7086f4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d7086e8,ffff80001d7086f4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80696d7d00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80696d7d00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7087f8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7087f8) at if_input_process+0xf8 sys/net/if.c:943 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff8000000290c0) at taskq_thread+0x52 sys/kern/kern_task.c:370 end trace frame: 0x0, count: -12