kernel: protection fault trap, code=0 Stopped at sys_msgrcv+0x3f2: 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(ffff80003c418a88,ffff80003c417e90,ffff80003c417de0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c418a88,ffff80003c417e90,ffff80003c417de0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c417e90) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c417e90) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd261fd3670, count: -3 ddb{1}> show registers rdi 0 rsi 0x200000000088 rbp 0xffff80003c417db0 rbx 0 rdx 0xffff800001472080 rcx 0xffff80003c418a88 rax 0xbe r8 0x7f7fffffc000 r9 0x1 r10 0x8915da35e0000137 r11 0x1c00f3a178aa851f r12 0xfffffd8066300f50 r13 0xdeadbeefdeadbeef r14 0xffff800001490f00 r15 0xbe rip 0xffffffff82a01a92 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80003c417d10 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb{1}> show proc PROC (syz-executor) tid=187220 pid=51871 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=50, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c419a18,0xffff80003c419790 process=0xffff80002a27c028 user=0xffff80003c412000, vmspace=0xfffffd806b8197c0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59402 519261 66050 0 2 0 syz-executor 59402 13197 66050 0 3 0x4000080 fsleep syz-executor 223 313755 95475 0 2 0 syz-executor 223 3065 95475 0 3 0x4000080 fsleep syz-executor 51871 181483 58602 0 2 0 syz-executor *51871 187220 58602 0 7 0x4000000 syz-executor 51871 421068 58602 0 3 0x4000080 fsleep syz-executor 32559 153696 19396 0 2 0 syz-executor 32559 66568 19396 0 7 0x4000000 syz-executor 88114 368272 97719 0 2 0 syz-executor 88114 136681 97719 0 3 0x4000080 piperd syz-executor 88114 292550 97719 0 3 0x4000080 fsleep syz-executor 93157 189391 0 0 3 0x14280 nfsidl nfsio 61724 142907 0 0 3 0x14280 nfsidl nfsio 4490 385164 0 0 3 0x14280 nfsidl nfsio 65973 318432 0 0 3 0x14280 nfsidl nfsio 29981 492331 0 0 3 0x14280 nfsidl nfsio 33057 404197 0 0 3 0x14280 nfsidl nfsio 17967 129740 0 0 3 0x14280 nfsidl nfsio 78119 341522 0 0 3 0x14280 nfsidl nfsio 37153 183794 0 0 3 0x14280 nfsidl nfsio 84509 100782 0 0 3 0x14280 nfsidl nfsio 25706 299376 0 0 3 0x14280 nfsidl nfsio 87582 501367 0 0 3 0x14280 nfsidl nfsio 41998 354651 0 0 3 0x14280 nfsidl nfsio 31857 73757 0 0 3 0x14280 nfsidl nfsio 92848 311757 0 0 3 0x14280 nfsidl nfsio 25352 145948 0 0 3 0x14280 nfsidl nfsio 98713 48316 0 0 3 0x14280 nfsidl nfsio 21428 85453 0 0 3 0x14280 nfsidl nfsio 39307 103827 0 0 3 0x14280 nfsidl nfsio 62778 174393 0 0 3 0x14280 nfsidl nfsio 86166 5092 0 0 3 0x14200 bored sosplice 97719 105169 16873 0 2 0x2 syz-executor 89846 69896 16873 0 2 0x2 syz-executor 66050 354793 16873 0 3 0x82 nanoslp syz-executor 95475 219638 16873 0 3 0x82 nanoslp syz-executor 62965 52925 16873 0 3 0x2 biowait syz-executor 59475 336025 16873 0 2 0x2 syz-executor 58602 143797 16873 0 3 0x82 nanoslp syz-executor 19396 508689 16873 0 3 0x82 nanoslp syz-executor 16873 351971 8885 0 2 0x2 syz-executor 8885 47055 14181 0 3 0x10008a sigsusp ksh 14181 204369 23951 0 3 0x98 kqread sshd-session 23951 52688 95816 0 3 0x92 kqread sshd-session 90248 38544 1 0 3 0x100083 ttyin getty 95816 124300 1 0 3 0x88 kqread sshd 43027 12614 6865 74 3 0x1100092 bpf pflogd 6865 187289 1 0 3 0x80 sbwait pflogd 74467 393885 28635 73 3 0x1100090 kqread syslogd 28635 399682 1 0 3 0x100082 sbwait syslogd 62527 465008 1 0 3 0x100080 kqread resolvd 17590 85306 34013 77 3 0x100092 kqread dhcpleased 60564 334934 34013 77 3 0x100092 kqread dhcpleased 34013 117394 1 0 3 0x80 kqread dhcpleased 64293 435838 0 0 3 0x14200 bored smr 77260 259031 0 0 2 0x14200 zerothread 63505 316471 0 0 3 0x14200 aiodoned aiodoned 62634 230858 0 0 3 0x14200 syncer update 21664 276206 0 0 3 0x14200 cleaner cleaner 5406 388509 0 0 3 0x14200 reaper reaper 78778 38515 0 0 3 0x14200 pgdaemon pagedaemon 72683 497633 0 0 3 0x14200 bored viomb 63600 320508 0 0 3 0x40014200 acpi0 acpi0 49339 131879 0 0 3 0x40014200 idle1 98855 354077 0 0 3 0x14200 bored softnet1 76878 78018 0 0 3 0x14200 bored softnet0 56331 159905 0 0 3 0x14200 bored systqmp 45603 871 0 0 3 0x14200 bored systq 6011 260393 0 0 3 0x14200 tmoslp softclockmp 52798 170378 0 0 3 0x40014200 tmoslp softclock 5539 170098 0 0 3 0x40014200 idle0 1 62431 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 51871 (syz-executor) thread 0xffff80003c418a88 (187220) Process 62965 (syz-executor) thread 0xffff8000fffefca0 (52925) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10202 11031K 11418K 166960K 11651 0 pcb 17 12K 12K 166960K 60 0 rtable 156 6K 9K 166960K 306 0 pf 30 16K 20K 166960K 80 0 ifaddr 36 6K 7K 166960K 61 0 ifgroup 47 2K 2K 166960K 78 0 sysctl 1 1K 9K 166960K 5 0 counters 64 36K 37K 166960K 102 0 ioctlops 0 0K 4K 166960K 1525 0 iov 1 12K 12K 166960K 13 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1367 86K 86K 166960K 1643 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 12 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 89K 166960K 402 0 sigio 0 0K 0K 166960K 1 0 proc 72 115K 164K 166960K 569 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 37 0 in_multi 80 5K 7K 166960K 127 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 400 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 218 159K 168K 166960K 5087 0 UVM aobj 11 2K 3K 166960K 13 0 pinsyscall 40 80K 102K 166960K 1516 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 9 0 NDP 10 0K 2K 166960K 39 0 temp 48 8657K 8766K 166960K 15023 0 kqueue 13 20K 32K 166960K 70 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 48 0 45 1 0 1 1 0 8 0 rtentry 176 106 0 40 5 0 5 5 0 8 0 unpcb 144 180 0 163 2 0 2 2 0 8 1 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 121 0 114 6 1 5 6 0 8 4 arp 136 12 0 4 1 0 1 1 0 8 0 inpcb 328 316 0 305 6 1 5 6 0 8 3 nd6 152 18 0 6 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 15 0 15 1 0 1 1 0 8 1 pffrag 232 2 0 1 1 0 1 1 0 482 0 pffrnode 88 2 0 1 1 0 1 1 0 8 0 pffrent 40 3 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 pfrktable 1344 9 0 9 1 0 1 1 0 8 1 pfanchor 1288 2 0 2 1 0 1 1 0 8 1 pfstitem 24 30 0 0 1 0 1 1 0 8 0 pfstkey 128 30 0 0 1 0 1 1 0 8 0 pfstate 384 30 0 0 3 0 3 3 0 8 0 pfrule 1344 25 0 20 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 510 0 168 28 0 28 28 0 8 4 art_table 40 511 0 168 5 0 5 5 0 8 0 art_node 32 106 0 48 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 0 1 1 0 8 1 semapl 112 9 0 2 1 0 1 1 0 8 0 shmpl 112 10 0 2 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2059 0 550 95 0 95 95 0 8 0 ffsino 296 2059 0 550 117 0 117 117 0 8 0 nchpl 144 2613 0 925 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 2292 0 0 47 0 47 47 0 8 0 vnodes 216 2292 0 0 128 0 128 128 0 8 0 namei 1024 8296 0 8296 2 1 1 2 0 8 1 percpumem 16 66 0 19 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 0 1 1 0 8 1 kstatmem 264 44 0 22 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 10825 0 10823 3 2 1 2 1 8 0 plimitpl 152 70 0 53 1 0 1 1 0 8 0 sigapl 424 719 0 653 8 0 8 8 0 8 0 knotepl 120 313 0 0 10 0 10 10 0 8 0 kqueuepl 224 105 0 96 2 0 2 2 0 8 1 pipepl 344 127 0 99 3 0 3 3 0 8 0 fdescpl 528 682 0 653 3 0 3 3 0 8 0 filepl 160 3230 0 3013 13 0 13 13 0 8 3 lockfpl 104 104 0 101 1 0 1 1 0 8 0 lockfspl 48 44 0 41 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 37 0 20 1 0 1 1 0 8 0 ucredpl 104 532 0 518 1 0 1 1 0 8 0 zombiepl 144 653 0 653 1 0 1 1 0 8 1 processpl 1232 719 0 653 6 0 6 6 0 8 0 procpl 664 1142 0 1069 8 0 8 8 0 8 1 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 752 550 0 519 9 1 8 9 0 8 4 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 119 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 19 0 0 3 0 3 3 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 188 0 0 12 0 12 12 0 8 0 bufpl 280 4509 0 122 314 0 314 314 0 8 0 anonpl 32 9898 0 0 80 0 80 80 0 246 0 amapchunkpl 152 15460 0 15034 30 3 27 27 0 158 6 amappl16 200 1483 0 1462 21 8 13 21 0 8 8 amappl15 192 6 0 6 2 2 0 1 0 8 0 amappl14 184 115 0 103 1 0 1 1 0 8 0 amappl13 176 6 0 5 1 0 1 1 0 8 0 amappl12 168 1350 0 1321 3 1 2 2 0 8 0 amappl11 160 53 0 39 1 0 1 1 0 8 0 amappl10 152 65 0 65 1 1 0 1 0 8 0 amappl9 144 256 0 256 1 1 0 1 0 8 0 amappl8 136 30 0 27 1 0 1 1 0 8 0 amappl7 128 116 0 103 1 0 1 1 0 8 0 amappl6 120 192 0 189 1 0 1 1 0 8 0 amappl5 112 123 0 114 1 0 1 1 0 8 0 amappl4 104 311 0 291 1 0 1 1 0 8 0 amappl3 96 2689 0 2603 4 1 3 3 0 8 0 amappl2 88 922 0 846 2 0 2 2 0 8 0 amappl1 80 9809 0 9209 15 0 15 15 0 8 1 amappl 88 4361 0 4215 5 0 5 5 0 92 0 dma65536 65536 2 0 2 2 1 1 1 0 8 1 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 7 0 7 2 1 1 1 0 8 1 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 12 0 2 1 0 1 1 0 8 0 uaddrrnd 24 683 0 654 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 683 0 654 1 0 1 1 0 8 0 vmmpekpl 168 7173 0 7134 3 0 3 3 0 8 0 vmmpepl 168 48606 0 46747 105 0 105 105 0 357 12 vmsppl 488 682 0 654 5 0 5 5 0 8 1 rwobjpl 80 17398 0 14191 67 0 67 67 0 8 0 pdppl 4096 1374 0 1308 98 26 72 84 0 8 6 pvpl 32 17294 0 0 140 0 140 140 0 265 0 pmappl 256 682 0 654 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 274 0 31 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff837dcff0) 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(ffffffff83946b68) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83946b68) at __mp_lock+0x192 sys/kern/kern_lock.c:165 intr_handler(ffff80003c454f80,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x95 kd_claim sys/dev/kcov.c:632 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x95 sys/dev/kcov.c:157 __mp_lock(ffffffff83946b68) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83946b68) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 sys_mmap(ffff8000fffee2b0,ffff80003c4552b0,ffff80003c455200) at sys_mmap+0x63b sys/uvm/uvm_mmap.c:292 syscall(ffff80003c4552b0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4552b0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf689d09c300, count: -11 ddb{0}> machine ddbcpu 1 Stopped at sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb{1}> trace sys_msgrcv(ffff80003c418a88,ffff80003c417e90,ffff80003c417de0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c418a88,ffff80003c417e90,ffff80003c417de0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c417e90) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c417e90) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd261fd3670, count: -3