kernel: page fault trap, code=10 Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND 463550 54731 0 0x8000000 0 0K syz-executor.3 *270403 96312 0 0x8000000 0 1 syz-executor.6 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 0x1c84000 __kernel_phys_base+0xc84000 rsi 0xffff80002e308548 rbp 0 rbx 0 rdx 0x6f832002 rcx 0 rax 0x800000006f833001 r8 0x8 r9 0x1 r10 0x843a7d23dcaf1699 r11 0x70c5a9b7dd3660c4 r12 0 r13 0 r14 0 r15 0 rip 0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002d6d0f20 ss 0x10 0 ddb{1}> show proc PROC (syz-executor.6) tid=270403 pid=96312 tcnt=2 stat=onproc flags process=8000000 proc=0 runpri=80, usrpri=80, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002e308cf8,0xffff80002e308a78 process=0xffff80002a291670 user=0xffff80002d6cc000, vmspace=0xfffffd806a90e6f0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15582 174639 4117 0 2 0x8000000 syz-executor.5 8032 38999 87027 0 2 0x8000000 syz-executor.0 8032 39661 87027 0 2 0xc000000 syz-executor.0 44781 227757 9215 0 2 0x8000000 syz-executor.4 44781 489465 9215 0 3 0xc000080 fsleep syz-executor.4 54731 463550 76980 0 7 0x8000000 syz-executor.3 54731 172455 76980 0 3 0xc000000 smrbar syz-executor.3 *96312 270403 42196 0 7 0x8000000 syz-executor.6 96312 311668 42196 0 2 0xc000000 syz-executor.6 30391 85843 87163 0 2 0x8000000 syz-executor.7 30391 464316 87163 0 3 0xc000080 fsleep syz-executor.7 21786 410589 56588 0 2 0x8000000 syz-executor.2 21786 211544 56588 0 3 0xc000080 kqread syz-executor.2 45534 150376 17688 0 3 0x8000082 nanoslp syz-executor.1 28360 151084 0 0 3 0x14200 acct acct 87163 472814 17688 0 3 0x8000082 nanoslp syz-executor.7 9215 494228 17688 0 3 0x8000082 nanoslp syz-executor.4 87027 83281 17688 0 3 0x8000082 nanoslp syz-executor.0 56588 45755 17688 0 3 0x8000082 nanoslp syz-executor.2 56641 411366 1 0 3 0x18100083 ttyin getty 42196 177661 17688 0 3 0x8000082 nanoslp syz-executor.6 42554 95436 0 0 3 0x14200 bored sosplice 4117 319975 17688 0 3 0x8000082 nanoslp syz-executor.5 76980 87965 17688 0 3 0x8000082 nanoslp syz-executor.3 17688 92292 82165 0 3 0x1a000082 wait syz-fuzzer 17688 42053 82165 0 3 0x1e000082 nanoslp syz-fuzzer 17688 290549 82165 0 3 0x1e000082 thrsleep syz-fuzzer 17688 404881 82165 0 3 0x1e000082 kqread syz-fuzzer 17688 253523 82165 0 3 0x1e000082 wait syz-fuzzer 17688 392237 82165 0 3 0x1e000082 thrsleep syz-fuzzer 17688 29861 82165 0 3 0x1e000082 thrsleep syz-fuzzer 17688 59289 82165 0 3 0x1e000082 thrsleep syz-fuzzer 17688 208267 82165 0 3 0x1e000082 wait syz-fuzzer 17688 34692 82165 0 3 0x1e000082 wait syz-fuzzer 17688 39544 82165 0 3 0x1e000082 thrsleep syz-fuzzer 17688 394276 82165 0 3 0x1e000082 wait syz-fuzzer 17688 296591 82165 0 3 0x1e000082 thrsleep syz-fuzzer 17688 425848 82165 0 3 0x1e000082 wait syz-fuzzer 17688 512929 82165 0 3 0x1e000082 wait syz-fuzzer 17688 165615 82165 0 3 0x1e000082 wait syz-fuzzer 82165 438060 46725 0 3 0x810008a sigsusp ksh 46725 376786 46054 0 3 0x1800009a kqread sshd 46054 182884 1 0 3 0x18000088 kqread sshd 36787 314754 36936 73 3 0x19100010 ffs_fsync syslogd 36936 351695 1 0 3 0x18100082 sbwait syslogd 44388 211027 1 0 3 0x18100080 kqread resolvd 46300 12427 29353 77 3 0x18100092 kqread dhcpleased 94991 466277 29353 77 3 0x18100092 kqread dhcpleased 29353 263671 1 0 3 0x18000080 kqread dhcpleased 24551 37239 0 0 3 0x14200 bored smr 46192 511314 0 0 2 0x14200 zerothread 84457 468810 0 0 3 0x14200 aiodoned aiodoned 57081 80334 0 0 3 0x14200 syncer update 60838 366412 0 0 3 0x14200 cleaner cleaner 1884 482193 0 0 3 0x14200 reaper reaper 36722 454950 0 0 3 0x14200 pgdaemon pagedaemon 68395 38249 0 0 3 0x14200 bored viomb 93885 395112 0 0 3 0x40014200 acpi0 acpi0 2182 43769 0 0 3 0x40014200 idle1 19101 465551 0 0 3 0x14200 bored softnet3 88010 305127 0 0 3 0x14200 bored softnet2 17165 291347 0 0 3 0x14200 bored softnet1 15699 367750 0 0 3 0x14200 bored softnet0 62042 101142 0 0 3 0x14200 bored systqmp 52700 340577 0 0 3 0x14200 bored systq 4107 164202 0 0 3 0x14200 tmoslp softclockmp 71967 143933 0 0 3 0x40014200 tmoslp softclock 95567 236620 0 0 3 0x40014200 idle0 1 127904 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82df76a8) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 sleep_finish+0x145 sys/kern/kern_synch.c:401 #2 vwaitforio+0xa9 sys/kern/vfs_subr.c:1922 #3 ffs_fsync+0x26d sys/ufs/ffs/ffs_vnops.c:482 #4 VOP_FSYNC+0xd2 sys/kern/vfs_vops.c:311 #5 sys_fsync+0x105 sys/kern/vfs_syscalls.c:2931 #6 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #6 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 54731 (syz-executor.3) thread 0xffff80002a202540 (172455) exclusive rwlock clonelk r = 0 (0xffffffff82cb52c0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 if_clone_destroy+0x4d sys/net/if.c:1367 #2 ifioctl+0x44b #3 sys_ioctl+0x4a9 #4 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #4 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 Process 36787 (syslogd) thread 0xffff8000ffffd9b0 (314754) exclusive rrwlock inode r = 0 (0xfffffd806e72e1b0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:524 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0xf1 sys/kern/vfs_syscalls.c:2931 #6 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #6 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10213 6520K 7218K 166960K 13936 0 pcb 17 13K 14K 166960K 316 0 rtable 207 7K 8K 166960K 912 0 pf 31 9K 10K 166960K 137 0 ifaddr 44 15K 16K 166960K 140 0 ifgroup 54 2K 2K 166960K 209 0 sysctl 3 1K 1K 166960K 3 0 counters 66 36K 37K 166960K 148 0 ioctlops 0 0K 4K 166960K 1604 0 iov 0 0K 24K 166960K 121 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1436 90K 91K 166960K 2919 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 45 0 VM map 2 1K 1K 166960K 2 0 sem 14 5K 6K 166960K 37 0 dirhash 12 2K 2K 166960K 48 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 85K 166960K 1629 0 sigio 0 0K 0K 166960K 28 0 proc 58 79K 115K 166960K 960 0 subproc 104 6K 7K 166960K 278 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 293 0 in_multi 88 6K 7K 166960K 279 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 720 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 277 81K 112K 166960K 16231 0 UVM aobj 81 7K 7K 166960K 88 0 pinsyscall 37 74K 100K 166960K 3119 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 119 0 NDP 12 0K 1K 166960K 95 0 temp 75 6812K 7308K 166960K 68666 0 kqueue 13 20K 31K 166960K 243 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 224 0 221 1 0 1 1 0 8 0 rtentry 112 304 0 212 4 1 3 4 0 8 0 unpcb 144 1252 0 1237 6 5 1 2 0 8 0 syncache 336 9 0 9 4 4 0 1 0 8 0 tcpqe 32 172 0 172 1 1 0 1 0 8 0 tcpcb 808 421 0 415 5 4 1 2 0 8 0 arp 120 53 0 38 1 0 1 1 0 8 0 inpcb 384 1714 0 1703 20 18 2 10 0 8 0 nd6 136 76 0 51 1 0 1 1 0 8 0 pkpcb 40 11 0 11 7 7 0 1 0 8 0 kcovpl 48 21 0 13 1 0 1 1 0 8 0 ppxss 1168 11 0 11 7 7 0 1 0 8 0 pffrag 232 10 0 8 1 0 1 1 0 482 0 pffrnode 88 8 0 6 1 0 1 1 0 8 0 pffrent 40 103 0 101 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 124 0 95 1 0 1 1 0 8 0 pfstkey 128 124 0 95 2 0 2 2 0 8 0 pfstate 376 124 0 95 6 2 4 5 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 1157 0 740 38 11 27 29 0 8 0 art_table 32 1158 0 740 4 0 4 4 0 8 0 art_node 16 298 0 220 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 10 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 31 0 19 1 0 1 1 0 8 0 shmpl 112 85 0 7 3 0 3 3 0 8 0 dirhash 1024 41 0 24 3 0 3 3 0 8 0 dino2pl 256 4157 0 2637 96 0 96 96 0 8 0 ffsino 272 4157 0 2637 103 1 102 103 0 8 0 nchpl 144 6656 0 4915 67 1 66 67 0 8 0 uvmvnodes 80 5351 0 0 110 0 110 110 0 8 0 vnodes 216 5351 0 0 298 0 298 298 0 8 0 namei 1024 23900 0 23900 7 6 1 2 0 8 1 percpumem 16 88 0 41 1 0 1 1 0 8 0 vcpupl 3904 3 0 1 1 0 1 1 0 8 0 vmpool 696 11 0 9 8 7 1 1 0 8 0 kstatmem 264 106 0 82 2 0 2 2 0 8 0 scsiplug 72 3 0 3 2 2 0 1 0 8 0 scxspl 216 47608 0 47607 19 18 1 8 1 8 0 plimitpl 152 385 0 369 1 0 1 1 0 8 0 sigapl 424 1914 0 1865 6 0 6 6 0 8 0 futexpl 64 26644 0 26642 7 6 1 1 0 8 0 knotepl 120 598 0 0 16 0 16 16 0 8 0 kqueuepl 216 507 0 497 1 0 1 1 0 8 0 pipepl 320 360 0 331 3 0 3 3 0 8 0 fdescpl 496 1893 0 1865 6 2 4 5 0 8 0 filepl 152 12530 0 12283 17 5 12 14 0 8 0 lockfpl 104 601 0 598 1 0 1 1 0 8 0 lockfspl 48 255 0 252 1 0 1 1 0 8 0 sessionpl 144 37 0 21 1 0 1 1 0 8 0 pgrppl 48 62 0 46 1 0 1 1 0 8 0 ucredpl 104 1924 0 1913 1 0 1 1 0 8 0 zombiepl 144 1866 0 1865 2 1 1 1 0 8 0 processpl 1144 1914 0 1865 4 0 4 4 0 8 0 procpl 656 3634 0 3564 8 1 7 7 0 8 0 srpgc 96 13 0 13 4 4 0 1 0 8 0 sosppl 168 6 0 6 3 3 0 1 0 8 0 sockpl 664 3220 0 3191 22 19 3 10 0 8 0 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 389 0 0 49 0 49 49 0 8 0 mtagpl 96 26 0 0 1 0 1 1 0 8 0 mbufpl 256 435 0 0 27 1 26 27 0 8 0 bufpl 280 11203 0 2718 607 0 607 607 0 8 0 anonpl 24 378778 0 372652 139 46 93 93 0 186 33 amapchunkpl 152 54379 0 53733 63 23 40 43 0 158 7 amappl16 200 8572 0 8437 72 51 21 21 0 8 9 amappl15 192 17 0 17 2 2 0 1 0 8 0 amappl14 184 192 0 182 2 1 1 2 0 8 0 amappl13 176 8 0 8 2 2 0 1 0 8 0 amappl12 168 2785 0 2755 2 0 2 2 0 8 0 amappl11 160 127 0 117 1 0 1 1 0 8 0 amappl10 152 78 0 67 1 0 1 1 0 8 0 amappl9 144 209 0 208 1 0 1 1 0 8 0 amappl8 136 177 0 144 2 0 2 2 0 8 0 amappl7 128 58 0 45 1 0 1 1 0 8 0 amappl6 120 503 0 489 2 1 1 2 0 8 0 amappl5 112 247 0 235 1 0 1 1 0 8 0 amappl4 104 634 0 602 2 0 2 2 0 8 0 amappl3 96 10315 0 10240 3 0 3 3 0 8 0 amappl2 88 2356 0 2283 4 2 2 4 0 8 0 amappl1 80 14936 0 14445 23 12 11 22 0 8 0 amappl 88 15468 0 15283 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 87 0 7 2 0 2 2 0 8 0 uaddrrnd 24 1904 0 1874 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1904 0 1874 1 0 1 1 0 8 0 vmmpekpl 168 16482 0 16410 4 0 4 4 0 8 0 vmmpepl 168 134942 0 133064 158 61 97 115 0 357 7 vmsppl 440 1903 0 1874 4 0 4 4 0 8 0 rwobjpl 56 43083 0 36589 108 12 96 96 0 8 3 pdppl 4096 3815 0 3750 194 128 66 75 0 8 1 pvpl 32 46086 0 0 373 1 372 372 0 265 0 pmappl 248 1903 0 1874 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 543 0 164 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82cecff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82df74a0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82df74a0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(fffffd806e4e7940,ffffffff) at wakeup_n+0x58 sys/kern/kern_synch.c:543 biodone(fffffd806570d248) at biodone+0xd0 sys/kern/vfs_bio.c:1302 sd_buf_done(fffffd807bcf5970) at sd_buf_done+0x1fd sys/scsi/sd.c:772 scsi_done(fffffd807bcf5970) at scsi_done+0x2e sys/scsi/scsi_base.c:1496 vioscsi_vq_done(ffff8000000a3268) at vioscsi_vq_done+0xb1 sys/dev/pv/vioscsi.c:350 intr_handler(ffff80002e303e90,ffff80000006bc00) at intr_handler+0x93 sys/arch/amd64/amd64/intr.c:543 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7bf45b677ec0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff82cecff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82df74a0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82df74a0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(fffffd806e4e7940,ffffffff) at wakeup_n+0x58 sys/kern/kern_synch.c:543 biodone(fffffd806570d248) at biodone+0xd0 sys/kern/vfs_bio.c:1302 sd_buf_done(fffffd807bcf5970) at sd_buf_done+0x1fd sys/scsi/sd.c:772 scsi_done(fffffd807bcf5970) at scsi_done+0x2e sys/scsi/scsi_base.c:1496 vioscsi_vq_done(ffff8000000a3268) at vioscsi_vq_done+0xb1 sys/dev/pv/vioscsi.c:350 intr_handler(ffff80002e303e90,ffff80000006bc00) at intr_handler+0x93 sys/arch/amd64/amd64/intr.c:543 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7bf45b677ec0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at 0end trace frame: 0x0, count: 14 ddb{1}> trace end trace frame: 0x0, count: -1