Warning: Permanently added '10.128.1.136' (ED25519) to the list of known hosts. 2023/08/21 10:21:27 ignoring optional flag "sandboxArg"="0" 2023/08/21 10:21:27 parsed 1 programs 2023/08/21 10:21:29 executed programs: 0 panic: kernel diagnostic assertion "p->p_stat == SONPROC || p->p_stat == SSLEEP || p->p_stat == SSTOP" failed: file "/syzkaller/jobs/openbsd/kernel/sys/kern/kern_synch.c", line 408 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 170001 97727 0 0x2 0 1 syz-executor.3 db_enter() at db_enter+0x1c panic(ffffffff827a2df4) at panic+0x17b __assert(ffffffff8281e570,ffffffff82859076,198,ffffffff827ae635) at __assert+0x29 tsleep_nsec(0,1,991c81b7784c77be,120) at tsleep_nsec rwsleep(ffff800021291090,ffffffff82bcfd90,120,ffffffff82797d05,0) at rwsleep+0xab futex_wait(33848a283e0,3,0,2) at futex_wait+0x13d sys_futex(ffff800021291090,ffff8000213cd100,ffff8000213cd150) at sys_futex+0xfc syscall(ffff8000213cd1d0) at syscall+0x606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33845b732b0, count: 6 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: kernel diagnostic assertion "p->p_stat == SONPROC || p->p_stat == SSLEEP || p->p_stat == SSTOP" failed: file "/syzkaller/jobs/openbsd/kernel/sys/kern/kern_synch.c", line 408 ddb{0}> trace db_enter() at db_enter+0x1c panic(ffffffff827a2df4) at panic+0x17b __assert(ffffffff8281e570,ffffffff82859076,198,ffffffff827ae635) at __assert+0x29 tsleep_nsec(0,1,991c81b7784c77be,120) at tsleep_nsec rwsleep(ffff800021291090,ffffffff82bcfd90,120,ffffffff82797d05,0) at rwsleep+0xab futex_wait(33848a283e0,3,0,2) at futex_wait+0x13d sys_futex(ffff800021291090,ffff8000213cd100,ffff8000213cd150) at sys_futex+0xfc syscall(ffff8000213cd1d0) at syscall+0x606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33845b732b0, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000213cce10 rbx 0xffffffff82bdfb9f cpu_info_full_primary+0x2b9f rdx 0 rcx 0xffff800021291090 rax 0xffffffff82bdeff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x8807181abdf956d6 r11 0x3fde47f635b78307 r12 0xffffffff82bdf9a0 cpu_info_full_primary+0x29a0 r13 0 r14 0 r15 0x1 rip 0xffffffff8235dcac db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff8000213cce00 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.2) pid=109185 stat=run flags process=1800 proc=4080080 pri=73, usrpri=73, nice=20 forw=0x0, list=0xffff800021291600,0xffff800021290050 process=0xffff80002128d0e0 user=0xffff8000213c8000, vmspace=0xfffffd8069282028 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78209 254730 13100 0 2 0 syz-executor.1 3330 183144 34380 0 2 0 syz-executor.4 91430 98837 78878 0 3 0x3800 suspend syz-executor.2 *91430 109185 78878 0 2 0x4081880 syz-executor.2 78878 303792 28203 0 3 0x82 nanoslp syz-executor.2 34380 381743 28203 0 3 0x82 nanoslp syz-executor.4 56889 422196 28203 0 3 0x82 nanoslp syz-executor.7 13576 290667 28203 0 2 0x2 syz-executor.5 97727 170001 28203 0 7 0x2 syz-executor.3 89409 370932 28203 0 2 0x2 syz-executor.6 73354 423538 28203 0 3 0x82 nanoslp syz-executor.0 13100 382244 28203 0 2 0x2 syz-executor.1 28203 95226 85650 0 3 0x2000082 wait syz-execprog 28203 78093 85650 0 3 0x6000082 nanoslp syz-execprog 28203 363432 85650 0 3 0x6000082 wait syz-execprog 28203 12168 85650 0 3 0x6000082 thrsleep syz-execprog 28203 459254 85650 0 3 0x6000082 wait syz-execprog 28203 418729 85650 0 3 0x6000082 wait syz-execprog 28203 429289 85650 0 3 0x6000082 thrsleep syz-execprog 28203 385089 85650 0 3 0x6000082 wait syz-execprog 28203 495436 85650 0 3 0x6000082 wait syz-execprog 28203 53777 85650 0 3 0x6000082 wait syz-execprog 28203 403063 85650 0 3 0x6000082 thrsleep syz-execprog 28203 419594 85650 0 3 0x6000082 thrsleep syz-execprog 28203 160907 85650 0 3 0x6000082 kqread syz-execprog 28203 95214 85650 0 3 0x6000082 wait syz-execprog 28203 67439 85650 0 3 0x6000082 thrsleep syz-execprog 85650 220370 73614 0 3 0x10008a sigsusp ksh 73614 239014 92470 0 3 0x9a kqread sshd 38497 450725 1 0 3 0x100083 ttyin getty 92470 33391 1 0 3 0x88 kqread sshd 48368 386118 39346 74 3 0x1100092 bpf pflogd 39346 119208 1 0 3 0x80 netio pflogd 9545 398670 42814 73 3 0x1100090 kqread syslogd 42814 273452 1 0 3 0x100082 netio syslogd 19061 53463 1 0 3 0x100080 kqread resolvd 92256 426365 98052 77 3 0x100092 kqread dhcpleased 68755 505116 98052 77 3 0x100092 kqread dhcpleased 98052 190528 1 0 3 0x80 kqread dhcpleased 54664 514513 0 0 3 0x14200 bored smr 41702 325220 0 0 2 0x14200 zerothread 60887 139236 0 0 3 0x14200 aiodoned aiodoned 2613 250903 0 0 3 0x14200 syncer update 89339 359761 0 0 3 0x14200 cleaner cleaner 57700 389706 0 0 3 0x14200 reaper reaper 82648 366978 0 0 3 0x14200 pgdaemon pagedaemon 16519 400787 0 0 3 0x14200 bored viomb 73111 502730 0 0 3 0x40014200 acpi0 acpi0 27665 473784 0 0 3 0x40014200 idle1 10102 512145 0 0 3 0x14200 bored softnet3 16200 424447 0 0 3 0x14200 bored softnet2 64503 79002 0 0 3 0x14200 bored softnet1 65336 461419 0 0 3 0x14200 bored softnet0 12982 484932 0 0 3 0x14200 bored systqmp 76475 55664 0 0 3 0x14200 bored systq 70680 60685 0 0 3 0x40014200 bored softclock 41986 139426 0 0 3 0x40014200 idle0 1 236987 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82c97168) #0 witness_lock+0x447 #1 sleep_finish+0x142 #2 rwsleep+0xab #3 futex_wait+0x13d #4 sys_futex+0xfc #5 syscall+0x606 #6 Xsyscall+0x128 Process 97727 (syz-executor.3) thread 0xffff80002120f5f0 (170001) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82c5dab8) #0 witness_lock+0x447 #1 __mp_acquire_count+0x48 #2 mi_switch+0x4c6 #3 sleep_finish+0x19b #4 biowait+0x91 #5 bwrite+0x21c #6 VOP_BWRITE+0x4e #7 ufs_direnter+0x90a #8 ufs_mkdir+0x718 #9 VOP_MKDIR+0xc3 #10 domkdirat+0x125 #11 syscall+0x5e2 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80792346f8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1c2 #7 ufs_mkdir+0xf8 #8 VOP_MKDIR+0xc3 #9 domkdirat+0x125 #10 syscall+0x5e2 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8079a933d8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 #2 rrw_enter+0x8c #3 VOP_LOCK+0x8b #4 vn_lock+0x84 #5 vfs_lookup+0xd5 #6 namei+0x55a #7 domkdirat+0x79 #8 syscall+0x5e2 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10192 6475K 6475K 78643K 11273 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 386 0 pf 32 9K 10K 78643K 46 0 ifaddr 45 15K 15K 78643K 51 0 ifgroup 55 2K 2K 78643K 60 0 counters 60 35K 35K 78643K 62 0 ioctlops 0 0K 4K 78643K 1484 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1189 74K 74K 78643K 1205 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 1697 195K 286K 78643K 12548 0 file desc 13 45K 85K 78643K 397 0 proc 67 91K 115K 78643K 554 0 subproc 0 0K 0K 78643K 13 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 7K 7K 78643K 110 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 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 433 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 228 73K 75K 78643K 6506 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 12 0K 2K 78643K 31 0 temp 1 5904K 5968K 78643K 5495 0 kqueue 12 18K 18K 78643K 34 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 39 0 36 1 0 1 1 0 8 0 rtentry 112 122 0 12 4 0 4 4 0 8 0 unpcb 144 47 0 32 1 0 1 1 0 8 0 syncache 296 8 0 8 2 1 1 1 0 8 1 tcpqe 32 282 0 282 2 2 0 1 0 8 0 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 120 20 0 2 1 0 1 1 0 8 0 inpcb 368 73 0 67 1 0 1 1 0 8 0 nd6 136 27 0 3 2 1 1 1 0 8 0 kcovpl 48 1 0 1 1 1 0 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 25 0 4 1 0 1 1 0 8 0 pfstkey 128 25 0 4 1 0 1 1 0 8 0 pfstate 376 25 0 4 3 0 3 3 0 8 0 pfrule 1344 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 501 0 48 32 3 29 29 0 8 0 art_table 32 502 0 48 5 1 4 4 0 8 0 art_node 16 121 0 21 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1758 0 309 91 0 91 91 0 8 0 ffsino 272 1758 0 309 97 0 97 97 0 8 0 nchpl 144 2275 0 583 63 0 63 63 0 8 0 uvmvnodes 80 1785 0 0 37 0 37 37 0 8 0 vnodes 216 1785 0 0 100 0 100 100 0 8 0 namei 1024 9433 0 9433 4 2 2 2 0 8 2 percpumem 16 44 0 1 1 0 1 1 0 8 0 kstatmem 264 26 0 2 2 0 2 2 0 8 0 scxspl 216 9044 0 9044 10 9 1 8 1 8 1 plimitpl 152 292 0 273 1 0 1 1 0 8 0 sigapl 424 749 0 704 9 3 6 6 0 8 0 futexpl 64 702 0 701 2 1 1 1 0 8 0 knotepl 120 122 0 0 5 1 4 4 0 8 0 kqueuepl 216 30 0 22 1 0 1 1 0 8 0 pipepl 320 190 0 162 5 2 3 3 0 8 0 fdescpl 496 732 0 706 6 1 5 5 0 8 1 filepl 152 3122 0 2986 7 1 6 6 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 33 0 16 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 104 821 0 809 1 0 1 1 0 8 0 zombiepl 144 706 0 704 2 1 1 1 0 8 0 processpl 1072 749 0 704 5 1 4 4 0 8 0 procpl 696 1022 0 962 9 2 7 7 0 8 0 sockpl 488 159 0 135 5 1 4 4 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 349 0 0 42 0 42 42 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 377 0 0 23 0 23 23 0 8 0 bufpl 288 5202 0 142 362 0 362 362 0 8 0 anonpl 24 361941 0 357568 62 16 46 57 0 186 16 amapchunkpl 152 23272 0 22739 42 15 27 29 0 158 0 amappl16 200 10446 0 10379 8 3 5 5 0 8 0 amappl15 192 22 0 21 1 0 1 1 0 8 0 amappl14 184 218 0 205 3 1 2 2 0 8 1 amappl13 176 47 0 47 2 2 0 1 0 8 0 amappl12 168 1473 0 1448 4 2 2 2 0 8 0 amappl11 160 63 0 49 1 0 1 1 0 8 0 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 406 0 406 2 1 1 1 0 8 1 amappl8 136 244 0 214 3 1 2 2 0 8 0 amappl7 128 136 0 128 2 1 1 2 0 8 0 amappl6 120 307 0 288 2 1 1 2 0 8 0 amappl5 112 217 0 206 1 0 1 1 0 8 0 amappl4 104 793 0 751 4 2 2 3 0 8 0 amappl3 96 5186 0 5125 5 2 3 3 0 8 1 amappl2 88 1167 0 1101 4 1 3 3 0 8 1 amappl1 80 15960 0 15421 31 11 20 23 0 8 7 amappl 88 5805 0 5657 8 3 5 5 0 92 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 732 0 706 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 732 0 706 1 0 1 1 0 8 0 vmmpekpl 168 15484 0 15457 2 0 2 2 0 8 0 vmmpepl 168 79122 0 77498 122 16 106 119 0 357 28 vmsppl 464 731 0 706 6 1 5 5 0 8 1 rwobjpl 56 35477 0 32680 54 10 44 47 0 8 2 pdppl 4096 1472 0 1412 126 56 70 80 0 8 10 pvpl 32 711588 0 702217 366 80 286 366 0 265 201 pmappl 248 731 0 706 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 788 0 63 21 0 21 21 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x1c panic(ffffffff827a2df4) at panic+0x17b __assert(ffffffff8281e570,ffffffff82859076,198,ffffffff827ae635) at __assert+0x29 tsleep_nsec(0,1,991c81b7784c77be,120) at tsleep_nsec rwsleep(ffff800021291090,ffffffff82bcfd90,120,ffffffff82797d05,0) at rwsleep+0xab futex_wait(33848a283e0,3,0,2) at futex_wait+0x13d sys_futex(ffff800021291090,ffff8000213cd100,ffff8000213cd150) at sys_futex+0xfc syscall(ffff8000213cd1d0) at syscall+0x606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33845b732b0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82c96f60) at __mp_lock+0x133 wakeup_n(fffffd806f0b3360,ffffffff) at wakeup_n+0x37 knote_enqueue(fffffd806d447080) at knote_enqueue+0x19d knote_locked(fffffd8079a79840,0) at knote_locked+0x18d pipe_read(fffffd806be00ef8,ffff800021333838,0) at pipe_read+0x4b3 dofilereadv(ffff80002120f5f0,f9,ffff800021333838,0,ffff800021333920) at dofilereadv+0x1a2 sys_read(ffff80002120f5f0,ffff8000213338d0,ffff800021333920) at sys_read+0x87 syscall(ffff8000213339a0) at syscall+0x606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79bec693f370, count: 3 ddb{1}> trace x86_ipi_db(ffff800020d58ff0) at x86_ipi_db+0x1e x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82c96f60) at __mp_lock+0x133 wakeup_n(fffffd806f0b3360,ffffffff) at wakeup_n+0x37 knote_enqueue(fffffd806d447080) at knote_enqueue+0x19d knote_locked(fffffd8079a79840,0) at knote_locked+0x18d pipe_read(fffffd806be00ef8,ffff800021333838,0) at pipe_read+0x4b3 dofilereadv(ffff80002120f5f0,f9,ffff800021333838,0,ffff800021333920) at dofilereadv+0x1a2 sys_read(ffff80002120f5f0,ffff8000213338d0,ffff800021333920) at sys_read+0x87 syscall(ffff8000213339a0) at syscall+0x606 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79bec693f370, count: -12