kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Wed Feb 23 22:02:38 PST 2022 OpenBSD/amd64 (ci-openbsd-setuid-0.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.1.52' (ED25519) to the list of known hosts. 2022/02/23 22:08:55 parsed 1 programs 2022/02/23 22:08:59 executed programs: 0 2022/02/23 22:09:04 executed programs: 342 2022/02/23 22:09:09 executed programs: 751 2022/02/23 22:09:14 executed programs: 1177 2022/02/23 22:09:19 executed programs: 1586 2022/02/23 22:09:24 executed programs: 1993 2022/02/23 22:09:29 executed programs: 2403 2022/02/23 22:09:34 executed programs: 2808 2022/02/23 22:09:39 executed programs: 3216 2022/02/23 22:09:44 executed programs: 3628 2022/02/23 22:09:49 executed programs: 4027 2022/02/23 22:09:54 executed programs: 4436 2022/02/23 22:09:59 executed programs: 4847 2022/02/23 22:10:04 executed programs: 5261 2022/02/23 22:10:09 executed programs: 5680 2022/02/23 22:10:14 executed programs: 6085 2022/02/23 22:10:19 executed programs: 6487 2022/02/23 22:10:24 executed programs: 6888 2022/02/23 22:10:29 executed programs: 7295 2022/02/23 22:10:34 executed programs: 7700 2022/02/23 22:10:39 executed programs: 8107 2022/02/23 22:10:44 executed programs: 8530 login: panic: kernel diagnostic assertion "next != NULL && next->start <= entry->end" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_fault.c", line 1643 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 369059 76226 0 0 0 0 syz-executor.5 * 62104 1029 0 0 0x4000000 1K syz-executor.6 db_enter() at db_enter+0x18 panic(ffffffff8257189e) at panic+0x177 __assert(ffffffff825ea8fa,ffffffff825488d3,66b,ffffffff825585ce) at __assert+0x25 uvm_fault_unwire_locked(fffffd80721b4180,20000000,20011000) at uvm_fault_unwire_locked+0x2eb uvm_fault_unwire(fffffd80721b4180,20000000,20011000) at uvm_fault_unwire+0x3f sys_sysctl(ffff8000ffff7510,ffff800021359218,ffff800021359270) at sys_sysctl+0x229 syscall(ffff8000213592e0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd61f8088510, count: 7 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 *cpu1: kernel diagnostic assertion "next != NULL && next->start <= entry->end" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_fault.c", line 1643 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff8257189e) at panic+0x177 __assert(ffffffff825ea8fa,ffffffff825488d3,66b,ffffffff825585ce) at __assert+0x25 uvm_fault_unwire_locked(fffffd80721b4180,20000000,20011000) at uvm_fault_unwire_locked+0x2eb uvm_fault_unwire(fffffd80721b4180,20000000,20011000) at uvm_fault_unwire+0x3f sys_sysctl(ffff8000ffff7510,ffff800021359218,ffff800021359270) at sys_sysctl+0x229 syscall(ffff8000213592e0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd61f8088510, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800021358fa0 rbx 0xffff800020ce9bff rdx 0x3fd rcx 0 rax 0x9f r8 0x101010101010101 r9 0x8080808080808080 r10 0x215985550a8be1dc r11 0xea736bc00f16cc6 r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81d872c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021358f90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.6) pid=62104 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff67f0,0xffff8000ffff6aa0 process=0xffff80002122b620 user=0xffff800021354000, vmspace=0xfffffd80721b4180 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 43218 419594 83868 0 2 0 syz-executor.1 76226 369059 14994 0 7 0 syz-executor.5 76226 198023 14994 0 2 0x4000000 syz-executor.5 76226 496196 14994 0 2 0x4000000 syz-executor.5 52393 209813 57019 0 2 0 syz-executor.0 52393 62156 57019 0 3 0x4000080 fsleep syz-executor.0 52393 498288 57019 0 3 0x4000080 fsleep syz-executor.0 1029 27075 3195 0 2 0 syz-executor.6 1029 48091 3195 0 3 0x4000080 fsleep syz-executor.6 * 1029 62104 3195 0 7 0x4000000 syz-executor.6 4723 64655 65388 0 2 0 syz-executor.4 4723 243123 65388 0 3 0x4000080 fsleep syz-executor.4 4723 6316 65388 0 3 0x4000080 fsleep syz-executor.4 14994 373471 38553 0 3 0x82 nanoslp syz-executor.5 16234 377052 38553 0 2 0x2 syz-executor.2 65388 435822 38553 0 3 0x82 nanoslp syz-executor.4 3195 348549 38553 0 3 0x82 nanoslp syz-executor.6 27331 221622 38553 0 3 0x2 biowait syz-executor.3 91344 489935 38553 0 3 0x82 nanoslp syz-executor.7 83868 259122 38553 0 3 0x82 nanoslp syz-executor.1 57019 377366 38553 0 3 0x82 nanoslp syz-executor.0 38553 40320 86470 0 3 0x82 kqread syz-execprog 38553 151729 86470 0 3 0x4000082 nanoslp syz-execprog 38553 189618 86470 0 3 0x4000082 thrsleep syz-execprog 38553 25731 86470 0 3 0x4000082 thrsleep syz-execprog 38553 50697 86470 0 3 0x4000082 nanoslp syz-execprog 38553 312855 86470 0 3 0x4000082 thrsleep syz-execprog 38553 80044 86470 0 3 0x4000082 thrsleep syz-execprog 38553 86188 86470 0 3 0x4000082 thrsleep syz-execprog 38553 194840 86470 0 3 0x4000082 thrsleep syz-execprog 86470 166398 7858 0 3 0x10008a sigsusp ksh 7858 156878 94853 0 3 0x9a kqread sshd 67442 445098 1 0 3 0x100083 ttyin getty 94853 318325 1 0 3 0x88 kqread sshd 47504 45359 82132 73 3 0x1100090 kqread syslogd 82132 162892 1 0 3 0x100082 netio syslogd 69430 421735 1 0 3 0x100080 kqread resolvd 86907 106477 76763 77 3 0x100092 kqread dhcpleased 6697 327797 76763 77 3 0x100092 kqread dhcpleased 76763 450020 1 0 3 0x80 kqread dhcpleased 47281 218234 0 0 3 0x14200 bored smr 7802 408351 0 0 2 0x14200 zerothread 36801 14140 0 0 3 0x14200 aiodoned aiodoned 18190 261786 0 0 3 0x14200 syncer update 46120 318061 0 0 3 0x14200 cleaner cleaner 87775 149238 0 0 3 0x14200 reaper reaper 16618 211885 0 0 3 0x14200 pgdaemon pagedaemon 42859 384338 0 0 3 0x14200 bored viomb 49299 488667 0 0 3 0x40014200 acpi0 acpi0 92578 116041 0 0 3 0x40014200 idle1 55404 259317 0 0 3 0x14200 bored softnet 44296 109798 0 0 3 0x14200 bored systqmp 44801 324741 0 0 3 0x14200 bored systq 75526 214827 0 0 3 0x40014200 bored softclock 41655 98676 0 0 3 0x40014200 idle0 1 259523 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 1029 (syz-executor.6) thread 0xffff8000ffff7510 (62104) exclusive rwlock amaplk r = 0 (0xfffffd80735cec20) #0 witness_lock+0x44d #1 uvm_map_lock_entry+0x36 #2 uvm_fault_unwire_locked+0x1e8 #3 uvm_fault_unwire+0x3f #4 sys_sysctl+0x229 #5 syscall+0x489 #6 Xsyscall+0x128 shared rwlock vmmaplk r = 0 (0xfffffd80721b4198) #0 witness_lock+0x44d #1 uvm_fault_unwire+0x31 #2 sys_sysctl+0x229 #3 syscall+0x489 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82b73a20) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 #2 mi_switch+0x3d3 #3 sleep_finish+0x198 #4 rw_enter+0x35a #5 vm_map_lock_ln+0xda #6 uvmfault_lookup+0xb9 #7 uvm_fault_check+0x603 #8 uvm_fault+0x102 #9 uvm_fault_wire+0x63 #10 sys_sysctl+0x2d8 #11 syscall+0x489 #12 Xsyscall+0x128 exclusive rwlock sysctllk r = 0 (0xffffffff828f0910) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 sys_sysctl+0x1b3 #3 syscall+0x489 #4 Xsyscall+0x128 Process 27331 (syz-executor.3) thread 0xffff8000211e8000 (221622) exclusive rrwlock inode r = 0 (0xfffffd80717a75f8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 rrw_enter+0x8b #3 VOP_LOCK+0x87 #4 ufs_ihashins+0x42 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1be #7 ufs_mkdir+0xf4 #8 VOP_MKDIR+0xbf #9 domkdirat+0x121 #10 syscall+0x489 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c508f80) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 rrw_enter+0x8b #3 VOP_LOCK+0x87 #4 vn_lock+0x84 #5 vfs_lookup+0xd1 #6 namei+0x36a #7 domkdirat+0x75 #8 syscall+0x489 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10167 6406K 6419K 78643K 11257 0 pcb 13 8K 8K 78643K 13 0 rtable 238 6K 7K 78643K 348 0 ifaddr 81 16K 16K 78643K 82 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 33 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1166 73K 73K 78643K 1179 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 25K 78643K 8656 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 15 53K 85K 78643K 8789 0 proc 55 74K 111K 78643K 450 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 6K 6K 78643K 99 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 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 608 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 7 26K 26K 78643K 7 0 UVM amap 235 74K 75K 78643K 124830 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 11 0K 2K 78643K 27 0 temp 52 4687K 4751K 78643K 21335 0 kqueue 12 18K 18K 78643K 25 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 33 0 30 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 2 0 1 0 8 0 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 304 57 0 51 1 0 1 1 0 8 0 nd6 48 24 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10129 0 8700 90 0 90 90 0 8 0 ffsino 272 10129 0 8700 96 0 96 96 0 8 0 nchpl 144 19028 0 17369 62 0 62 62 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 40306 0 40305 3 2 1 2 0 8 0 percpumem 16 40 0 0 1 0 1 1 0 8 0 scxspl 216 57436 0 57435 21 20 1 8 0 8 0 plimitpl 152 23 0 9 1 0 1 1 0 8 0 sigapl 424 9068 0 9027 6 1 5 6 0 8 0 futexpl 64 44661 0 44656 1 0 1 1 0 8 0 knotepl 120 102 0 0 4 0 4 4 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 336 127 0 99 4 1 3 3 0 8 0 fdescpl 496 9054 0 9028 6 2 4 5 0 8 0 filepl 152 10048 0 9920 6 0 6 6 0 8 1 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 25 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 9 1 0 1 1 0 8 0 ucredpl 96 64 0 54 1 0 1 1 0 8 0 zombiepl 144 9028 0 9027 2 1 1 1 0 8 0 processpl 1064 9068 0 9027 5 2 3 4 0 8 0 procpl 672 25883 0 25826 6 0 6 6 0 8 1 sockpl 480 123 0 101 4 1 3 4 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 63 0 0 8 0 8 8 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 304 0 0 18 0 18 18 0 8 0 bufpl 288 12201 0 5866 453 0 453 453 0 8 0 anonpl 24 2550349 0 2544154 56 12 44 46 0 186 1 amapchunkpl 152 280243 0 279741 29 4 25 25 0 158 2 amappl16 200 20027 0 19914 7 0 7 7 0 8 0 amappl15 192 2233 0 2225 1 0 1 1 0 8 0 amappl14 184 15 0 9 1 0 1 1 0 8 0 amappl13 176 103 0 99 2 1 1 1 0 8 0 amappl12 168 2168 0 2165 2 1 1 1 0 8 0 amappl11 160 2229 0 2216 1 0 1 1 0 8 0 amappl10 152 37 0 34 2 1 1 1 0 8 0 amappl9 144 434 0 432 1 0 1 1 0 8 0 amappl8 136 2756 0 2716 2 0 2 2 0 8 0 amappl7 128 2324 0 2311 1 0 1 1 0 8 0 amappl6 120 207 0 189 2 1 1 2 0 8 0 amappl5 112 5628 0 5615 1 0 1 1 0 8 0 amappl4 104 4573 0 4549 2 0 2 2 0 8 0 amappl3 96 2301 0 2287 1 0 1 1 0 8 0 amappl2 88 2646 0 2601 3 1 2 3 0 8 0 amappl1 80 174065 0 173531 19 5 14 18 0 8 0 amappl 88 116301 0 116117 6 0 6 6 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 9054 0 9028 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9054 0 9028 1 0 1 1 0 8 0 vmmpekpl 168 66134 0 66108 2 0 2 2 0 8 0 vmmpepl 168 738235 0 736537 94 7 87 87 0 357 8 vmsppl 368 9053 0 9028 4 1 3 4 0 8 0 rwobjpl 56 213522 0 206525 102 2 100 101 0 8 0 pdppl 4096 18115 0 18056 97 32 65 75 0 8 6 pvpl 32 3931231 0 3921374 245 100 145 243 0 265 57 pmappl 248 9053 0 9028 4 2 2 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 812 0 38 23 0 23 23 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82900ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b73818) at __mp_lock+0x122 intr_handler(ffff8000213418a0,ffff80000004ad00) at intr_handler+0x5e Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f Xsyscall() at Xsyscall+0x111 end of kernel end trace frame: 0x7f7fffff53e0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff82900ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b73818) at __mp_lock+0x122 intr_handler(ffff8000213418a0,ffff80000004ad00) at intr_handler+0x5e Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f Xsyscall() at Xsyscall+0x111 end of kernel end trace frame: 0x7f7fffff53e0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 panic(ffffffff8257189e) at panic+0x177 __assert(ffffffff825ea8fa,ffffffff825488d3,66b,ffffffff825585ce) at __assert+0x25 uvm_fault_unwire_locked(fffffd80721b4180,20000000,20011000) at uvm_fault_unwire_locked+0x2eb uvm_fault_unwire(fffffd80721b4180,20000000,20011000) at uvm_fault_unwire+0x3f sys_sysctl(ffff8000ffff7510,ffff800021359218,ffff800021359270) at sys_sysctl+0x229 syscall(ffff8000213592e0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd61f8088510, count: 7 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff8257189e) at panic+0x177 __assert(ffffffff825ea8fa,ffffffff825488d3,66b,ffffffff825585ce) at __assert+0x25 uvm_fault_unwire_locked(fffffd80721b4180,20000000,20011000) at uvm_fault_unwire_locked+0x2eb uvm_fault_unwire(fffffd80721b4180,20000000,20011000) at uvm_fault_unwire+0x3f sys_sysctl(ffff8000ffff7510,ffff800021359218,ffff800021359270) at sys_sysctl+0x229 syscall(ffff8000213592e0) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd61f8088510, count: -8