kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Sun Dec 22 13:18:52 PST 2019 OpenBSD/amd64 (ci-openbsd-multicore-3.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.137' (ECDSA) to the list of known hosts. 2019/12/22 13:19:14 parsed 1 programs 2019/12/22 13:19:20 executed programs: 0 2019/12/22 13:19:25 executed programs: 235 login: panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 222272 78897 0 0x2 0 0 syz-executor.0 *342322 5951 0 0x14000 0x200 1 softnet db_enter() at db_enter+0x18 panic(ffffffff821ecffc) at panic+0x15c sbdrop(fffffd806e966a88,fffffd806e966b78,54) at sbdrop+0x3c6 tcp_input(ffff800020a46f38,ffff800020a46f44,6,2) at tcp_input+0x3d73 ip_deliver(ffff800020a46f38,ffff800020a46f44,6,2) at ip_deliver+0x353 ip_ours(ffff800020a46f38,ffff800020a46f44,8b,0) at ip_ours+0x412 ip_input_if(ffff800020a46f38,ffff800020a46f44,4,0,ffff8000001732a8) at ip_input_if+0x6ce ipv4_input(ffff8000001732a8,fffffd806d606a00) at ipv4_input+0x48 ether_input(ffff8000001732a8,fffffd806d606a00,0) at ether_input+0x345 if_input_process(ffff8000001732a8,ffff800020a47068) at if_input_process+0xfb ifiq_process(ffff8000001736a0) at ifiq_process+0x80 taskq_thread(ffff800000023080) at taskq_thread+0x9c 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic sbdrop ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff821ecffc) at panic+0x15c sbdrop(fffffd806e966a88,fffffd806e966b78,54) at sbdrop+0x3c6 tcp_input(ffff800020a46f38,ffff800020a46f44,6,2) at tcp_input+0x3d73 ip_deliver(ffff800020a46f38,ffff800020a46f44,6,2) at ip_deliver+0x353 ip_ours(ffff800020a46f38,ffff800020a46f44,8b,0) at ip_ours+0x412 ip_input_if(ffff800020a46f38,ffff800020a46f44,4,0,ffff8000001732a8) at ip_input_if+0x6ce ipv4_input(ffff8000001732a8,fffffd806d606a00) at ipv4_input+0x48 ether_input(ffff8000001732a8,fffffd806d606a00,0) at ether_input+0x345 if_input_process(ffff8000001732a8,ffff800020a47068) at if_input_process+0xfb ifiq_process(ffff8000001736a0) at ifiq_process+0x80 taskq_thread(ffff800000023080) at taskq_thread+0x9c end trace frame: 0x0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a46ac0 rbx 0xffff800020a46b70 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81208dbf kprintf+0x16f r9 0x1 r10 0xf84941d854b0f4a5 r11 0x9b52d43b4f13dd1f r12 0x3000000008 r13 0xffff800020a46ad0 r14 0x100 r15 0x1 rip 0xffffffff81d4f1f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a46ab0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=342322 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a20768,0xffff800020a20288 process=0xffff800020a22a98 user=0xffff800020a42000, vmspace=0xffffffff826157f0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78897 222272 42319 0 7 0x2 syz-executor.0 42319 212349 15008 0 3 0x82 thrsleep syz-execprog 42319 497952 15008 0 3 0x4000082 nanosleep syz-execprog 42319 200430 15008 0 3 0x4000082 thrsleep syz-execprog 42319 192904 15008 0 3 0x4000082 nanosleep syz-execprog 42319 349387 15008 0 3 0x4000082 thrsleep syz-execprog 42319 238893 15008 0 3 0x4000082 thrsleep syz-execprog 42319 292400 15008 0 3 0x4000082 thrsleep syz-execprog 42319 270771 15008 0 3 0x4000082 kqread syz-execprog 42319 380538 15008 0 3 0x4000082 thrsleep syz-execprog 15008 49995 43911 0 3 0x10008a pause ksh 43911 405114 63457 0 3 0x92 select sshd 28769 260490 1 0 3 0x100083 ttyin getty 63457 208393 1 0 3 0x80 select sshd 54094 233569 35929 74 3 0x100092 bpf pflogd 35929 188766 1 0 3 0x80 netio pflogd 20052 228718 30292 73 3 0x100090 kqread syslogd 30292 490785 1 0 3 0x100082 netio syslogd 38607 334652 1 77 3 0x100090 poll dhclient 44768 416897 1 0 3 0x80 poll dhclient 78811 474675 0 0 3 0x14200 pgzero zerothread 82447 153625 0 0 3 0x14200 aiodoned aiodoned 73655 36333 0 0 3 0x14200 syncer update 71273 224654 0 0 3 0x14200 cleaner cleaner 58124 161457 0 0 3 0x14200 reaper reaper 32435 151263 0 0 3 0x14200 pgdaemon pagedaemon 23897 43502 0 0 3 0x14200 bored crynlk 37111 390826 0 0 3 0x14200 bored crypto 35131 40188 0 0 3 0x40014200 acpi0 acpi0 73109 13498 0 0 3 0x40014200 idle1 * 5951 342322 0 0 7 0x14200 softnet 33283 263447 0 0 3 0x14200 bored systqmp 64003 474340 0 0 3 0x14200 bored systq 72662 272659 0 0 3 0x40014200 bored softclock 212 211090 0 0 3 0x40014200 idle0 57392 344424 0 0 3 0x14200 bored smr 1 342399 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 78897 (syz-executor.0) thread 0xffff800020a6e280 (222272) exclusive rrwlock inode r = 0 (0xfffffd806b6835e8) #0 witness_lock+0x52e #1 rw_enter+0x453 #2 rrw_enter+0x88 #3 ufs_ihashins+0x45 #4 ffs_vget+0x13e #5 ffs_inode_alloc+0x1cf #6 ufs_mkdir+0xf4 #7 VOP_MKDIR+0xc6 #8 domkdirat+0x121 #9 syscall+0x4a4 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b6832b8) #0 witness_lock+0x52e #1 rw_enter+0x453 #2 rrw_enter+0x88 #3 VOP_LOCK+0xf9 #4 vn_lock+0x81 #5 vfs_lookup+0xe6 #6 namei+0x63c #7 domkdirat+0x75 #8 syscall+0x4a4 #9 Xsyscall+0x128 Process 5951 (softnet) thread 0xffff800020a204f0 (342322) shared rwlock netlock r = 0 (0xffffffff824b1238) #0 witness_lock+0x52e #1 if_input_process+0x84 #2 ifiq_process+0x80 #3 taskq_thread+0x9c #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff8000000230e0) #0 witness_lock+0x52e #1 taskq_thread+0x8f #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9465 6395K 6395K 78643K 10556 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 165 0 ifaddr 37 9K 9K 78643K 292 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1468 0 mount 1 1K 1K 78643K 1 0 vnodes 1181 74K 74K 78643K 1186 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 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 2 4K 12K 78643K 262 0 proc 59 63K 83K 78643K 398 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 18 79K 79K 78643K 18 0 exec 0 0K 1K 78643K 197 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 83 12K 12K 78643K 1709 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 5 0K 0K 78643K 7 0 temp 33 3022K 3086K 78643K 3812 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 4 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 17 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 2 2 0 1 0 8 0 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 517 0 511 1 0 1 1 0 8 0 nd6 48 2 0 0 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 10 0 2 1 0 1 1 0 8 0 pfstkey 112 10 0 2 1 0 1 1 0 8 0 pfstate 328 10 0 2 1 0 1 1 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 167 0 0 11 0 11 11 0 8 0 art_table 32 168 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1669 0 265 46 0 46 46 0 8 0 ffsino 272 1669 0 265 94 0 94 94 0 8 0 nchpl 144 2139 0 529 60 0 60 60 0 8 0 uvmvnodes 72 1679 0 0 31 0 31 31 0 8 0 vnodes 208 1679 0 0 89 0 89 89 0 8 0 namei 1024 5135 0 5134 2 1 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 5761 0 5761 7 1 6 6 0 8 6 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 432 469 0 456 2 0 2 2 0 8 0 futexpl 56 1880 0 1880 1 0 1 1 0 8 1 knotepl 112 39 0 28 1 0 1 1 0 8 0 kqueuepl 104 2 0 0 1 0 1 1 0 8 0 pipepl 160 148 0 135 2 1 1 1 0 8 0 fdescpl 488 470 0 456 3 0 3 3 0 8 0 filepl 152 1864 0 1806 3 0 3 3 0 8 0 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 52 0 43 1 0 1 1 0 8 0 zombiepl 144 456 0 456 2 1 1 1 0 8 1 processpl 904 485 0 456 4 0 4 4 0 8 0 procpl 632 983 0 946 4 0 4 4 0 8 0 sockpl 384 563 0 545 3 0 3 3 0 8 1 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 78 0 0 10 0 10 10 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 102 0 0 7 0 7 7 0 8 0 mbufpl: pool(0xffffffff8261e6