('O`#5p}p(IQ--xkernel: protection fault trap, code=0 Stopped at lf_advlock+0x2f1: incl 0x28(%r12) ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace lf_advlock(ffff800001642860,0,fffffd800e03fc60,8,ffff80003c4ff910,40) at lf_advlock+0x2f1 ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff800001642860,0,fffffd800e03fc60,8,ffff80003c4ff910,40) at lf_advlock+0x2f1 sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd806502b568,fffffd800e03fc60,8,ffff80003c4ff910,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 sys_fcntl(ffff80002f8d1240,ffff80003c4ffa60,ffff80003c4ff9b0) at sys_fcntl+0x13e5 sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:-1 syscall(ffff80003c4ffa60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c4ffa60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd1adaa72ba0, count: -5 ddb> show registers rdi 0xffff8000384ea000 rsi 0x5c0 rbp 0xffff80003c4ff830 rbx 0 rdx 0xffff8000384ea000 rcx 0x5bf rax 0xffffffff822b9a21 rw_assert_wrlock+0xa1 r8 0xa0 r9 0 r10 0xd331e91c4a840e7b r11 0x15fa19096767ec5a r12 0xdead4110dead4110 r13 0x8 r14 0xffff80003c4ff910 r15 0x1 rip 0xffffffff82db0d61 lf_advlock+0x2f1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c4ff7a0 ss 0x10 lf_advlock+0x2f1: incl 0x28(%r12) ddb> show proc PROC (syz-executor) tid=565 pid=11948 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a786010,0xffff80002f8d0a88 process=0xffff8000ffff9698 user=0xffff80003c4fa000, vmspace=0xfffffd806cd0fb90 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 1406 74435 24153 60928 3 0x90 nanoslp syz-executor 1406 72040 24153 60928 2 0x4000010 syz-executor 1406 168417 24153 60928 3 0x4000090 fsleep syz-executor 1406 160026 24153 60928 3 0x4000090 fsleep syz-executor 11948 228218 12095 0 3 0 inode syz-executor 11948 312650 12095 0 2 0x4000000 syz-executor *11948 565 12095 0 7 0x4000000 syz-executor 11948 484873 12095 0 2 0x4000000 syz-executor 54222 472322 22236 0 3 0x2 lockflk syz-executor 55938 234762 30586 0 3 0x80 nanoslp syz-executor 55938 286541 30586 0 3 0x4000080 netcon syz-executor 55938 239271 30586 0 3 0x4000080 fsleep syz-executor 60207 158574 65560 60928 3 0x90 nanoslp syz-executor 60207 210349 65560 60928 3 0x4000090 ttyout syz-executor 60207 200720 65560 60928 3 0x4000090 ttyout syz-executor 60207 171597 65560 60928 3 0x4000090 ttyout syz-executor 60207 91334 65560 60928 3 0x4000090 fsleep syz-executor 60207 495102 65560 60928 3 0x4000090 fsleep syz-executor 99087 522510 0 0 3 0x14200 acct acct 85434 49330 0 0 3 0x14280 nfsidl nfsio 90151 112068 0 0 3 0x14280 nfsidl nfsio 54516 201863 0 0 3 0x14280 nfsidl nfsio 95360 510053 0 0 3 0x14280 nfsidl nfsio 26625 360851 0 0 3 0x14280 nfsidl nfsio 12144 65517 0 0 3 0x14280 nfsidl nfsio 96251 477590 0 0 3 0x14280 nfsidl nfsio 61223 383898 0 0 3 0x14280 nfsidl nfsio 75780 165711 0 0 3 0x14280 nfsidl nfsio 60743 289321 0 0 3 0x14280 nfsidl nfsio 2820 434006 0 0 3 0x14280 nfsidl nfsio 54327 228478 0 0 3 0x14280 nfsidl nfsio 84456 279029 0 0 3 0x14280 nfsidl nfsio 14696 456233 0 0 3 0x14280 nfsidl nfsio 83002 26343 0 0 3 0x14280 nfsidl nfsio 39553 334655 0 0 3 0x14280 nfsidl nfsio 47598 471189 0 0 3 0x14280 nfsidl nfsio 74007 253738 0 0 3 0x14280 nfsidl nfsio 59942 264594 0 0 3 0x14280 nfsidl nfsio 74183 495538 0 0 3 0x14280 nfsidl nfsio 24153 72928 22236 0 3 0x82 nanoslp syz-executor 12095 1574 22236 0 3 0x82 nanoslp syz-executor 57668 422678 22236 0 2 0x2 syz-executor 65560 158996 22236 0 3 0x82 nanoslp syz-executor 24437 21614 22236 0 3 0x82 nanoslp syz-executor 30586 418189 22236 0 3 0x82 nanoslp syz-executor 41598 345127 22236 0 3 0x82 nanoslp syz-executor 22236 67089 66583 0 3 0x82 kqread syz-executor 66583 262994 11151 0 3 0x10008a sigsusp ksh 11151 108891 55772 0 3 0x98 kqread sshd-session 55772 475620 11315 0 3 0x92 kqread sshd-session 19573 246622 1 0 3 0x100083 ttyopn getty 11315 39294 1 0 3 0x88 kqread sshd 13100 49955 64590 73 3 0x1100090 kqread syslogd 64590 237233 1 0 3 0x100082 sbwait syslogd 95273 506445 1 0 3 0x100080 kqread resolvd 5460 302252 47274 77 3 0x100092 kqread dhcpleased 58282 98513 47274 77 3 0x100092 kqread dhcpleased 47274 360001 1 0 3 0x80 kqread dhcpleased 46368 312112 0 0 3 0x14200 bored smr 96378 266866 0 0 2 0x14200 zerothread 72464 88661 0 0 3 0x14200 aiodoned aiodoned 87402 516750 0 0 3 0x14200 syncer update 60275 210749 0 0 3 0x14200 cleaner cleaner 78644 341660 0 0 2 0x14200 reaper 61716 517859 0 0 3 0x14200 pgdaemon pagedaemon 40025 36947 0 0 3 0x14200 bored viomb 53299 279656 0 0 3 0x40014200 acpi0 acpi0 52647 399661 0 0 3 0x14200 bored softnet0 84325 146684 0 0 3 0x14200 bored systqmp 74466 199517 0 0 3 0x14200 bored systq 88252 502648 0 0 3 0x40014200 tmoslp softclock 73158 447758 0 0 3 0x40014200 idle0 1 65296 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11103 12161K 13239K 166960K 13432 0 pcb 18 14K 16K 166960K 219 0 rtable 186 16K 16K 166960K 452 0 pf 38 14K 17K 166960K 98 0 ifaddr 36 5K 7K 166960K 67 0 ifgroup 62 2K 2K 166960K 102 0 sysctl 3 1K 9K 166960K 10 0 counters 36 18K 18K 166960K 63 0 ioctlops 0 0K 4K 166960K 177 0 iov 0 0K 14K 166960K 57 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1417 89K 90K 166960K 2081 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 23 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 97K 166960K 567 0 sigio 0 0K 0K 166960K 13 0 proc 60 59K 116K 166960K 544 0 subproc 63 3K 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 59 0 in_multi 66 4K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 8 0 mrt 1 0K 0K 166960K 20 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 466 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 142K 160K 166960K 7059 0 UVM aobj 21 4K 4K 166960K 21 0 pinsyscall 36 72K 96K 166960K 1668 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 27 0 NDP 13 0K 2K 166960K 46 0 temp 76 9075K 9144K 166960K 24888 0 kqueue 14 22K 28K 166960K 93 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 77 0 74 1 0 1 1 0 8 0 rtentry 136 120 0 54 4 0 4 4 0 8 0 unpcb 144 302 0 284 5 1 4 4 0 8 3 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 200 0 193 7 0 7 7 0 8 6 arp 96 18 0 6 1 0 1 1 0 8 0 inpcb 328 572 0 561 12 5 7 7 0 8 5 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 112 25 0 10 1 0 1 1 0 8 0 kcovpl 48 8 0 1 1 0 1 1 0 8 0 ppxss 1072 25 0 24 1 0 1 1 0 8 0 pppxif 1384 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 3 0 2 1 0 1 1 0 8 0 pfanchor 1288 3 0 3 1 1 0 1 0 8 0 pftag 88 3 0 1 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1360 6 0 5 2 1 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 503 0 216 29 0 29 29 0 8 6 art_table 40 505 0 216 5 0 5 5 0 8 0 art_node 32 118 0 60 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 20 0 10 1 0 1 1 0 8 0 shmpl 112 17 0 0 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2442 0 993 92 0 92 92 0 8 0 ffsino 256 2442 0 993 92 0 92 92 0 8 0 nchpl 144 3236 0 1543 64 0 64 64 0 8 0 rtmask 32 7 0 7 1 0 1 1 0 8 1 vnodes 216 3048 0 0 170 0 170 170 0 8 0 namei 1024 11404 0 11402 4 2 2 2 0 8 1 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 808 1 0 0 1 0 1 1 0 8 0 kstatmem 264 58 0 32 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 12596 0 12596 9 1 8 8 1 8 8 plimitpl 152 239 0 221 1 0 1 1 0 8 0 sigapl 424 880 0 818 8 0 8 8 0 8 0 knotepl 120 19785 0 19736 21 11 10 14 0 8 8 kqueuepl 184 154 0 144 1 0 1 1 0 8 0 pipepl 304 155 0 128 3 0 3 3 0 8 0 fdescpl 448 846 0 819 5 1 4 5 0 8 0 filepl 120 4763 0 4547 14 2 12 12 0 8 3 lockfpl 104 637 0 634 2 0 2 2 0 8 1 lockfspl 48 213 0 210 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 611 0 597 1 0 1 1 0 8 0 zombiepl 144 1109 0 1107 1 0 1 1 0 8 0 processpl 1152 880 0 818 5 0 5 5 0 8 0 procpl 664 1665 0 1590 8 0 8 8 0 8 1 sockpl 552 966 0 934 12 4 8 8 0 8 5 mcl64k 65536 31 0 31 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 7 0 7 2 1 1 1 0 8 1 mcl4k 4096 3074 0 3019 15 7 8 15 0 8 0 mcl2k2 2112 7 0 7 1 0 1 1 0 8 1 mcl2k 2048 640 0 638 2 0 2 2 0 8 1 mtagpl 96 12 0 8 1 0 1 1 0 8 0 mbufpl 256 10846 0 10719 16 0 16 16 0 8 4 bufpl 280 4252 0 104 297 0 297 297 0 8 0 anonpl 24 113601 0 110519 45 0 45 45 0 187 16 amapchunkpl 152 21426 0 20979 28 1 27 27 0 158 7 amappl16 200 1299 0 1275 16 5 11 15 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 407 0 406 1 0 1 1 0 8 0 amappl13 176 184 0 174 1 0 1 1 0 8 0 amappl12 168 1082 0 1056 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 57 0 47 1 0 1 1 0 8 0 amappl9 144 268 0 268 1 1 0 1 0 8 0 amappl8 136 96 0 95 1 0 1 1 0 8 0 amappl7 128 141 0 129 1 0 1 1 0 8 0 amappl6 120 149 0 148 1 0 1 1 0 8 0 amappl5 112 90 0 82 1 0 1 1 0 8 0 amappl4 104 256 0 241 1 0 1 1 0 8 0 amappl3 96 4355 0 4255 4 0 4 4 0 8 0 amappl2 88 533 0 479 2 0 2 2 0 8 0 amappl1 80 11666 0 11122 16 0 16 16 0 8 2 amappl 88 6288 0 6133 6 1 5 5 0 92 0 uvmvnodes 80 112 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 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 20 0 0 1 0 1 1 0 8 0 uaddrrnd 24 846 0 819 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 846 0 819 1 0 1 1 0 8 0 vmmpekpl 168 8801 0 8758 3 0 3 3 0 8 1 vmmpepl 168 60312 0 58624 95 3 92 92 0 357 10 vmsppl 368 845 0 818 4 1 3 4 0 8 0 rwobjpl 40 18237 0 17267 14 1 13 13 0 8 0 pdppl 4096 1700 0 1637 104 37 67 82 0 8 4 pvpl 32 352249 0 343922 110 3 107 107 0 265 21 pmappl 216 846 0 818 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 387 0 54 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace lf_advlock(ffff800001642860,0,fffffd800e03fc60,8,ffff80003c4ff910,40) at lf_advlock+0x2f1 ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff800001642860,0,fffffd800e03fc60,8,ffff80003c4ff910,40) at lf_advlock+0x2f1 sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd806502b568,fffffd800e03fc60,8,ffff80003c4ff910,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 sys_fcntl(ffff80002f8d1240,ffff80003c4ffa60,ffff80003c4ff9b0) at sys_fcntl+0x13e5 sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:-1 syscall(ffff80003c4ffa60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c4ffa60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd1adaa72ba0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace lf_advlock(ffff800001642860,0,fffffd800e03fc60,8,ffff80003c4ff910,40) at lf_advlock+0x2f1 ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff800001642860,0,fffffd800e03fc60,8,ffff80003c4ff910,40) at lf_advlock+0x2f1 sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd806502b568,fffffd800e03fc60,8,ffff80003c4ff910,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:623 sys_fcntl(ffff80002f8d1240,ffff80003c4ffa60,ffff80003c4ff9b0) at sys_fcntl+0x13e5 sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:-1 syscall(ffff80003c4ffa60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c4ffa60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd1adaa72ba0, count: -5