kernel: protection fault trap, code=0 Stopped at sys_msgrcv+0x2df: movq 0x10(%r13),%rdi ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace sys_msgrcv(ffff8000212a0860,ffff80002e447298,ffff80002e4472e0) at sys_msgrcv+0x2df msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000212a0860,ffff80002e447298,ffff80002e4472e0) at sys_msgrcv+0x2df sys/kern/sysv_msg.c:349 syscall(ffff80002e447360) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e447360) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x807ef0e4040, count: -3 ddb{1}> show registers rdi 0x106e __ALIGN_SIZE+0x6e rsi 0x20001cc8 rbp 0xffff80002e447280 rbx 0x106e __ALIGN_SIZE+0x6e rdx 0 rcx 0 rax 0xffff8000212a0860 r8 0x7f7fffffc000 r9 0x1 r10 0xe9883e166e6e789e r11 0x841a58106eb3c84 r12 0xfffffd80680d2c08 r13 0xdead4110dead4110 r14 0xffff800000d2d800 r15 0x1c0 rip 0xffffffff81e3167f sys_msgrcv+0x2df cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002e4471f0 ss 0x10 sys_msgrcv+0x2df: movq 0x10(%r13),%rdi ddb{1}> show proc PROC (syz-executor.7) pid=64923 stat=onproc flags process=10 proc=4000000 pri=36, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80002121d5e8,0xffff800021242dd8 process=0xffff800027b7a198 user=0xffff80002e442000, vmspace=0xfffffd807e8301b8 estcpu=1, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 79795 220940 70705 32767 2 0x10 syz-executor.1 81052 209293 19721 32767 2 0x10 syz-executor.3 46402 353295 6423 32767 2 0x10 syz-executor.6 46402 330538 6423 32767 3 0x4000090 fsleep syz-executor.6 45282 306667 31628 32767 3 0x90 nanoslp syz-executor.0 45282 358423 31628 32767 3 0x4000090 fsleep syz-executor.0 47627 332590 49918 32767 7 0x10 syz-executor.4 47627 207701 49918 32767 3 0x4000090 netio syz-executor.4 68399 259220 48271 32767 2 0x10 syz-executor.5 68399 512336 48271 32767 3 0x4000090 netio syz-executor.5 52196 37723 66440 32767 2 0x10 syz-executor.7 52196 368579 66440 32767 2 0x4000010 syz-executor.7 *52196 64923 66440 32767 7 0x4000010 syz-executor.7 52196 96612 66440 32767 2 0x4000010 syz-executor.7 52196 408961 66440 32767 2 0x4000010 syz-executor.7 35797 39404 0 0 3 0x14200 bored sosplice 66440 318998 43848 32767 3 0x90 nanoslp syz-executor.7 43848 238805 71462 0 3 0x82 wait syz-executor.7 48271 77232 23043 32767 2 0x10 syz-executor.5 6423 72491 79283 32767 3 0x90 nanoslp syz-executor.6 19721 139751 83568 32767 3 0x90 nanoslp syz-executor.3 23043 519786 71462 0 3 0x82 wait syz-executor.5 79283 518374 71462 0 3 0x82 wait syz-executor.6 49918 246046 27331 32767 2 0x10 syz-executor.4 83568 23155 71462 0 3 0x82 wait syz-executor.3 27331 503555 71462 0 3 0x82 wait syz-executor.4 74265 223439 12451 32767 2 0x10 syz-executor.2 70705 374133 28227 32767 3 0x90 nanoslp syz-executor.1 12451 316530 71462 0 3 0x82 wait syz-executor.2 31628 104874 18881 32767 3 0x90 nanoslp syz-executor.0 28227 459898 71462 0 3 0x82 wait syz-executor.1 18881 253228 71462 0 3 0x82 wait syz-executor.0 71462 265709 88357 0 3 0x82 wait syz-fuzzer 71462 190797 88357 0 3 0x4000082 nanoslp syz-fuzzer 71462 320006 88357 0 3 0x4000082 wait syz-fuzzer 71462 402376 88357 0 3 0x4000082 wait syz-fuzzer 71462 296867 88357 0 3 0x4000082 wait syz-fuzzer 71462 186888 88357 0 3 0x4000082 wait syz-fuzzer 71462 21744 88357 0 3 0x4000082 thrsleep syz-fuzzer 71462 524254 88357 0 3 0x4000082 wait syz-fuzzer 71462 350133 88357 0 3 0x4000082 wait syz-fuzzer 71462 238602 88357 0 3 0x4000082 thrsleep syz-fuzzer 71462 119904 88357 0 3 0x4000082 thrsleep syz-fuzzer 71462 270195 88357 0 3 0x4000082 wait syz-fuzzer 71462 157655 88357 0 2 0x4000002 syz-fuzzer 71462 496048 88357 0 2 0x4000002 syz-fuzzer 71462 502703 88357 0 3 0x4000082 thrsleep syz-fuzzer 88357 383289 62656 0 3 0x10008a sigsusp ksh 62656 229410 40704 0 3 0x9a kqread sshd 57195 485942 1 0 3 0x100083 ttyin getty 40704 201179 1 0 3 0x88 kqread sshd 36743 397727 22079 73 3 0x1100090 kqread syslogd 22079 15369 1 0 3 0x100082 netio syslogd 8633 455432 1 0 3 0x100080 kqread resolvd 33473 163381 95734 77 3 0x100092 kqread dhcpleased 13634 278468 95734 77 3 0x100092 kqread dhcpleased 95734 402809 1 0 3 0x80 kqread dhcpleased 78980 217119 0 0 3 0x14200 bored smr 91814 20679 0 0 2 0x14200 zerothread 74960 287346 0 0 3 0x14200 aiodoned aiodoned 97789 142024 0 0 3 0x14200 syncer update 55082 424188 0 0 3 0x14200 cleaner cleaner 77222 37104 0 0 3 0x14200 reaper reaper 54092 261903 0 0 3 0x14200 pgdaemon pagedaemon 95255 1799 0 0 3 0x14200 bored viomb 80000 435986 0 0 3 0x40014200 acpi0 acpi0 42546 218292 0 0 3 0x40014200 idle1 42767 422309 0 0 3 0x14200 bored softnet 95736 120147 0 0 3 0x14200 bored softnet 40484 90999 0 0 3 0x14200 bored softnet 36296 496093 0 0 3 0x14200 bored softnet 42321 304441 0 0 3 0x14200 bored systqmp 77835 155309 0 0 3 0x14200 bored systq 17181 369051 0 0 3 0x40014200 bored softclock 99767 517321 0 0 3 0x40014200 idle0 1 443614 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 52196 (syz-executor.7) thread 0xffff8000212a0860 (64923) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82c2ca98) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3bb sys/kern/sched_bsd.c:405 #3 sleep_finish+0x180 sys/kern/kern_synch.c:417 #4 rw_enter+0x35a sys/kern/kern_rwlock.c:286 #5 uvmfault_lookup+0xc9 sys/uvm/uvm_fault.c:1773 #6 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 #7 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #8 kpageflttrap+0x22e sys/arch/amd64/amd64/trap.c:284 #9 kerntrap+0xef sys/arch/amd64/amd64/trap.c:339 #10 alltraps_kern_meltdown+0x7b #11 copyout+0x53 #12 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #12 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 #13 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10195 6409K 6421K 78643K 11285 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 343 0 ifaddr 73 24K 24K 78643K 75 0 counters 60 35K 35K 78643K 60 0 ioctlops 0 0K 2K 78643K 27 0 iov 0 0K 0K 78643K 3 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1271 79K 79K 78643K 1383 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 11 0K 0K 78643K 13 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 25 93K 121K 78643K 234 0 sigio 0 0K 0K 78643K 4 0 proc 56 78K 103K 78643K 464 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 3 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 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 350 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 8 62K 64K 78643K 10 0 UVM amap 292 77K 78K 78643K 3170 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 11 0K 2K 78643K 27 0 temp 107 5770K 5834K 78643K 4148 0 kqueue 12 18K 24K 78643K 31 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 100 0 97 3 0 3 3 0 8 2 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 144 98 0 83 1 0 1 1 0 8 0 syncache 296 6 0 6 2 1 1 1 0 8 1 tcpqe 32 26 0 26 2 1 1 1 0 8 1 tcpcb 776 79 0 72 5 0 5 5 0 8 3 arp 120 18 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 3 1 0 1 1 0 8 0 inpcb 368 134 0 123 4 0 4 4 0 8 2 nd6 48 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 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 452 0 0 29 0 29 29 0 8 0 art_table 32 453 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 9 1 0 1 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1695 0 265 90 0 90 90 0 8 0 ffsino 272 1695 0 265 96 0 96 96 0 8 0 nchpl 144 2100 0 429 63 0 63 63 0 8 0 uvmvnodes 80 1808 0 0 37 0 37 37 0 8 0 vnodes 216 1808 0 0 101 0 101 101 0 8 0 namei 1024 7268 0 7268 2 1 1 2 0 8 1 percpumem 16 43 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 6810 0 6810 2 1 1 2 0 8 1 plimitpl 152 39 0 16 1 0 1 1 0 8 0 sigapl 424 516 0 462 7 0 7 7 0 8 0 futexpl 64 1328 0 1326 1 0 1 1 0 8 0 knotepl 120 104 0 0 4 0 4 4 0 8 0 kqueuepl 216 104 0 96 5 0 5 5 0 8 4 pipepl 320 142 0 114 3 0 3 3 0 8 0 fdescpl 496 498 0 462 7 1 6 6 0 8 0 filepl 152 2744 0 2507 14 0 14 14 0 8 4 lockfpl 104 12 0 10 1 0 1 1 0 8 0 lockfspl 48 7 0 5 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 7 1 0 1 1 0 8 0 ucredpl 104 447 0 429 1 0 1 1 0 8 0 zombiepl 144 462 0 462 1 0 1 1 0 8 1 processpl 1072 516 0 462 5 0 5 5 0 8 1 procpl 696 709 0 633 9 1 8 8 0 8 0 sosppl 168 3 0 2 1 0 1 1 0 8 0 sockpl 488 334 0 305 12 0 12 12 0 8 7 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 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 356 0 0 44 0 44 44 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 431 0 0 27 0 27 27 0 8 0 bufpl 288 4114 0 143 284 0 284 284 0 8 0 anonpl 24 142653 0 129697 85 4 81 81 0 186 0 amapchunkpl 152 8770 0 8063 30 0 30 30 0 158 1 amappl16 200 2754 0 2418 18 0 18 18 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 152 0 139 2 1 1 2 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 386 0 384 1 0 1 1 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 35 0 26 1 0 1 1 0 8 0 amappl9 144 970 0 969 1 0 1 1 0 8 0 amappl8 136 146 0 107 2 0 2 2 0 8 0 amappl7 128 138 0 115 2 0 2 2 0 8 0 amappl6 120 163 0 151 2 1 1 2 0 8 0 amappl5 112 114 0 108 1 0 1 1 0 8 0 amappl4 104 445 0 418 2 1 1 2 0 8 0 amappl3 96 893 0 831 2 0 2 2 0 8 0 amappl2 88 835 0 755 3 0 3 3 0 8 1 amappl1 80 13432 0 12661 26 8 18 26 0 8 0 amappl 88 2702 0 2504 6 1 5 5 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 498 0 462 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 498 0 462 1 0 1 1 0 8 0 vmmpekpl 168 9830 0 9769 3 0 3 3 0 8 0 vmmpepl 168 54688 0 51889 145 0 145 145 0 357 16 vmsppl 440 497 0 462 5 0 5 5 0 8 0 rwobjpl 56 18276 0 15028 49 2 47 47 0 8 0 pdppl 4096 1003 0 924 107 26 81 93 0 8 2 pvpl 32 357148 0 338098 364 23 341 363 0 265 182 pmappl 248 497 0 462 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 694 0 29 20 0 20 20 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82bc1ff0) at x86_ipi_db+0x1a 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+0x23 __mp_lock(ffffffff82c2c890) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c2c890) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff8000281db8a0,ffff80000067c100) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge24_untramp() at Xintr_ioapic_edge24_untramp+0x18f end of kernel end trace frame: 0x7f7ffffc2690, count: -6 ddb{0}> machine ddbcpu 1 Stopped at sys_msgrcv+0x2df: movq 0x10(%r13),%rdi ddb{1}> trace sys_msgrcv(ffff8000212a0860,ffff80002e447298,ffff80002e4472e0) at sys_msgrcv+0x2df msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000212a0860,ffff80002e447298,ffff80002e4472e0) at sys_msgrcv+0x2df sys/kern/sysv_msg.c:349 syscall(ffff80002e447360) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e447360) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x807ef0e4040, count: -3