panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 111493 26764 0 0 0 1 syz-executor.1 *175831 48716 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82426792) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd806eaddaf8,fffffd806eaddbf0,620) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 tcp_input(ffff800020da8fc8,ffff800020da8fd4,6,2) at tcp_input+0x3d94 sys/netinet/tcp_input.c:1725 ip_deliver(ffff800020da8fc8,ffff800020da8fd4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020da8fc8,ffff800020da8fd4,ffff800020d88270,0) at ip_ours+0x412 ip_input_if(ffff800020da8fc8,ffff800020da8fd4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd807f01f400) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd807f01f400,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020da90f8) at if_input_process+0x10b if_ih_input sys/net/if.c:902 [inline] if_input_process(ffff80000017b2a8,ffff800020da90f8) at if_input_process+0x10b sys/net/if.c:936 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002c000) at taskq_thread+0xec sys/kern/kern_task.c:437 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic sbdrop ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82426792) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd806eaddaf8,fffffd806eaddbf0,620) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 tcp_input(ffff800020da8fc8,ffff800020da8fd4,6,2) at tcp_input+0x3d94 sys/netinet/tcp_input.c:1725 ip_deliver(ffff800020da8fc8,ffff800020da8fd4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020da8fc8,ffff800020da8fd4,ffff800020d88270,0) at ip_ours+0x412 ip_input_if(ffff800020da8fc8,ffff800020da8fd4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd807f01f400) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd807f01f400,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020da90f8) at if_input_process+0x10b if_ih_input sys/net/if.c:902 [inline] if_input_process(ffff80000017b2a8,ffff800020da90f8) at if_input_process+0x10b sys/net/if.c:936 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002c000) at taskq_thread+0xec sys/kern/kern_task.c:437 end trace frame: 0x0, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020da8b50 rbx 0xffff800020da8c00 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8239351f kprintf+0x16f r9 0x1 r10 0x2 r11 0x20c39e598a2fb59e r12 0x3000000008 r13 0xffff800020da8b60 r14 0x100 r15 0x1 rip 0xffffffff81ef4318 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020da8b40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (softnet) pid=175831 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020d88000,0xffff800020d884f0 process=0xffff800020d8a3d8 user=0xffff800020da4000, vmspace=0xffffffff828f4b50 estcpu=0, cpticks=0, pctcpu=1.57 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 67662 178615 98086 0 2 0 syz-executor.0 67662 430494 98086 0 2 0x4000000 syz-executor.0 26764 111493 87633 0 7 0 syz-executor.1 26764 256785 87633 0 3 0x4000080 fsleep syz-executor.1 26764 38284 87633 0 2 0x4000000 syz-executor.1 87633 464099 60982 0 3 0x82 nanosleep syz-executor.1 98086 456739 60982 0 3 0x82 nanosleep syz-executor.0 60982 148945 73127 0 3 0x82 thrsleep syz-fuzzer 60982 245502 73127 0 3 0x4000082 nanosleep syz-fuzzer 60982 237438 73127 0 3 0x4000082 thrsleep syz-fuzzer 60982 174675 73127 0 3 0x4000082 thrsleep syz-fuzzer 60982 360095 73127 0 3 0x4000082 thrsleep syz-fuzzer 60982 330422 73127 0 3 0x4000082 thrsleep syz-fuzzer 60982 154669 73127 0 3 0x4000082 thrsleep syz-fuzzer 60982 232315 73127 0 3 0x4000082 kqread syz-fuzzer 60982 128148 73127 0 3 0x4000082 thrsleep syz-fuzzer 60982 34973 73127 0 3 0x4000082 nanosleep syz-fuzzer 73127 490212 39036 0 3 0x10008a pause ksh 39036 497929 38928 0 3 0x92 select sshd 61896 375705 1 0 3 0x100083 ttyin getty 38928 504077 1 0 3 0x80 select sshd 62159 236782 52174 74 3 0x100092 bpf pflogd 52174 369891 1 0 3 0x80 netio pflogd 77426 193128 6358 73 3 0x100090 kqread syslogd 6358 186849 1 0 3 0x100082 netio syslogd 7279 126207 1 77 3 0x100090 poll dhclient 7496 412866 1 0 3 0x80 poll dhclient 23530 394972 0 0 3 0x14200 bored smr 10798 29360 0 0 2 0x14200 zerothread 22148 320566 0 0 3 0x14200 aiodoned aiodoned 67488 102697 0 0 3 0x14200 syncer update 37319 505304 0 0 3 0x14200 cleaner cleaner 10089 194126 0 0 3 0x14200 reaper reaper 67555 147022 0 0 3 0x14200 pgdaemon pagedaemon 18938 471852 0 0 3 0x14200 bored crynlk 9276 314416 0 0 3 0x14200 bored crypto 93735 305156 0 0 3 0x40014200 acpi0 acpi0 46268 403403 0 0 3 0x40014200 idle1 *48716 175831 0 0 7 0x14200 softnet 71349 381492 0 0 3 0x14200 bored systqmp 25821 162408 0 0 3 0x14200 bored systq 17614 133709 0 0 3 0x40014200 bored softclock 73881 475365 0 0 3 0x40014200 idle0 1 42755 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 48716 (softnet) thread 0xffff800020d88270 (175831) exclusive rwlock netlock r = 0 (0xffffffff8273c6c8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 if_input_process+0x85 sys/net/if.c:935 #2 ifiq_process+0x80 sys/net/ifq.c:646 #3 taskq_thread+0xec sys/kern/kern_task.c:437 #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff80000002c070) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 taskq_thread+0xdf sys/kern/kern_task.c:436 #2 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9473 6399K 6407K 78643K 10577 0 pcb 13 8K 8K 78643K 21 0 rtable 105 3K 3K 78643K 209 0 ifaddr 44 10K 11K 78643K 56 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1469 0 iov 0 0K 0K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1226 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 1K 1K 78643K 2 0 sem 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 48 0 proc 59 63K 95K 78643K 438 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 2 0 in_multi 33 2K 2K 78643K 44 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 207 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 112 22K 22K 78643K 1063 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 2 0 NDP 6 0K 0K 78643K 13 0 temp 68 3856K 3920K 78643K 2044 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 80 19 0 17 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 25 0 15 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 71 0 71 1 0 1 1 0 8 1 tcpcb 544 16 0 12 1 0 1 1 0 8 0 inpcb 296 69 0 61 2 0 2 2 0 8 1 nd6 48 8 0 2 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 13 0 0 1 0 1 1 0 8 0 pfstkey 112 13 0 0 1 0 1 1 0 8 0 pfstate 328 13 0 0 2 0 2 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 46 0 6 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1444 0 39 88 0 88 88 0 8 0 ffsino 272 1444 0 39 94 0 94 94 0 8 0 nchpl 144 1683 0 73 60 0 60 60 0 8 0 uvmvnodes 72 1490 0 0 28 0 28 28 0 8 0 vnodes 208 1490 0 0 79 0 79 79 0 8 0 namei 1024 4421 0 4421 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 scxspl 192 4817 0 4817 2 1 1 2 0 8 1 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 424 263 0 231 4 0 4 4 0 8 0 futexpl 56 221 0 220 1 0 1 1 0 8 0 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipelkpl 48 78 0 68 1 0 1 1 0 8 0 pipepl 120 156 0 137 1 0 1 1 0 8 0 fdescpl 496 248 0 231 3 0 3 3 0 8 0 filepl 152 1222 0 1121 5 0 5 5 0 8 1 lockfpl 104 8 0 7 1 0 1 1 0 8 0 lockfspl 48 4 0 3 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 65 0 56 1 0 1 1 0 8 0 zombiepl 144 231 0 231 1 0 1 1 0 8 1 processpl 984 263 0 231 5 0 5 5 0 8 1 procpl 624 305 0 261 4 0 4 4 0 8 0 sockpl 400 113 0 93 3 0 3 3 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 160 0 0 19 0 19 19 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 186 0 0 12 0 12 12 0 8 0 bufpl 280 3375 0 132 232 0 232 232 0 8 0 anonpl 16 39277 0 23678 64 1 63 63 0 124 0 amapchunkpl 152 1089 0 937 9 0 9 9 0 158 1 amappl16 192 1005 0 169 42 0 42 42 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 30 0 25 1 0 1 1 0 8 0 amappl13 168 40 0 34 1 0 1 1 0 8 0 amappl12 160 11 0 9 1 0 1 1 0 8 0 amappl11 152 57 0 42 1 0 1 1 0 8 0 amappl10 144 25 0 18 1 0 1 1 0 8 0 amappl9 136 395 0 393 1 0 1 1 0 8 0 amappl8 128 337 0 309 2 0 2 2 0 8 0 amappl7 120 118 0 107 1 0 1 1 0 8 0 amappl6 112 27 0 25 1 0 1 1 0 8 0 amappl5 104 142 0 124 1 0 1 1 0 8 0 amappl4 96 495 0 464 1 0 1 1 0 8 0 amappl3 88 106 0 100 1 0 1 1 0 8 0 amappl2 80 1028 0 951 2 0 2 2 0 8 0 amappl1 72 15654 0 15187 23 6 17 18 0 8 7 amappl 80 558 0 512 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 248 0 231 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 248 0 231 1 0 1 1 0 8 0 vmmpekpl 168 6036 0 6004 2 0 2 2 0 8 0 vmmpepl 168 37439 0 35335 121 5 116 116 0 357 24 vmsppl 368 247 0 231 2 0 2 2 0 8 0 pdppl 4096 503 0 462 6 0 6 6 0 8 0 pvpl 32 136099 0 117320 152 0 152 152 0 265 0 pmappl 232 247 0 231 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 252 0 3 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82426792) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd806eaddaf8,fffffd806eaddbf0,620) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 tcp_input(ffff800020da8fc8,ffff800020da8fd4,6,2) at tcp_input+0x3d94 sys/netinet/tcp_input.c:1725 ip_deliver(ffff800020da8fc8,ffff800020da8fd4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020da8fc8,ffff800020da8fd4,ffff800020d88270,0) at ip_ours+0x412 ip_input_if(ffff800020da8fc8,ffff800020da8fd4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd807f01f400) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd807f01f400,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020da90f8) at if_input_process+0x10b if_ih_input sys/net/if.c:902 [inline] if_input_process(ffff80000017b2a8,ffff800020da90f8) at if_input_process+0x10b sys/net/if.c:936 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002c000) at taskq_thread+0xec sys/kern/kern_task.c:437 end trace frame: 0x0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb kd_curproc sys/dev/kcov.c:75 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:79 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbbd60, count: 10 ddb{1}> trace x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb kd_curproc sys/dev/kcov.c:75 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:79 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbbd60, count: -5