kernel: protection fault trap, code=0 Stopped at fill_file+0xa36: movl 0x8(%rax),%eax ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace fill_file(ffff800000e25c00,fffffd8070b6d3d8,fffffd807a71ca30,3,0,ffff8000216e87e0,71c08cb8ef018968,d39c,ffff8000299f98f8) at fill_file+0xa36 sys/kern/kern_sysctl.c:1307 sysctl_file(ffff80002e652738,4,20000080,ffff80002e652768,ffff8000299f98f8) at sysctl_file+0xe87 sys/kern/kern_sysctl.c:1446 kern_sysctl(ffff80002e652734,5,20000080,ffff80002e652768,0,0,3fead1bd03a4a9bd) at kern_sysctl+0x107 sys/kern/kern_sysctl.c:455 sys_sysctl(ffff8000299f98f8,ffff80002e6527d8,ffff80002e652820) at sys_sysctl+0x209 sys/kern/kern_sysctl.c:250 syscall(ffff80002e6528a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x385b0d75bf0, count: -6 ddb> show registers rdi 0xffff8000299f98fc rsi 0xffff8000299f98fc rbp 0xffff80002e6522c0 rbx 0x11 rdx 0 rcx 0x1 rax 0xeeee85422c68c545 r8 0x2 r9 0 r10 0x4787b8bd20b6cfde r11 0xf4634d5d5c376213 r12 0xfffffd807a71ca30 r13 0x3 r14 0xffff8000216e87e0 r15 0xffff800000e25c00 rip 0xffffffff81674276 fill_file+0xa36 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e6521a0 ss 0x10 fill_file+0xa36: movl 0x8(%rax),%eax ddb> show proc PROC (syz-executor.2) pid=72716 stat=onproc flags process=1000 proc=4080000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4838,0xffff8000299f8090 process=0xffff8000fffeafc0 user=0xffff80002e64d000, vmspace=0xfffffd8069b67c28 estcpu=36, cpticks=19, pctcpu=0.0 user=0, sys=19, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67717 263144 70907 0 2 0 syz-executor.6 67717 171442 70907 0 3 0x4000080 fsleep syz-executor.6 66468 166292 44480 0 2 0 syz-executor.4 66468 383895 44480 0 3 0x4000080 fsleep syz-executor.4 52424 430219 82022 0 2 0 syz-executor.1 52424 119225 82022 0 2 0x4000000 syz-executor.1 62825 240623 24711 0 2 0 syz-executor.3 62825 449138 24711 0 3 0x4000080 fsleep syz-executor.3 62825 264199 24711 0 3 0x4000080 ttyopn syz-executor.3 7370 455388 46876 0 2 0 syz-executor.7 7370 299546 46876 0 3 0x4000080 fsleep syz-executor.7 *36054 72716 78153 0 7 0x4081000 syz-executor.2 36054 394941 78153 0 3 0x4003000 suspend syz-executor.2 86740 114035 55398 0 2 0 syz-executor.5 86740 228596 55398 0 3 0x4000080 fsleep syz-executor.5 86740 280758 55398 0 2 0x4000000 syz-executor.5 95811 366286 0 0 3 0x14200 acct acct 78153 59203 35751 0 2 0x482 syz-executor.2 28976 220566 1 0 3 0x100083 ttyin getty 55398 7079 35751 0 2 0x482 syz-executor.5 70907 305453 35751 0 2 0x482 syz-executor.6 82022 247935 35751 0 2 0x482 syz-executor.1 24711 323413 35751 0 2 0x482 syz-executor.3 13506 239416 35751 0 2 0x2 syz-executor.0 44480 385865 35751 0 2 0x482 syz-executor.4 46876 330880 35751 0 2 0x482 syz-executor.7 54021 326207 0 0 3 0x14200 bored sosplice 7374 80172 0 0 3 0x14280 nfsidl nfsio 51691 247100 0 0 3 0x14280 nfsidl nfsio 63904 56421 0 0 3 0x14280 nfsidl nfsio 83133 8874 0 0 3 0x14280 nfsidl nfsio 32613 346573 0 0 3 0x14280 nfsidl nfsio 9481 330588 0 0 3 0x14280 nfsidl nfsio 65387 239345 0 0 3 0x14280 nfsidl nfsio 87617 204360 0 0 3 0x14280 nfsidl nfsio 71023 130332 0 0 3 0x14280 nfsidl nfsio 66931 337585 0 0 3 0x14280 nfsidl nfsio 77468 430582 0 0 3 0x14280 nfsidl nfsio 21987 207232 0 0 3 0x14280 nfsidl nfsio 44691 294750 0 0 3 0x14280 nfsidl nfsio 63750 455704 0 0 3 0x14280 nfsidl nfsio 45031 100385 0 0 3 0x14280 nfsidl nfsio 53218 461899 0 0 3 0x14280 nfsidl nfsio 22557 209488 0 0 3 0x14280 nfsidl nfsio 75012 428252 0 0 3 0x14280 nfsidl nfsio 45288 59557 0 0 3 0x14280 nfsidl nfsio 69249 78226 0 0 3 0x14280 nfsidl nfsio 35751 379536 82621 0 3 0x82 thrsleep syz-fuzzer 35751 19795 82621 0 2 0x4000082 syz-fuzzer 35751 372412 82621 0 3 0x4000082 wait syz-fuzzer 35751 207890 82621 0 3 0x4000082 wait syz-fuzzer 35751 438938 82621 0 3 0x4000082 thrsleep syz-fuzzer 35751 78355 82621 0 3 0x4000082 wait syz-fuzzer 35751 516751 82621 0 3 0x4000082 wait syz-fuzzer 35751 433580 82621 0 3 0x4000082 wait syz-fuzzer 35751 196624 82621 0 3 0x4000082 wait syz-fuzzer 35751 438361 82621 0 3 0x4000082 thrsleep syz-fuzzer 35751 327108 82621 0 2 0x4000002 syz-fuzzer 35751 251623 82621 0 3 0x4000082 wait syz-fuzzer 35751 303964 82621 0 3 0x4000082 thrsleep syz-fuzzer 35751 125354 82621 0 3 0x4000082 wait syz-fuzzer 82621 378043 79425 0 3 0x10008a sigsusp ksh 79425 16529 86862 0 2 0x1a sshd 86862 457403 1 0 3 0x88 kqread sshd 55933 188934 62073 73 3 0x1100090 kqread syslogd 62073 281592 1 0 3 0x100082 netio syslogd 51409 197963 1 0 3 0x100080 kqread resolvd 16680 477431 91076 77 3 0x100092 kqread dhcpleased 55393 75637 91076 77 3 0x100092 kqread dhcpleased 91076 299818 1 0 3 0x80 kqread dhcpleased 55516 147590 0 0 3 0x14200 bored smr 56906 190532 0 0 2 0x14200 zerothread 55784 133371 0 0 3 0x14200 aiodoned aiodoned 30238 256270 0 0 3 0x14200 syncer update 37776 409097 0 0 3 0x14200 cleaner cleaner 80184 422366 0 0 3 0x14200 reaper reaper 54195 421652 0 0 3 0x14200 pgdaemon pagedaemon 14398 467813 0 0 3 0x14200 bored viomb 73589 442835 0 0 3 0x40014200 acpi0 acpi0 26496 191597 0 0 3 0x14200 bored softnet 56702 466771 0 0 3 0x14200 bored softnet 74058 104115 0 0 3 0x14200 bored softnet 10825 265958 0 0 3 0x14200 bored softnet 81975 90660 0 0 3 0x14200 bored systqmp 99580 95240 0 0 3 0x14200 bored systq 90432 181346 0 0 2 0x40014200 softclock 64941 93170 0 0 3 0x40014200 idle0 1 421853 0 0 3 0x80082 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 10224 6441K 7198K 78643K 37212 0 pcb 13 18K 20K 78643K 2241 0 rtable 207 16K 16K 78643K 2969 0 ifaddr 73 22K 24K 78643K 753 0 sysctl 2 0K 0K 78643K 4 0 counters 27 17K 17K 78643K 214 0 ioctlops 0 0K 4K 78643K 1036 0 iov 0 0K 28K 78643K 1922 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1760 110K 110K 78643K 14444 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 93 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 69K 78643K 7789 0 sigio 0 0K 0K 78643K 157 0 proc 62 59K 75K 78643K 2522 0 subproc 104 6K 7K 78643K 936 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 265 0 in_multi 85 5K 6K 78643K 1028 0 ether_multi 1 0K 0K 78643K 47 0 mrt 1 0K 0K 78643K 16 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 163 731K 731K 78643K 163 0 exec 0 0K 1K 78643K 2316 0 pfkey data 0 0K 0K 78643K 4 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 314 85K 101K 78643K 50726 0 UVM aobj 131 7K 7K 78643K 139 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 285 0 NDP 12 0K 1K 78643K 289 0 temp 129 5771K 13962K 78643K 103731 0 kqueue 12 18K 26K 78643K 761 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 842 0 838 9 8 1 3 0 8 0 rtentry 112 927 0 840 4 1 3 4 0 8 0 unpcb 144 7010 0 6997 71 68 3 8 0 8 2 syncache 296 66 0 66 14 13 1 1 0 8 1 tcpqe 32 388 167 388 2 2 0 1 0 8 0 tcpcb 776 3809 0 3797 101 91 10 15 0 8 8 arp 88 157 0 143 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 40 0 40 2 2 0 1 0 8 0 inpcb 336 10139 0 10123 150 140 10 21 0 8 8 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 225 0 204 1 0 1 1 0 8 0 pkpcb 40 26 0 26 6 6 0 1 0 8 0 kcovpl 48 72 0 64 1 0 1 1 0 8 0 ppxss 1160 80 0 80 11 11 0 1 0 8 0 pppxif 1360 55 0 55 5 5 0 1 0 8 0 pfstscr 40 7 0 6 1 0 1 1 0 8 0 pfanchor 1280 267 0 136 17 4 13 17 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 10 0 9 1 0 1 1 0 8 0 pfstate 352 7 0 6 1 0 1 1 0 8 0 rttmr 136 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 7 0 5 6 4 2 3 0 8 0 art_heap4 256 4101 0 3673 60 32 28 29 0 8 0 art_table 32 4108 0 3678 5 1 4 4 0 8 0 art_node 16 923 0 847 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 8 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 136 0 8 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 11823 0 10363 92 0 92 92 0 8 0 ffsino 240 11823 0 10363 87 0 87 87 0 8 0 nchpl 144 22172 0 20534 63 1 62 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 94701 0 94701 4 3 1 3 0 8 1 vmpool 664 111 0 111 11 11 0 1 0 8 0 kstatmem 264 282 0 258 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 65625 0 65625 20 18 2 8 0 8 2 plimitpl 152 1390 0 1374 1 0 1 1 0 8 0 sigapl 424 7978 0 7912 8 0 8 8 0 8 0 futexpl 64 87104 0 87099 4 3 1 1 0 8 0 knotepl 120 148865 0 148782 69 58 11 18 0 8 6 kqueuepl 184 1469 0 1460 16 15 1 4 0 8 0 pipepl 288 2375 0 2347 48 44 4 7 0 8 1 fdescpl 432 7939 0 7911 4 0 4 4 0 8 0 filepl 120 69218 0 68973 110 94 16 19 0 8 8 lockfpl 104 3150 0 3148 9 8 1 2 0 8 0 lockfspl 48 840 0 838 1 0 1 1 0 8 0 sessionpl 144 90 0 74 1 0 1 1 0 8 0 pgrppl 48 105 0 89 1 0 1 1 0 8 0 ucredpl 104 8376 0 8365 1 0 1 1 0 8 0 zombiepl 144 7913 0 7912 1 0 1 1 0 8 0 processpl 1008 7978 0 7912 10 1 9 9 0 8 0 procpl 696 19645 0 19556 19 10 9 10 0 8 0 sosppl 168 62 0 62 12 12 0 1 0 8 0 sockpl 456 18037 0 18004 418 405 13 42 0 8 8 mcl64k 65536 405 0 405 14 13 1 1 0 8 1 mcl16k 16384 179 0 179 21 20 1 1 0 8 1 mcl12k 12288 348 0 348 16 15 1 1 0 8 1 mcl9k 9216 78 0 78 20 19 1 1 0 8 1 mcl8k 8192 504 0 504 19 18 1 1 0 8 1 mcl4k 4096 923 0 923 12 11 1 1 0 8 1 mcl2k2 2112 61 0 61 23 22 1 1 0 8 1 mcl2k 2048 93156 0 93074 69 57 12 37 0 8 0 mtagpl 96 1228 0 1013 18 12 6 10 0 8 0 mbufpl 256 232785 0 232379 567 530 37 130 0 8 8 bufpl 288 16714 0 10314 458 0 458 458 0 8 0 anonpl 24 1607875 0 1589305 236 114 122 169 0 188 0 amapchunkpl 152 142382 0 141630 97 65 32 57 0 158 0 amappl16 200 16610 0 15978 140 105 35 46 0 8 0 amappl15 192 9 0 9 2 2 0 1 0 8 0 amappl14 184 441 0 427 2 1 1 2 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 1161 0 1157 1 0 1 1 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 105 0 93 1 0 1 1 0 8 0 amappl9 144 1008 0 1008 14 14 0 1 0 8 0 amappl8 136 372 0 310 3 0 3 3 0 8 0 amappl7 128 301 0 276 2 0 2 2 0 8 0 amappl6 120 484 0 474 2 1 1 2 0 8 0 amappl5 112 489 0 483 1 0 1 1 0 8 0 amappl4 104 1338 0 1314 2 1 1 2 0 8 0 amappl3 96 21857 0 21797 2 0 2 2 0 8 0 amappl2 88 8856 0 8785 3 1 2 3 0 8 0 amappl1 80 179686 0 178934 33 17 16 26 0 8 0 amappl 88 49488 0 49297 5 0 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 138 0 8 3 0 3 3 0 8 0 uaddrrnd 24 8050 0 8022 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8050 0 8022 1 0 1 1 0 8 0 vmmpekpl 168 65891 0 65832 4 0 4 4 0 8 0 vmmpepl 168 756236 0 753349 304 170 134 162 0 357 0 vmsppl 344 8049 0 8022 3 0 3 3 0 8 0 rwobjpl 24 196315 0 188481 51 2 49 49 0 8 0 pdppl 4096 16106 0 16044 666 602 64 66 0 8 2 pvpl 32 3230019 0 3205575 563 358 205 360 0 265 0 pmappl 216 8049 0 8022 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2284 0 1481 27 2 25 26 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fill_file(ffff800000e25c00,fffffd8070b6d3d8,fffffd807a71ca30,3,0,ffff8000216e87e0,71c08cb8ef018968,d39c,ffff8000299f98f8) at fill_file+0xa36 sys/kern/kern_sysctl.c:1307 sysctl_file(ffff80002e652738,4,20000080,ffff80002e652768,ffff8000299f98f8) at sysctl_file+0xe87 sys/kern/kern_sysctl.c:1446 kern_sysctl(ffff80002e652734,5,20000080,ffff80002e652768,0,0,3fead1bd03a4a9bd) at kern_sysctl+0x107 sys/kern/kern_sysctl.c:455 sys_sysctl(ffff8000299f98f8,ffff80002e6527d8,ffff80002e652820) at sys_sysctl+0x209 sys/kern/kern_sysctl.c:250 syscall(ffff80002e6528a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x385b0d75bf0, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace fill_file(ffff800000e25c00,fffffd8070b6d3d8,fffffd807a71ca30,3,0,ffff8000216e87e0,71c08cb8ef018968,d39c,ffff8000299f98f8) at fill_file+0xa36 sys/kern/kern_sysctl.c:1307 sysctl_file(ffff80002e652738,4,20000080,ffff80002e652768,ffff8000299f98f8) at sysctl_file+0xe87 sys/kern/kern_sysctl.c:1446 kern_sysctl(ffff80002e652734,5,20000080,ffff80002e652768,0,0,3fead1bd03a4a9bd) at kern_sysctl+0x107 sys/kern/kern_sysctl.c:455 sys_sysctl(ffff8000299f98f8,ffff80002e6527d8,ffff80002e652820) at sys_sysctl+0x209 sys/kern/kern_sysctl.c:250 syscall(ffff80002e6528a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x385b0d75bf0, count: -6