kernel: protection fault trap, code=0 Stopped at sys_semop+0x3d5: movzwl 0(%rax),%r15d 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_semop(ffff8000fffe2558,ffff800037fa47f0,ffff800037fa4740) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff800037fa47f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800037fa47f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd0a068cd320, count: -3 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff800037fa4710 rbx 0xdead4110dead4110 rdx 0 rcx 0xffff8000fffe2558 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0x1 r10 0x33d7b495fb743fb4 r11 0xaf2c5bc4a2fb8d67 r12 0 r13 0xfffffd806c592690 r14 0xffff800037fa47f0 r15 0 rip 0xffffffff825f8a65 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800037fa4620 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb{1}> show proc PROC (syz-executor) tid=256652 pid=94181 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffe2a88,0xffff8000fffe22d0 process=0xffff80003c490028 user=0xffff800037f9f000, vmspace=0xfffffd806c8db018 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 94181 75651 9365 0 7 0 syz-executor *94181 256652 9365 0 7 0x4000000 syz-executor 94181 190590 9365 0 3 0x4000080 fsleep syz-executor 61441 64840 56841 0 3 0x80 nanoslp syz-executor 61441 126641 56841 0 3 0x4000080 fsleep syz-executor 61441 86255 56841 0 3 0x4000080 fsleep syz-executor 61441 279993 56841 0 3 0x4000080 fsleep syz-executor 13425 55976 64169 0 3 0x80 nanoslp syz-executor 13425 181921 64169 0 3 0x4000080 ttyout syz-executor 13425 255686 64169 0 3 0x4000080 ttyout syz-executor 60032 61852 35079 0 3 0x80 nanoslp syz-executor 60032 430811 35079 0 3 0x4000000 biowait syz-executor 60032 8858 35079 0 3 0x4000000 inode syz-executor 60032 469610 35079 0 3 0x4000000 inode syz-executor 32430 65831 0 0 3 0x14280 nfsidl nfsio 58126 31809 0 0 3 0x14280 nfsidl nfsio 58690 73461 0 0 3 0x14280 nfsidl nfsio 8817 171730 0 0 3 0x14280 nfsidl nfsio 61701 188656 0 0 3 0x14280 nfsidl nfsio 18456 268087 0 0 3 0x14280 nfsidl nfsio 34337 100523 0 0 3 0x14280 nfsidl nfsio 60108 265993 0 0 3 0x14280 nfsidl nfsio 72348 418990 0 0 3 0x14280 nfsidl nfsio 71789 465567 0 0 3 0x14280 nfsidl nfsio 56586 348173 0 0 3 0x14280 nfsidl nfsio 9471 251725 0 0 3 0x14280 nfsidl nfsio 45584 224167 0 0 3 0x14280 nfsidl nfsio 16009 401821 0 0 3 0x14280 nfsidl nfsio 72789 313267 0 0 3 0x14280 nfsidl nfsio 25374 502866 0 0 3 0x14280 nfsidl nfsio 36740 322047 0 0 3 0x14280 nfsidl nfsio 61901 89738 0 0 3 0x14280 nfsidl nfsio 95918 144602 0 0 3 0x14280 nfsidl nfsio 23135 28116 0 0 3 0x14280 nfsidl nfsio 8614 296925 69871 0 3 0x82 nanoslp syz-executor 35079 390453 69871 0 3 0x82 nanoslp syz-executor 9365 522086 69871 0 3 0x82 nanoslp syz-executor 28528 130492 69871 0 3 0x82 nanoslp syz-executor 56841 75200 69871 0 3 0x82 nanoslp syz-executor 64169 294064 69871 0 3 0x82 nanoslp syz-executor 38581 259303 69871 0 3 0x82 wait syz-executor 99319 448749 69871 0 3 0x82 wait syz-executor 69871 14659 98495 0 3 0x82 kqread syz-executor 98495 408001 99732 0 3 0x10008a sigsusp ksh 99732 195048 30208 0 3 0x98 kqread sshd-session 30208 43747 48913 0 3 0x92 kqread sshd-session 15362 398452 1 0 3 0x100083 ttyopn getty 48913 509251 1 0 3 0x88 kqread sshd 60254 176862 71690 74 3 0x1100092 bpf pflogd 71690 108908 1 0 3 0x80 sbwait pflogd 84340 404677 24962 73 3 0x1100090 kqread syslogd 24962 517411 1 0 3 0x100082 sbwait syslogd 77947 456794 1 0 3 0x100080 kqread resolvd 45446 357521 72321 77 3 0x100092 kqread dhcpleased 58651 163149 72321 77 3 0x100092 kqread dhcpleased 72321 449049 1 0 3 0x80 kqread dhcpleased 94092 240409 0 0 3 0x14200 bored smr 30302 468406 0 0 3 0x14200 pgzero zerothread 52038 78207 0 0 3 0x14200 aiodoned aiodoned 25552 418183 0 0 3 0x14200 syncer update 2417 104742 0 0 3 0x14200 cleaner cleaner 92833 9201 0 0 3 0x14200 reaper reaper 28342 509556 0 0 3 0x14200 pgdaemon pagedaemon 96028 454364 0 0 3 0x14200 bored viomb 92334 346657 0 0 3 0x40014200 acpi0 acpi0 7506 133224 0 0 3 0x40014200 idle1 29743 6232 0 0 3 0x14200 bored softnet1 30914 85381 0 0 3 0x14200 bored softnet0 93382 350595 0 0 3 0x14200 bored systqmp 15995 383617 0 0 3 0x14200 bored systq 86647 384544 0 0 3 0x14200 tmoslp softclockmp 21974 289992 0 0 3 0x40014200 tmoslp softclock 66459 357507 0 0 3 0x40014200 idle0 1 479279 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 94181 (syz-executor) thread 0xffff8000fffe2558 (256652) Process 60032 (syz-executor) thread 0xffff8000fffe34e8 (430811) Process 60032 (syz-executor) thread 0xffff80003c48e568 (8858) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11071 12104K 12361K 166960K 12850 0 pcb 17 13K 13K 166960K 165 0 rtable 234 9K 9K 166960K 447 0 pf 38 18K 19K 166960K 97 0 ifaddr 44 8K 8K 166960K 77 0 ifgroup 57 2K 2K 166960K 117 0 sysctl 4 1K 9K 166960K 10 0 counters 72 37K 38K 166960K 136 0 ioctlops 0 0K 4K 166960K 1560 0 iov 0 0K 20K 166960K 22 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1332 84K 84K 166960K 1726 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 12 0K 0K 166960K 27 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 543 0 sigio 0 0K 0K 166960K 7 0 proc 72 115K 147K 166960K 599 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 64 0 in_multi 101 7K 7K 166960K 133 0 ether_multi 1 0K 0K 166960K 6 0 mrt 2 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 432 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 283 169K 190K 166960K 7113 0 UVM aobj 16 12K 12K 166960K 16 0 pinsyscall 43 86K 100K 166960K 1730 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 35 0 NDP 13 0K 2K 166960K 50 0 temp 51 9081K 9157K 166960K 25856 0 kqueue 14 22K 32K 166960K 120 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 65 0 62 1 0 1 1 0 8 0 rtentry 176 122 0 21 6 0 6 6 0 8 0 unpcb 144 355 0 335 4 0 4 4 0 8 2 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 103 0 98 1 0 1 1 0 8 0 arp 136 18 0 2 1 0 1 1 0 8 0 inpcb 328 607 0 598 10 6 4 7 0 8 3 nd6 152 28 0 0 2 0 2 2 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 26 0 25 2 1 1 1 0 8 0 pppxif 1576 4 0 4 2 1 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 4 0 0 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 7 0 3 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 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 48 0 1 1 0 1 1 0 8 0 pfstkey 128 48 0 1 2 0 2 2 0 8 0 pfstate 448 47 0 1 6 0 6 6 0 8 0 pfrule 1360 25 0 17 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 548 0 88 33 1 32 32 0 8 1 art_table 40 550 0 88 6 0 6 6 0 8 0 art_node 32 122 0 31 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 1 0 1 1 0 8 0 semapl 112 22 0 13 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2390 0 922 93 0 93 93 0 8 0 ffsino 296 2390 0 922 114 0 114 114 0 8 0 nchpl 144 3147 0 1441 64 0 64 64 0 8 0 rtmask 32 5 0 5 1 1 0 1 0 8 0 vnodes 216 2662 0 0 148 0 148 148 0 8 0 namei 1024 10265 0 10263 2 1 1 2 0 8 0 percpumem 16 83 0 32 1 0 1 1 0 8 0 vcpupl 3968 5 0 0 1 0 1 1 0 8 0 vmpool 848 5 0 0 1 0 1 1 0 8 0 kstatmem 264 70 0 42 4 1 3 3 0 8 0 scxspl 216 12553 0 12552 11 9 2 8 1 8 1 plimitpl 152 140 0 120 1 0 1 1 0 8 0 sigapl 424 888 0 820 8 0 8 8 0 8 0 knotepl 120 314 0 0 10 0 10 10 0 8 0 kqueuepl 224 299 0 288 7 4 3 5 0 8 2 pipepl 344 194 0 166 6 3 3 6 0 8 0 fdescpl 528 852 0 820 3 0 3 3 0 8 0 filepl 160 4633 0 4395 16 3 13 16 0 8 2 lockfpl 104 180 0 177 1 0 1 1 0 8 0 lockfspl 48 80 0 77 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 60 0 43 1 0 1 1 0 8 0 ucredpl 104 575 0 562 1 0 1 1 0 8 0 zombiepl 144 926 0 922 1 0 1 1 0 8 0 processpl 1232 888 0 820 6 0 6 6 0 8 0 procpl 664 1615 0 1537 8 0 8 8 0 8 0 sosppl 176 5 0 5 2 1 1 1 0 8 1 sockpl 752 1041 0 1009 17 7 10 14 0 8 5 mcl64k 65536 3 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 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 109 0 0 14 0 14 14 0 8 0 mcl2k 2048 19 0 0 3 0 3 3 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 183 0 0 12 0 12 12 0 8 0 bufpl 280 4893 0 110 342 0 342 342 0 8 0 anonpl 32 8957 0 0 73 0 73 73 0 246 0 amapchunkpl 152 22332 0 21694 39 7 32 32 0 158 6 amappl16 200 2885 0 2792 30 12 18 18 0 8 6 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 440 0 439 1 0 1 1 0 8 0 amappl13 176 128 0 116 1 0 1 1 0 8 0 amappl12 168 1108 0 1077 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 75 0 61 1 0 1 1 0 8 0 amappl9 144 275 0 275 1 1 0 1 0 8 0 amappl8 136 107 0 104 1 0 1 1 0 8 0 amappl7 128 152 0 139 1 0 1 1 0 8 0 amappl6 120 163 0 162 1 0 1 1 0 8 0 amappl5 112 144 0 133 1 0 1 1 0 8 0 amappl4 104 319 0 298 1 0 1 1 0 8 0 amappl3 96 4330 0 4190 4 0 4 4 0 8 0 amappl2 88 576 0 516 2 0 2 2 0 8 0 amappl1 80 12104 0 11494 19 2 17 17 0 8 3 amappl 88 6283 0 6075 5 0 5 5 0 92 0 uvmvnodes 80 115 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 15 0 0 1 0 1 1 0 8 0 uaddrrnd 24 852 0 820 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 852 0 820 1 0 1 1 0 8 0 vmmpekpl 168 8933 0 8890 4 1 3 3 0 8 0 vmmpepl 168 62836 0 60738 108 6 102 102 0 357 3 vmsppl 488 851 0 820 6 1 5 5 0 8 1 rwobjpl 80 20195 0 18999 32 2 30 30 0 8 0 pdppl 4096 1721 0 1645 104 24 80 81 0 8 4 pvpl 32 15520 0 0 127 1 126 126 0 265 0 pmappl 256 856 0 820 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 286 0 30 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(ffffffff838edff0) 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(ffffffff83a2e680) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a2e680) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80002ff92aa0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 syscall(ffff80002ff92c80) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002ff92c80) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x741aa4f27550, count: -9 ddb{0}> machine ddbcpu 1 Stopped at sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb{1}> trace sys_semop(ffff8000fffe2558,ffff800037fa47f0,ffff800037fa4740) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff800037fa47f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800037fa47f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd0a068cd320, count: -3