panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 388562 49859 0 0x10 0x1 0 sshd-session *513308 1 0 0x10000002 0x2000 1K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83504c13) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c520,ffff80002a19c470) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c520) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c520) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d9a3e739130, count: 9 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: init died (signal 0, exit 10) ddb{1}> show kasan No such command ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83504c13) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c520,ffff80002a19c470) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c520) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c520) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d9a3e739130, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19c2f0 rbx 0xffff80002998ee0f rdx 0 rcx 0xffff800045fffc88 rax 0xffff80002998dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x4afa5baa3f989ade r11 0x6be184662e2c7370 r12 0xffff80002998ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff820ea785 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19c2e0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (init) tid=513308 pid=1 tcnt=1 stat=onproc flags process=10000002 proc=2000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83b1f530,0xffff800045fff768 process=0xffff800045ffb548 user=0xffff80002a197000, vmspace=0xfffff4000b1f7d58 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 85102 515114 59025 0 3 0x2 0 biowait syz-executor 43420 166008 79422 0 3 0x2 0 clonelk ifconfig 79422 413004 52551 0 3 0x100002 0x88 sigsusp sh 52551 241142 59025 0 3 0x2 0x80 wait syz-executor 42317 521324 99530 0 3 0x2 0 clonelk ifconfig 99530 135524 64527 0 3 0x100002 0x88 sigsusp sh 64527 463977 59025 0 3 0x2 0x80 wait syz-executor 70832 331671 59025 0 3 0x2 0x80 piperd syz-executor 71127 376434 0 0 3 0x14000 0x280 nfsidl nfsio 59892 171025 0 0 3 0x14000 0x280 nfsidl nfsio 44540 399463 0 0 3 0x14000 0x280 nfsidl nfsio 70736 138617 0 0 3 0x14000 0x280 nfsidl nfsio 51581 98710 0 0 3 0x14000 0x280 nfsidl nfsio 93846 487894 0 0 3 0x14000 0x280 nfsidl nfsio 18429 469451 0 0 3 0x14000 0x280 nfsidl nfsio 40566 28379 0 0 3 0x14000 0x280 nfsidl nfsio 72410 180106 0 0 3 0x14000 0x280 nfsidl nfsio 87388 416168 0 0 3 0x14000 0x280 nfsidl nfsio 93462 33170 0 0 3 0x14000 0x280 nfsidl nfsio 82784 69022 0 0 3 0x14000 0x280 nfsidl nfsio 17255 43168 0 0 3 0x14000 0x280 nfsidl nfsio 98418 344963 0 0 3 0x14000 0x280 nfsidl nfsio 1100 111153 0 0 3 0x14000 0x280 nfsidl nfsio 85802 295770 0 0 3 0x14000 0x280 nfsidl nfsio 75477 459328 0 0 3 0x14000 0x280 nfsidl nfsio 40592 217750 0 0 3 0x14000 0x280 nfsidl nfsio 98644 212786 0 0 3 0x14000 0x280 nfsidl nfsio 27816 427870 0 0 3 0x14000 0x280 nfsidl nfsio 59025 65188 75612 0 2 0x2 0 syz-executor 75612 312262 49859 0 3 0x100002 0x88 sigsusp ksh 49859 388562 84214 0 7 0x10 0x1 sshd-session 84214 402824 41599 0 3 0x12 0x80 kqread sshd-session 74657 31630 1 0 3 0x100003 0x80 ttyin getty 41599 10315 1 0 3 0 0x88 kqread sshd 67110 522185 71030 74 3 0x1100012 0x80 bpf pflogd 71030 478648 1 0 3 0 0x80 sbwait pflogd 32097 194995 88815 73 3 0x1100010 0x80 kqread syslogd 88815 394655 1 0 3 0x100002 0x80 sbwait syslogd-parent 13448 292131 1 0 3 0x100000 0x80 kqread resolvd 25676 34264 79002 77 3 0x100012 0x80 kqread dhcpleased 3294 184881 79002 77 3 0x100012 0x80 kqread dhcpleased 79002 280867 1 0 3 0 0x80 kqread dhcpleased 17420 226388 0 0 3 0x14000 0x200 bored smr 97008 186544 0 0 3 0x14000 0x200 pgzero zerothread 45385 36842 0 0 3 0x14000 0x200 aiodoned aiodoned 82661 185800 0 0 3 0x14000 0x200 syncer update 58405 386279 0 0 3 0x14000 0x200 cleaner cleaner 6641 37190 0 0 3 0x14000 0x200 reaper reaper 46517 515322 0 0 3 0x14000 0x200 pgdaemon pagedaemon 17447 414000 0 0 3 0x14000 0x200 bored viomb 90544 217190 0 0 3 0x14000 0x40000200 acpi0 acpi0 19851 514477 0 0 3 0x14000 0x40000200 idle1 90348 325209 0 0 3 0x14000 0x200 bored softnet1 53357 50532 0 0 3 0x14000 0x200 bored softnet0 41928 387007 0 0 3 0x14000 0x200 smrbar systqmp 11400 489391 0 0 3 0x14000 0x200 bored systq 97950 341139 0 0 3 0x14000 0x200 tmoslp softclockmp 36747 375384 0 0 3 0x14000 0x40000200 tmoslp softclock 42974 143103 0 0 3 0x14000 0x40000200 idle0 * 1 513308 0 0 7 0x10000002 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex /syzkaller/managers/multicore/kernel/sys/kern/kern_malloc.c:96 r = 0 (0xffffffff839b4e78) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter+0x4c3 sys/kern/kern_lock.c:487 #2 free+0x9f sys/kern/kern_malloc.c:392 #3 ktrsyscall+0x386 x86_atomic_clearbits_u32 sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:-1 [inline] #3 ktrsyscall+0x386 sys/kern/kern_ktrace.c:186 #4 syscall+0x305 mi_syscall sys/sys/syscall_mi.h:154 [inline] #4 syscall+0x305 sys/arch/amd64/amd64/trap.c:804 #5 Xsyscall+0x128 Process 85102 (syz-executor) thread 0xffff80002a29f4e8 (515114) Process 41928 (systqmp) thread 0xffff800045ffe7c8 (387007) Process 1 (init) thread 0xffff800045fffc88 (513308) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11051 12073K 12163K 166960K 12616 0 pcb 17 14K 16K 166960K 125 0 rtable 128 5K 8K 166960K 3073 0 pf 27 16K 24K 166960K 266 0 ifaddr 25 4K 8K 166960K 418 0 ifgroup 39 1K 2K 166960K 431 0 sysctl 1 1K 9K 166960K 5 0 counters 62 36K 37K 166960K 274 0 ioctlops 0 0K 4K 166960K 1689 0 iov 0 0K 2K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1304 82K 82K 166960K 2551 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 15 0 dirhash 15 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 12 38K 94K 166960K 1828 0 sigio 0 0K 0K 166960K 4 0 proc 86 148K 196K 166960K 3117 0 subproc 45 2K 5K 166960K 1071 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 13 0 in_multi 44 2K 6K 166960K 1094 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 31 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 1605 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 168 151K 195K 166960K 13187 0 UVM aobj 9 2K 2K 166960K 9 0 pinsyscall 37 74K 104K 166960K 5317 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 5 0 NDP 8 0K 1K 166960K 305 0 temp 24 9125K 9190K 166960K 28707 0 kqueue 13 20K 24K 166960K 61 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 232 0 229 1 0 1 1 0 8 0 rtentry 176 1108 0 1052 6 1 5 6 0 8 1 unpcb 144 225 0 208 5 4 1 4 0 8 0 syncache 336 7 0 7 3 2 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 561 0 555 9 2 7 7 0 8 6 arp 136 200 0 192 1 0 1 1 0 8 0 inpcb 328 1238 0 1227 9 2 7 7 0 8 5 nd6 152 295 0 286 1 0 1 1 0 8 0 pkpcb 40 4 0 4 3 2 1 1 0 8 1 kcovpl 48 119 0 114 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 11 0 11 3 3 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 3 0 1 1 0 1 1 0 482 0 pffrnode 88 3 0 1 1 0 1 1 0 8 0 pffrent 40 5 0 2 1 0 1 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 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pfstitem 24 53 0 18 1 0 1 1 0 8 0 pfstkey 128 55 0 20 2 0 2 2 0 8 0 pfstate 448 54 0 19 5 0 5 5 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 4455 0 4130 33 7 26 32 0 8 3 art_table 40 4456 0 4130 6 1 5 6 0 8 1 art_node 32 1108 0 1048 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 13 0 4 1 0 1 1 0 8 0 shmpl 120 6 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 2 3 0 3 3 0 8 0 dino2pl 256 2229 0 539 106 0 106 106 0 8 0 ffsino 296 2229 0 539 130 0 130 130 0 8 0 nchpl 144 2842 0 745 78 0 78 78 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 vnodes 216 3383 0 0 188 0 188 188 0 8 0 namei 1024 20593 0 20592 3 2 1 2 0 8 0 percpumem 16 153 0 106 1 0 1 1 0 8 0 kstatmem 264 223 0 202 4 1 3 3 0 8 0 scxspl 216 10494 0 10493 11 10 1 8 1 8 0 plimitpl 152 201 0 184 1 0 1 1 0 8 0 sigapl 424 1925 0 1861 9 1 8 8 0 8 0 knotepl 120 332 0 0 10 0 10 10 0 8 0 kqueuepl 224 103 0 94 1 0 1 1 0 8 0 pipepl 344 545 0 518 10 6 4 9 0 8 1 fdescpl 528 1889 0 1863 3 0 3 3 0 8 0 filepl 160 7324 0 7154 19 5 14 17 0 8 4 lockfpl 104 178 0 176 1 0 1 1 0 8 0 lockfspl 48 46 0 44 1 0 1 1 0 8 0 sessionpl 144 154 0 145 1 0 1 1 0 8 0 pgrppl 48 277 0 260 1 0 1 1 0 8 0 ucredpl 104 505 0 492 1 0 1 1 0 8 0 zombiepl 144 1865 0 1861 1 0 1 1 0 8 0 processpl 1240 1925 0 1861 7 1 6 6 0 8 0 procpl 664 2605 0 2541 8 1 7 8 0 8 0 sockpl 752 1706 0 1675 18 8 10 17 0 8 6 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 16 0 16 16 0 8 0 mcl2k 2048 23 0 0 3 0 3 3 0 8 0 mextrefs 64 24 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 250 0 0 16 0 16 16 0 8 0 bufpl 272 3375 0 91 219 0 219 219 0 8 0 anonpl 32 5551 0 0 45 0 45 45 0 247 0 amapchunkpl 152 35304 0 35041 31 15 16 30 0 158 2 amappl16 200 1894 0 1886 6 5 1 5 0 8 0 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 1507 0 1504 1 0 1 1 0 8 0 amappl13 176 303 0 290 1 0 1 1 0 8 0 amappl12 168 2517 0 2494 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 68 0 56 1 0 1 1 0 8 0 amappl9 144 286 0 286 1 1 0 1 0 8 0 amappl8 136 481 0 477 1 0 1 1 0 8 0 amappl7 128 335 0 323 1 0 1 1 0 8 0 amappl6 120 659 0 656 1 0 1 1 0 8 0 amappl5 112 503 0 492 1 0 1 1 0 8 0 amappl4 104 566 0 548 1 0 1 1 0 8 0 amappl3 96 7476 0 7406 4 1 3 4 0 8 0 amappl2 88 829 0 771 2 0 2 2 0 8 0 amappl1 80 23609 0 23035 19 5 14 17 0 8 1 amappl 88 10898 0 10803 4 0 4 4 0 92 0 uvmvnodes 80 110 0 0 3 0 3 3 0 8 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1889 0 1863 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1889 0 1863 1 0 1 1 0 8 0 vmmpekpl 168 16539 0 16475 4 0 4 4 0 8 0 vmmpepl 168 129783 0 128297 88 11 77 88 0 357 3 vmsppl 488 1888 0 1863 7 3 4 5 0 8 0 rwobjpl 80 37653 0 36712 28 5 23 26 0 8 0 pdppl 4096 3786 0 3726 184 120 64 86 0 8 4 pvpl 32 13524 0 0 111 1 110 110 0 265 0 pmappl 256 1888 0 1863 5 3 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 615 0 140 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83951ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83a67b80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a67b80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsysret(ffff80002a21c010,30,0,ffff80002a270ec0) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a21c010,30,0,ffff80002a270ec0) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff80002a270f70) at syscall+0xa51 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a270f70) at syscall+0xa51 sys/arch/amd64/amd64/trap.c:825 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7244d9e952e0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff83951ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83a67b80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a67b80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsysret(ffff80002a21c010,30,0,ffff80002a270ec0) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a21c010,30,0,ffff80002a270ec0) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff80002a270f70) at syscall+0xa51 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a270f70) at syscall+0xa51 sys/arch/amd64/amd64/trap.c:825 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7244d9e952e0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83504c13) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c520,ffff80002a19c470) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c520) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c520) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d9a3e739130, count: 9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83504c13) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c520,ffff80002a19c470) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c520) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c520) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d9a3e739130, count: -6