panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *514901 1 0 0x2 0x2000 1K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350ebc1) 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,ffff80002a19ce80,ffff80002a19cdd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19ce80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19ce80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74ec5ca0df50, 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(ffffffff8350ebc1) 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,ffff80002a19ce80,ffff80002a19cdd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19ce80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19ce80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74ec5ca0df50, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19cc50 rbx 0xffff80002998ee0f rdx 0 rcx 0xffff800045fffc88 rax 0xffff80002998dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf21155b442ae14df r11 0xe5cbb44113a335dd r12 0xffff80002998ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff82cbf5e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19cc40 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (init) tid=514901 pid=1 tcnt=1 stat=onproc flags process=2 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83b6a1b8,0xffff800045fff4d0 process=0xffff800045ffb548 user=0xffff80002a197000, vmspace=0xfffff2000b1f7988 estcpu=0, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 94089 173719 75664 0 3 0x2 0x80 piperd syz-executor 76898 273508 75664 0 3 0x2 0x80 piperd syz-executor 19824 29408 75664 0 3 0x2 0x80 piperd syz-executor 68873 509340 75664 0 3 0x2 0x80 piperd syz-executor 54130 491927 75664 0 3 0x2 0x80 piperd syz-executor 5482 158582 75664 0 3 0x2 0x80 piperd syz-executor 68636 73851 75664 0 3 0x2 0x80 piperd syz-executor 75664 130281 84597 0 3 0x2 0x80 nanoslp syz-executor 84597 29374 25957 0 3 0x100002 0x88 sigsusp ksh 25957 522478 92736 0 3 0x10 0x88 kqread sshd-session 92736 345263 29082 0 3 0x12 0x80 kqread sshd-session 68297 177898 1 0 3 0x100003 0x80 ttyin getty 29082 274020 1 0 3 0 0x88 kqread sshd 59152 209779 15664 74 3 0x1100012 0x80 bpf pflogd 15664 103830 1 0 3 0 0x80 sbwait pflogd 34149 301901 47046 73 3 0x1100010 0x80 kqread syslogd 47046 203366 1 0 3 0x100002 0x80 sbwait syslogd-parent 73466 60682 1 0 3 0x100000 0x80 kqread resolvd 80981 58956 29630 77 3 0x100012 0x80 kqread dhcpleased 24702 60341 29630 77 3 0x100012 0x80 kqread dhcpleased 29630 192493 1 0 3 0 0x80 kqread dhcpleased 20113 283315 0 0 3 0x14000 0x200 bored smr 39571 523196 0 0 3 0x14000 0x200 pgzero zerothread 92265 426143 0 0 3 0x14000 0x200 aiodoned aiodoned 1094 289226 0 0 3 0x14000 0x200 syncer update 75733 150087 0 0 3 0x14000 0x200 cleaner cleaner 32256 343551 0 0 3 0x14000 0x200 reaper reaper 66081 26849 0 0 3 0x14000 0x200 pgdaemon pagedaemon 86130 158324 0 0 3 0x14000 0x200 bored viomb 4249 353696 0 0 3 0x14000 0x40000200 acpi0 acpi0 40946 81685 0 0 3 0x14000 0x40000200 idle1 54495 88536 0 0 3 0x14000 0x200 bored softnet1 3430 399416 0 0 3 0x14000 0x200 bored softnet0 21231 99658 0 0 3 0x14000 0x200 bored systqmp 58565 248896 0 0 3 0x14000 0x200 bored systq 4911 53209 0 0 3 0x14000 0x200 tmoslp softclockmp 14759 74365 0 0 3 0x14000 0x40000200 tmoslp softclock 36413 89416 0 0 7 0x14000 0x40000200 idle0 * 1 514901 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 1 (init) thread 0xffff800045fffc88 (514901) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b5aac0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:804 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11053 12084K 12241K 166960K 12676 0 pcb 17 14K 16K 166960K 115 0 rtable 213 7K 8K 166960K 3056 0 pf 32 17K 18K 166960K 239 0 ifaddr 39 7K 8K 166960K 418 0 ifgroup 51 2K 2K 166960K 433 0 sysctl 2 1K 9K 166960K 6 0 counters 68 36K 37K 166960K 270 0 ioctlops 0 0K 4K 166960K 1594 0 iov 0 0K 12K 166960K 6 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1396 88K 88K 166960K 2479 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 14 0K 0K 166960K 16 0 dirhash 15 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 9 29K 93K 166960K 1674 0 proc 73 115K 180K 166960K 3090 0 subproc 63 3K 4K 166960K 882 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 6 0 in_multi 88 5K 6K 166960K 1090 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 46 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 2113 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 167 149K 167K 166960K 11750 0 UVM aobj 8 2K 2K 166960K 9 0 pinsyscall 34 68K 106K 166960K 5150 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 13 0K 1K 166960K 304 0 temp 49 9134K 9190K 166960K 18960 0 kqueue 13 20K 24K 166960K 41 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 220 0 217 1 0 1 1 0 8 0 rtentry 176 1103 0 1004 6 1 5 6 0 8 0 unpcb 144 118 0 101 1 0 1 1 0 8 0 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpcb 736 35 0 31 1 0 1 1 0 8 0 arp 136 198 0 182 1 0 1 1 0 8 0 inpcb 328 599 0 592 8 6 2 7 0 8 1 nd6 152 295 0 274 1 0 1 1 0 8 0 kcovpl 48 98 0 91 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 8 0 8 2 1 1 1 0 8 1 pppxif 1576 1 0 1 1 1 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 4 0 1 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 pfstitem 24 53 0 21 1 0 1 1 0 8 0 pfstkey 128 53 0 21 2 0 2 2 0 8 0 pfstate 448 53 0 21 5 0 5 5 0 8 0 pfrule 1360 23 0 18 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4476 0 4062 37 10 27 29 0 8 0 art_table 40 4477 0 4062 5 0 5 5 0 8 0 art_node 32 1103 0 1013 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 14 0 2 1 0 1 1 0 8 0 shmpl 120 6 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 0 3 0 3 3 0 8 0 dino2pl 256 2020 0 350 105 0 105 105 0 8 0 ffsino 296 2020 0 350 129 0 129 129 0 8 0 nchpl 144 2467 0 414 77 0 77 77 0 8 0 rtmask 32 2 0 2 2 1 1 1 0 8 1 vnodes 216 3142 0 0 175 0 175 175 0 8 0 namei 1024 20582 0 20582 5 4 1 3 0 8 1 percpumem 16 151 0 101 1 0 1 1 0 8 0 kstatmem 264 219 0 194 3 1 2 3 0 8 0 scxspl 216 8460 0 8460 10 9 1 8 1 8 1 plimitpl 152 157 0 141 1 0 1 1 0 8 0 sigapl 424 1798 0 1759 7 1 6 7 0 8 0 knotepl 120 280 0 0 9 0 9 9 0 8 0 kqueuepl 224 59 0 50 1 0 1 1 0 8 0 pipepl 344 400 0 373 4 1 3 4 0 8 0 fdescpl 528 1782 0 1759 3 0 3 3 0 8 0 filepl 160 5275 0 5080 14 4 10 12 0 8 1 lockfpl 104 276 0 274 1 0 1 1 0 8 0 lockfspl 48 129 0 127 1 0 1 1 0 8 0 sessionpl 144 126 0 117 1 0 1 1 0 8 0 pgrppl 48 226 0 210 1 0 1 1 0 8 0 ucredpl 104 377 0 363 1 0 1 1 0 8 0 zombiepl 144 1759 0 1759 1 0 1 1 0 8 1 processpl 1240 1798 0 1759 5 1 4 5 0 8 0 procpl 664 2306 0 2267 6 1 5 6 0 8 0 sockpl 752 942 0 915 10 6 4 10 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k 2048 18 0 0 3 0 3 3 0 8 0 mextrefs 64 18 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 290 0 0 18 0 18 18 0 8 0 bufpl 272 2905 0 91 188 0 188 188 0 8 0 anonpl 32 5430 0 0 44 0 44 44 0 247 0 amapchunkpl 152 30972 0 30711 25 7 18 22 0 158 5 amappl16 200 2294 0 2283 8 6 2 5 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 1507 0 1506 1 0 1 1 0 8 0 amappl13 176 299 0 287 1 0 1 1 0 8 0 amappl12 168 2387 0 2365 2 0 2 2 0 8 0 amappl11 160 16 0 16 1 1 0 1 0 8 0 amappl10 152 73 0 60 1 0 1 1 0 8 0 amappl9 144 285 0 285 1 1 0 1 0 8 0 amappl8 136 456 0 453 1 0 1 1 0 8 0 amappl7 128 324 0 312 1 0 1 1 0 8 0 amappl6 120 667 0 666 1 0 1 1 0 8 0 amappl5 112 496 0 486 1 0 1 1 0 8 0 amappl4 104 560 0 542 1 0 1 1 0 8 0 amappl3 96 6835 0 6769 4 1 3 4 0 8 0 amappl2 88 801 0 745 2 0 2 2 0 8 0 amappl1 80 22432 0 21867 15 1 14 15 0 8 1 amappl 88 9515 0 9418 5 1 4 5 0 92 0 uvmvnodes 80 104 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 1 1 0 1 1 0 8 0 uaddrrnd 24 1782 0 1759 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1782 0 1759 1 0 1 1 0 8 0 vmmpekpl 168 14698 0 14646 4 0 4 4 0 8 0 vmmpepl 168 121287 0 119828 88 9 79 87 0 357 6 vmsppl 488 1781 0 1759 6 2 4 5 0 8 0 rwobjpl 80 36253 0 35329 24 2 22 24 0 8 0 pdppl 4096 3572 0 3518 196 134 62 86 0 8 8 pvpl 32 13455 0 0 110 1 109 109 0 265 0 pmappl 256 1781 0 1759 4 2 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 591 0 155 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83992ff0) 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 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffffffff83992ff0) at sched_idle+0x391 sys/kern/kern_sched.c:197 end trace frame: 0x0, count: 10 ddb{0}> trace x86_ipi_db(ffffffff83992ff0) 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 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffffffff83992ff0) at sched_idle+0x391 sys/kern/kern_sched.c:197 end trace frame: 0x0, count: -5 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(ffffffff8350ebc1) 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,ffff80002a19ce80,ffff80002a19cdd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19ce80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19ce80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74ec5ca0df50, count: 9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350ebc1) 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,ffff80002a19ce80,ffff80002a19cdd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19ce80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19ce80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74ec5ca0df50, count: -6