kernel: protection fault trap, code=0 Stopped at sys_semop+981: 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(ffff8000fffe8d18,ffff8000327de2d0,ffff8000327de220) at sys_semop+981 syscall(ffff8000327de2d0) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0xfe34c3ab2a0, count: -3 ddb{1}> show registers rdi 0 rsi 0 rbp 18446603337068306928 rbx 16046253651319045805 rdx 0 rcx 18446603340516068632 rax 16046253651319045805 r8 140187732525056 r9 1 r10 4241015771844904293 r11 10737691484798731675 r12 0 r13 18446741326745556400 r14 18446603337068307152 r15 0 rip 18446744071614316613 sys_semop+981 cs 8 rflags 66118 __ALIGN_SIZE+62022 rsp 18446603337068306688 ss 16 sys_semop+981: movzwl 0(%rax),%r15d ddb{1}> show proc PROC (syz-executor) tid=497412 pid=22351 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=83, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffe8a80,0xffff8000fffe9a20 process=0xffff8000fffe6b70 user=0xffff8000327d9000, vmspace=0xfffffd806c84fd80 estcpu=34, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 42225 251647 35506 0 2 0 syz-executor 42225 160957 35506 0 3 0x4000080 lockf syz-executor 35273 302386 98379 0 7 0 syz-executor 35273 280030 98379 0 2 0x4000000 syz-executor 4388 325239 51734 0 2 0 syz-executor 4388 462687 51734 0 2 0x4000000 syz-executor 4388 88263 51734 0 2 0x4000000 syz-executor 26672 235091 63003 0 2 0 syz-executor 26672 276053 63003 0 3 0x4000080 fsleep syz-executor 22351 167589 13731 0 2 0 syz-executor 22351 92416 13731 0 3 0x4000080 fsleep syz-executor *22351 497412 13731 0 7 0x4000000 syz-executor 3001 229756 0 0 3 0x14200 acct acct 79974 155464 85757 60929 3 0x3010 suspend syz-executor 79974 299158 85757 60929 3 0x4081010 biowait syz-executor 48778 283689 0 0 3 0x14280 nfsidl nfsio 65213 258399 0 0 3 0x14280 nfsidl nfsio 66830 508264 0 0 3 0x14280 nfsidl nfsio 39265 311259 0 0 3 0x14280 nfsidl nfsio 37203 101819 0 0 3 0x14280 nfsidl nfsio 24225 376336 0 0 3 0x14280 nfsidl nfsio 72692 198238 0 0 3 0x14280 nfsidl nfsio 90811 7592 0 0 3 0x14280 nfsidl nfsio 84278 76333 0 0 3 0x14280 nfsidl nfsio 9762 145227 0 0 3 0x14280 nfsidl nfsio 8814 172929 0 0 3 0x14280 nfsidl nfsio 50610 340827 0 0 3 0x14280 nfsidl nfsio 65012 65640 0 0 3 0x14280 nfsidl nfsio 22736 491031 0 0 3 0x14280 nfsidl nfsio 1042 356186 0 0 3 0x14280 nfsidl nfsio 68171 208500 0 0 3 0x14280 nfsidl nfsio 97320 203126 0 0 3 0x14280 nfsidl nfsio 97442 267385 0 0 3 0x14280 nfsidl nfsio 29573 507377 0 0 3 0x14280 nfsidl nfsio 64079 248178 0 0 3 0x14280 nfsidl nfsio 35506 235836 33262 0 3 0x82 nanoslp syz-executor 85757 343972 33262 0 3 0x82 wait syz-executor 13731 311446 33262 0 3 0x82 nanoslp syz-executor 51734 392595 33262 0 3 0x82 nanoslp syz-executor 98379 328998 33262 0 3 0x82 nanoslp syz-executor 83837 521655 33262 0 3 0x82 nanoslp syz-executor 8154 72980 33262 0 3 0x2 getblk syz-executor 63003 490152 33262 0 3 0x82 nanoslp syz-executor 33262 472284 18484 0 3 0x82 kqread syz-executor 18484 129832 90719 0 3 0x10008a sigsusp ksh 90719 249584 20378 0 3 0x98 kqread sshd-session 20378 163009 56427 0 3 0x92 kqread sshd-session 57030 288771 1 0 3 0x100083 ttyopn getty 56427 377414 1 0 3 0x88 kqread sshd 33611 461777 45223 74 3 0x1100092 bpf pflogd 45223 344811 1 0 3 0x80 sbwait pflogd 16339 93042 36910 73 3 0x1100090 kqread syslogd 36910 111653 1 0 3 0x100082 sbwait syslogd 28610 447715 1 0 3 0x100080 kqread resolvd 26918 462538 42592 77 3 0x100092 kqread dhcpleased 31796 445340 42592 77 3 0x100092 kqread dhcpleased 42592 224398 1 0 3 0x80 kqread dhcpleased 15687 428265 0 0 3 0x14200 bored smr 70350 85151 0 0 3 0x14200 pgzero zerothread 83576 115310 0 0 3 0x14200 aiodoned aiodoned 95481 374604 0 0 3 0x14200 syncer update 74224 255383 0 0 3 0x14200 cleaner cleaner 89448 345270 0 0 3 0x14200 reaper reaper 48795 381882 0 0 3 0x14200 pgdaemon pagedaemon 51800 197661 0 0 3 0x14200 bored viomb 37599 241220 0 0 3 0x40014200 acpi0 acpi0 69773 90560 0 0 3 0x40014200 idle1 635 240647 0 0 3 0x14200 bored softnet1 54745 348544 0 0 3 0x14200 bored softnet0 78505 508700 0 0 3 0x14200 smrbar systqmp 10278 68069 0 0 3 0x14200 bored systq 79894 95895 0 0 3 0x14200 tmoslp softclockmp 81117 79457 0 0 3 0x40014200 tmoslp softclock 95786 338287 0 0 3 0x40014200 idle0 1 375481 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 4388 (syz-executor) thread 0xffff80003c442038 (462687) exclusive rrwlock inode r = 0 (0xfffffd806ea7f930) #0 witness_lock+1521 #1 rw_do_enter_write+1049 #2 rrw_enter+198 #3 VOP_LOCK+189 #4 ufs_ihashins+79 #5 ffs_vget+391 #6 ufs_lookup+5821 #7 VOP_LOOKUP+110 #8 vfs_lookup+2362 #9 namei+1994 #10 vn_open+497 #11 doopenat+859 #12 syscall+3028 #13 Xsyscall+296 exclusive rrwlock inode r = 0 (0xfffffd807a2e9a38) #0 witness_lock+1521 #1 rw_do_enter_write+1049 #2 rrw_enter+198 #3 VOP_LOCK+189 #4 vn_lock+164 #5 vfs_lookup+284 #6 namei+1994 #7 vn_open+497 #8 doopenat+859 #9 syscall+3028 #10 Xsyscall+296 Process 4388 (syz-executor) thread 0xffff8000fffe8550 (88263) exclusive rwlock fdlock r = 0 (0xffff8000fffeb930) #0 witness_lock+1521 #1 rw_do_enter_write+1049 #2 doopenat+398 #3 syscall+3028 #4 Xsyscall+296 Process 22351 (syz-executor) thread 0xffff8000fffe8d18 (497412) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838b9a08) #0 witness_lock+1521 #1 __mp_acquire_count+88 #2 malloc+227 #3 sys_semop+559 #4 syscall+2839 #5 Xsyscall+296 Process 79974 (syz-executor) thread 0xffff8000fffe87e8 (299158) exclusive rrwlock inode r = 0 (0xfffffd807a1fec30) #0 witness_lock+1521 #1 rw_do_enter_write+1049 #2 rrw_enter+198 #3 VOP_LOCK+189 #4 vn_lock+164 #5 vn_write+399 #6 dofilewritev+578 #7 sys_write+162 #8 syscall+3028 #9 Xsyscall+296 Process 8154 (syz-executor) thread 0xffff8000ffffcd00 (72980) exclusive rrwlock inode r = 0 (0xfffffd807c5e4ec0) #0 witness_lock+1521 #1 rw_do_enter_write+1049 #2 rrw_enter+198 #3 VOP_LOCK+189 #4 vn_lock+164 #5 vget+674 #6 cache_lookup+849 #7 ufs_lookup+483 #8 VOP_LOOKUP+110 #9 vfs_lookup+2362 #10 namei+1994 #11 dounlinkat+193 #12 syscall+2839 #13 Xsyscall+296 Process 78505 (systqmp) thread 0xffff8000ffffe000 (508700) shared rwlock systqmp r = 0 (0xffffffff837d9188) #0 witness_lock+1521 #1 taskq_thread+298 #2 proc_trampoline+16 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11071 12105K 12338K 166960K 12840 0 pcb 20 14K 23K 166960K 189 0 rtable 179 7K 8K 166960K 513 0 pf 34 17K 18K 166960K 88 0 ifaddr 33 5K 8K 166960K 82 0 ifgroup 55 2K 2K 166960K 122 0 sysctl 4 1K 9K 166960K 10 0 counters 70 37K 38K 166960K 128 0 ioctlops 0 0K 4K 166960K 1622 0 iov 0 0K 12K 166960K 35 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1390 87K 88K 166960K 1995 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 19 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 33 0 dirhash 15 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 770 0 sigio 0 0K 0K 166960K 13 0 proc 73 115K 180K 166960K 587 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 98 0 in_multi 61 4K 7K 166960K 157 0 ether_multi 1 0K 0K 166960K 14 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 497 0 fusefs mount 1 32K 32K 166960K 1 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 246 175K 203K 166960K 8821 0 UVM aobj 9 6K 6K 166960K 10 0 pinsyscall 42 84K 106K 166960K 1901 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 51 0 NDP 12 0K 2K 166960K 52 0 temp 58 8675K 8743K 166960K 30060 0 kqueue 14 20K 28K 166960K 140 0 SYN cache 2 8K 16K 166960K 3 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 133 0 129 1 0 1 1 0 8 0 rtentry 176 135 0 62 6 0 6 6 0 8 0 unpcb 144 675 0 657 6 5 1 6 0 8 0 syncache 336 10 0 10 2 2 0 1 0 8 0 tcpqe 32 3 0 3 2 2 0 1 0 8 0 tcpcb 736 177 0 171 3 1 2 2 0 8 1 arp 136 21 0 11 1 0 1 1 0 8 0 inpcb 328 746 0 732 9 7 2 7 0 8 0 nd6 152 27 0 12 1 0 1 1 0 8 0 pkpcb 40 10 0 10 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 19 0 19 1 0 1 1 0 8 1 pppxif 1504 6 0 6 1 1 0 1 0 8 0 pffrag 232 6 0 1 1 0 1 1 0 482 0 pffrnode 88 6 0 1 1 0 1 1 0 8 0 pffrent 40 9 0 4 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 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 527 0 214 30 2 28 30 0 8 3 art_table 40 529 0 214 5 0 5 5 0 8 0 art_node 32 133 0 59 1 0 1 1 0 8 0 sysvmsgpl 40 45 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 29 0 20 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 29 0 10 3 0 3 3 0 8 0 dino2pl 256 2884 0 1376 95 0 95 95 0 8 0 ffsino 296 2884 0 1376 117 0 117 117 0 8 0 nchpl 144 3955 0 2251 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 3274 0 0 182 0 182 182 0 8 0 namei 1024 12734 0 12732 3 2 1 2 0 8 0 percpumem 16 79 0 29 1 0 1 1 0 8 0 vcpupl 3968 2 0 0 1 0 1 1 0 8 0 vmpool 848 3 0 1 1 0 1 1 0 8 0 kstatmem 264 70 0 42 4 1 3 3 0 8 1 scsiplug 72 4 0 4 2 2 0 1 0 8 0 scxspl 216 23950 0 23949 8 7 1 5 1 8 0 plimitpl 152 174 0 154 1 0 1 1 0 8 0 sigapl 424 1093 0 1025 9 1 8 8 0 8 0 knotepl 120 568 0 0 17 0 17 17 0 8 0 kqueuepl 224 306 0 294 2 1 1 2 0 8 0 pipepl 344 167 0 140 3 0 3 3 0 8 0 fdescpl 528 1053 0 1022 3 0 3 3 0 8 0 filepl 160 5967 0 5720 20 6 14 16 0 8 3 lockfpl 104 387 0 380 2 0 2 2 0 8 1 lockfspl 48 173 0 168 1 0 1 1 0 8 0 sessionpl 144 26 0 17 1 0 1 1 0 8 0 pgrppl 48 47 0 30 1 0 1 1 0 8 0 ucredpl 104 970 0 956 1 0 1 1 0 8 0 zombiepl 144 1069 0 1067 1 0 1 1 0 8 0 processpl 1232 1093 0 1025 6 0 6 6 0 8 0 procpl 664 2213 0 2137 8 0 8 8 0 8 0 sosppl 176 9 0 9 2 1 1 1 0 8 1 sockpl 752 1627 0 1590 18 13 5 17 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 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 126 0 0 16 0 16 16 0 8 0 mcl2k 2048 63 0 0 7 0 7 7 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 1137 0 0 72 0 72 72 0 8 0 bufpl 280 9559 0 3422 439 0 439 439 0 8 0 anonpl 32 13746 0 0 111 0 111 111 0 246 0 amapchunkpl 152 29597 0 29049 46 12 34 35 0 158 8 amappl16 200 4326 0 4126 47 36 11 27 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 45 0 45 1 1 0 1 0 8 0 amappl13 176 427 0 426 1 0 1 1 0 8 0 amappl12 168 1440 0 1398 3 0 3 3 0 8 0 amappl11 160 28 0 28 1 1 0 1 0 8 0 amappl10 152 50 0 36 1 0 1 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 61 0 58 1 0 1 1 0 8 0 amappl7 128 82 0 80 1 0 1 1 0 8 0 amappl6 120 275 0 262 1 0 1 1 0 8 0 amappl5 112 78 0 67 1 0 1 1 0 8 0 amappl4 104 446 0 416 1 0 1 1 0 8 0 amappl3 96 5001 0 4908 4 1 3 3 0 8 0 amappl2 88 1193 0 1117 2 0 2 2 0 8 0 amappl1 80 12643 0 12054 15 1 14 15 0 8 0 amappl 88 7945 0 7778 5 0 5 5 0 92 0 uvmvnodes 80 128 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 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 9 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1053 0 1022 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1053 0 1022 1 0 1 1 0 8 0 vmmpekpl 168 10659 0 10618 3 1 2 3 0 8 0 vmmpepl 168 75458 0 73362 116 21 95 114 0 357 0 vmsppl 488 1052 0 1022 6 1 5 5 0 8 1 rwobjpl 80 23529 0 22296 35 7 28 34 0 8 1 pdppl 4096 2120 0 2048 106 32 74 86 0 8 2 pvpl 32 21864 0 0 177 0 177 177 0 265 0 pmappl 256 1055 0 1023 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 350 0 43 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+39: addq $8,%rsp ddb{0}> trace x86_ipi_db(ffffffff837cdff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff838b9800) at __mp_lock+402 intr_handler(ffff80003c4778c0,ffff8000002a3480) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 end of kernel end trace frame: 0x7639008e6930, count: -6 ddb{0}> machine ddbcpu 1 Stopped at sys_semop+981: movzwl 0(%rax),%r15d ddb{1}> trace sys_semop(ffff8000fffe8d18,ffff8000327de2d0,ffff8000327de220) at sys_semop+981 syscall(ffff8000327de2d0) at syscall+2839 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0xfe34c3ab2a0, count: -3