kernel: page fault trap, code=10 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND *427362 76599 0 0 0 1 syz-executor 263543 18561 60928 0x10 0x4000000 0 syz-executor end trace frame: 0x0, count: 14 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: attempt to execute user address 0x0 in supervisor mode ddb{1}> trace end trace frame: 0x0, count: -1 ddb{1}> show registers rdi 0xd2ee000 __kernel_phys_end+0x9aee000 rsi 0xffff800032f91700 rbp 0 rbx 0 rdx 0x78c53002 rcx 0 rax 0x800000006d4c7001 r8 0x2 r9 0x1 r10 0xd4906b6357f14676 r11 0x61fcbdff27533cf r12 0 r13 0 r14 0 r15 0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000361efe30 ss 0x10 0 ddb{1}> show proc PROC (syz-executor) tid=427362 pid=76599 tcnt=1 stat=onproc flags process=0 proc=0 runpri=84, usrpri=84, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800032f90548,0xffffffff83608540 process=0xffff800029fe9b38 user=0xffff8000361ea000, vmspace=0xfffffd806c058000 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *76599 427362 3778 0 7 0 syz-executor 18561 314058 70439 60928 2 0x10 syz-executor 18561 263543 70439 60928 7 0x4000010 syz-executor 85168 206320 58482 60928 3 0x90 nanoslp syz-executor 85168 192400 58482 60928 3 0x4000090 ttyin syz-executor 85168 149436 58482 60928 3 0x4000090 fsleep syz-executor 68639 476257 79628 0 3 0x80 nanoslp syz-executor 68639 195269 79628 0 3 0x4000080 kqread syz-executor 68639 222268 79628 0 3 0x4000080 fsleep syz-executor 96001 277787 86472 0 3 0x90 nanoslp syz-executor 96001 357465 86472 0 3 0x4000090 kqsel syz-executor 96001 186431 86472 0 3 0x4000090 fsleep syz-executor 70439 257763 63523 0 3 0x82 nanoslp syz-executor 29065 393563 85573 0 3 0x80 nanoslp syz-executor 29065 157091 85573 0 3 0x4000080 kqsel syz-executor 29065 129482 85573 0 3 0x4000080 fsleep syz-executor 25009 497159 0 0 3 0x14200 acct acct 21564 237064 1 0 3 0x100083 ttyin getty 58482 6843 63523 0 3 0x82 nanoslp syz-executor 79628 442408 63523 0 3 0x82 nanoslp syz-executor 84101 209495 63523 0 3 0x82 nanoslp syz-executor 86472 325983 63523 0 3 0x82 nanoslp syz-executor 3778 244677 63523 0 3 0x82 nanoslp syz-executor 85573 105537 63523 0 3 0x82 nanoslp syz-executor 51648 400249 63523 0 3 0x2 biowait syz-executor 20657 437742 0 0 3 0x14200 bored sosplice 63523 392527 22716 0 3 0x82 kqread syz-executor 22716 239179 28058 0 3 0x10008a sigsusp ksh 28058 483965 64971 0 3 0x98 kqread sshd-session 64971 508439 14344 0 3 0x92 kqread sshd-session 14344 329790 1 0 3 0x88 kqread sshd 45291 95120 65351 74 3 0x1100092 bpf pflogd 65351 403819 1 0 3 0x80 sbwait pflogd 46607 237796 9033 73 3 0x1100090 kqread syslogd 9033 363010 1 0 3 0x100082 sbwait syslogd 33397 64844 1 0 3 0x100080 kqread resolvd 10801 354651 18900 77 3 0x100092 kqread dhcpleased 54514 80600 18900 77 3 0x100092 kqread dhcpleased 18900 443645 1 0 3 0x80 kqread dhcpleased 87857 240329 0 0 3 0x14200 bored smr 85265 217806 0 0 3 0x14200 pgzero zerothread 4758 437764 0 0 3 0x14200 aiodoned aiodoned 38868 257684 0 0 3 0x14200 syncer update 98477 271002 0 0 3 0x14200 cleaner cleaner 94812 405693 0 0 3 0x14200 reaper reaper 81033 471588 0 0 3 0x14200 pgdaemon pagedaemon 95637 11388 0 0 3 0x14200 bored viomb 80548 431624 0 0 3 0x40014200 acpi0 acpi0 81961 431137 0 0 3 0x40014200 idle1 82798 303531 0 0 3 0x14200 bored softnet3 21692 56891 0 0 3 0x14200 bored softnet2 595 363875 0 0 3 0x14200 bored softnet1 1097 256207 0 0 3 0x14200 bored softnet0 76917 102503 0 0 3 0x14200 bored systqmp 43868 140873 0 0 3 0x14200 bored systq 47823 207336 0 0 3 0x14200 tmoslp softclockmp 60628 372623 0 0 3 0x40014200 tmoslp softclock 19040 353405 0 0 3 0x40014200 idle0 1 77818 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &sched_lock r = 0 (0xffffffff83580eb0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 sleep_finish+0x1a9 sys/kern/kern_synch.c:400 #4 biowait+0xc1 sys/kern/vfs_bio.c:1254 #5 bwrite+0x2e2 sys/kern/vfs_bio.c:766 #6 ufs_dirremove+0x2a9 sys/ufs/ufs/ufs_lookup.c:919 #7 ufs_rmdir+0x287 sys/ufs/ufs/ufs_vnops.c:1248 #8 VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413 #9 dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1885 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 Process 51648 (syz-executor) thread 0xffff8000ffffc298 (400249) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10218 10247K 10609K 166960K 12789 0 pcb 18 12K 12K 166960K 371 0 rtable 231 11K 13K 166960K 2166 0 pf 49 20K 25K 166960K 487 0 ifaddr 45 8K 8K 166960K 303 0 ifgroup 68 2K 3K 166960K 380 0 sysctl 4 1K 1K 166960K 7 0 counters 70 37K 37K 166960K 234 0 ioctlops 0 0K 4K 166960K 1783 0 iov 0 0K 18K 166960K 106 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1361 86K 86K 166960K 3334 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 4 9K 13K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 72 0 dirhash 15 2K 3K 166960K 66 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 85K 166960K 4394 0 sigio 0 0K 0K 166960K 46 0 proc 72 91K 140K 166960K 2068 0 subproc 104 6K 6K 166960K 756 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 277 0 in_multi 90 6K 7K 166960K 741 0 ether_multi 1 0K 0K 166960K 28 0 mrt 1 0K 0K 166960K 13 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 127 572K 572K 166960K 127 0 exec 0 0K 1K 166960K 1223 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 244 85K 115K 166960K 36605 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 42 84K 99K 166960K 6779 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 188 0 NDP 17 0K 2K 166960K 214 0 temp 81 6824K 7455K 166960K 86870 0 kqueue 14 22K 29K 166960K 356 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 24 0 0 1 0 1 1 0 8 0 rtpcb 120 259 0 256 1 0 1 1 0 8 0 rtentry 112 726 0 629 4 1 3 4 0 8 0 unpcb 144 1257 0 1236 4 2 2 2 0 8 1 syncache 336 3 0 3 2 2 0 1 0 8 0 tcpcb 808 646 0 642 5 3 2 2 0 8 1 arp 120 130 0 111 1 0 1 1 0 8 0 inpcb 336 2321 0 2308 6 4 2 3 0 8 0 nd6 136 187 0 163 1 0 1 1 0 8 0 pkpcb 40 10 0 10 5 4 1 1 0 8 1 kcovpl 48 58 0 50 1 0 1 1 0 8 0 ppxss 1168 16 0 16 3 2 1 1 0 8 1 pfstscr 40 10 0 10 2 1 1 1 0 8 1 pffrag 232 15 0 8 1 0 1 1 0 482 0 pffrnode 88 14 0 8 1 0 1 1 0 8 0 pffrent 40 60 0 53 1 0 1 1 0 8 0 pfosfp 40 1434 0 1007 5 0 5 5 0 8 0 pfosfpen 112 1434 0 715 21 0 21 21 0 8 0 pfrktable 1344 45 0 39 2 1 1 1 0 8 0 pfanchor 1288 26 0 6 3 1 2 2 0 8 0 pftag 88 21 0 14 2 1 1 1 0 8 0 pfqueue 264 7 0 5 2 1 1 1 0 8 0 pfstitem 24 320 0 190 1 0 1 1 0 8 0 pfstkey 128 337 0 197 5 0 5 5 0 8 0 pfstate 376 321 0 195 14 0 14 14 0 8 0 pfrule 1344 72 0 53 3 1 2 2 0 8 0 art_heap8 4096 4 0 1 4 1 3 3 0 8 0 art_heap4 256 2886 0 2473 38 9 29 29 0 8 0 art_table 32 2890 0 2474 4 0 4 4 0 8 0 art_node 16 718 0 633 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 8 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 69 0 59 1 0 1 1 0 8 0 dirhash 1024 54 0 35 3 0 3 3 0 8 0 dino2pl 256 6876 0 5266 101 0 101 101 0 8 0 ffsino 272 6876 0 5266 108 0 108 108 0 8 0 nchpl 144 11358 0 10730 64 40 24 63 0 8 0 uvmvnodes 80 8359 0 0 171 0 171 171 0 8 0 vnodes 216 8359 0 0 465 0 465 465 0 8 0 namei 1024 35256 0 35256 4 3 1 1 0 8 1 percpumem 16 131 0 82 1 0 1 1 0 8 0 vcpupl 3904 8 0 2 1 0 1 1 0 8 0 vmpool 696 15 0 9 1 0 1 1 0 8 0 pfiaddrpl 120 11 0 7 3 2 1 1 0 8 0 kstatmem 264 194 0 164 3 0 3 3 0 8 0 scsiplug 72 5 0 5 5 4 1 1 0 8 1 scxspl 216 74464 0 74463 16 15 1 8 1 8 0 plimitpl 152 368 0 350 1 0 1 1 0 8 0 sigapl 424 4620 0 4569 10 1 9 9 0 8 1 futexpl 64 28905 0 28901 6 5 1 1 0 8 0 knotepl 120 572 0 0 17 0 17 17 0 8 0 kqueuepl 216 518 0 505 1 0 1 1 0 8 0 pipepl 320 364 0 336 3 0 3 3 0 8 0 fdescpl 496 4578 0 4547 6 1 5 5 0 8 0 filepl 152 15759 0 15487 17 5 12 12 0 8 0 lockfpl 104 654 0 650 1 0 1 1 0 8 0 lockfspl 48 271 0 267 1 0 1 1 0 8 0 sessionpl 144 76 0 67 1 0 1 1 0 8 0 pgrppl 48 158 0 141 1 0 1 1 0 8 0 ucredpl 104 2639 0 2623 1 0 1 1 0 8 0 zombiepl 144 4570 0 4569 4 3 1 1 0 8 0 processpl 1160 4620 0 4569 6 0 6 6 0 8 2 procpl 648 8579 0 8519 8 0 8 8 0 8 1 srpgc 96 21 0 21 4 3 1 1 0 8 1 sosppl 168 43 0 43 5 5 0 1 0 8 0 sockpl 664 3853 0 3817 11 5 6 6 0 8 2 mcl64k 65536 25 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 14 0 0 1 0 1 1 0 8 0 mcl8k 8192 22 0 0 3 0 3 3 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 241 0 0 30 0 30 30 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 482 0 0 23 0 23 23 0 8 0 bufpl 280 16725 0 9144 626 21 605 626 0 8 8 anonpl 24 600507 0 597143 151 117 34 79 0 185 0 amapchunkpl 152 122510 0 122029 69 47 22 42 0 158 1 amappl16 200 10895 0 10867 89 83 6 20 0 8 4 amappl15 192 16 0 14 1 0 1 1 0 8 0 amappl14 184 221 0 209 1 0 1 1 0 8 0 amappl13 176 16 0 16 1 1 0 1 0 8 0 amappl12 168 6014 0 5983 3 1 2 2 0 8 0 amappl11 160 57 0 43 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 140 0 140 1 1 0 1 0 8 0 amappl8 136 32 0 30 1 0 1 1 0 8 0 amappl7 128 210 0 198 1 0 1 1 0 8 0 amappl6 120 666 0 664 1 0 1 1 0 8 0 amappl5 112 340 0 328 1 0 1 1 0 8 0 amappl4 104 480 0 458 1 0 1 1 0 8 0 amappl3 96 25738 0 25621 6 2 4 4 0 8 0 amappl2 88 1337 0 1275 2 0 2 2 0 8 0 amappl1 80 23682 0 23101 17 3 14 14 0 8 0 amappl 88 35752 0 35578 7 2 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 2 0 2 2 2 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 4 0 3 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 254 0 254 2 2 0 1 0 8 0 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 4593 0 4556 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4593 0 4556 1 0 1 1 0 8 0 vmmpekpl 168 27506 0 27451 4 0 4 4 0 8 0 vmmpepl 168 266057 0 264161 138 49 89 100 0 357 3 vmsppl 440 4592 0 4556 7 2 5 5 0 8 0 rwobjpl 56 71958 0 62652 134 2 132 132 0 8 0 pdppl 4096 9193 0 9118 174 94 80 82 0 8 5 pvpl 32 45819 0 0 370 2 368 368 0 265 0 pmappl 248 4592 0 4556 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 520 0 125 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83486ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 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(ffffffff836066f8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff836066f8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000361e99d0,ffff80000006c780) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge26_untramp() at Xintr_ioapic_edge26_untramp+0x18f __mp_lock(ffffffff836066f8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff836066f8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff8000361e9ba0) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000361e9ba0) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe1c23ab6130, count: 6 ddb{0}> trace x86_ipi_db(ffffffff83486ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 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(ffffffff836066f8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff836066f8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000361e99d0,ffff80000006c780) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge26_untramp() at Xintr_ioapic_edge26_untramp+0x18f __mp_lock(ffffffff836066f8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff836066f8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff8000361e9ba0) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000361e9ba0) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe1c23ab6130, count: -9 ddb{0}> machine ddbcpu 1 Stopped at 0end trace frame: 0x0, count: 14 ddb{1}> trace end trace frame: 0x0, count: -1