@&qq4qXZP7<0+qzpрJͳl)G 1P\4H:7Eg%RA&N=.DFz'UçIc":F>8%Sپ`T:=@rT|;ĝ+#ȏʈSwۦ]G9j(8usA./file1@@@?@@./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaapanic: kernel diagnostic assertion "ps->ps_uvncount == 0" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_unveil.c", line 188 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83405dd0) at panic+0x1cf sys/kern/subr_prf.c:198 __assert(ffffffff833b3398,ffffffff833810a5,bc,ffffffff83329cd0) at __assert+0x29 unveil_destroy(ffff80002a7c2290) at unveil_destroy+0x1dd sys/kern/kern_unveil.c:188 exit1(ffff80002a8079c8,0,0,1) at exit1+0x60f sys/kern/kern_exit.c:233 sys_exit(ffff80002a8079c8,ffff800030117240,ffff800030117190) at sys_exit+0x1a syscall(ffff800030117240) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d0d01aabe70, count: 7 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: kernel diagnostic assertion "ps->ps_uvncount == 0" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_unveil.c", line 188 ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83405dd0) at panic+0x1cf sys/kern/subr_prf.c:198 __assert(ffffffff833b3398,ffffffff833810a5,bc,ffffffff83329cd0) at __assert+0x29 unveil_destroy(ffff80002a7c2290) at unveil_destroy+0x1dd sys/kern/kern_unveil.c:188 exit1(ffff80002a8079c8,0,0,1) at exit1+0x60f sys/kern/kern_exit.c:233 sys_exit(ffff80002a8079c8,ffff800030117240,ffff800030117190) at sys_exit+0x1a syscall(ffff800030117240) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d0d01aabe70, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800030116f90 rbx 0xffff80002a7c2290 rdx 0 rcx 0 rax 0xffff80002a8079c8 r8 0x101010101010101 r9 0x8080808080808080 r10 0xdc09a768e7d8400d r11 0x6b857425e8412806 r12 0 r13 0x3 r14 0 r15 0x1 rip 0xffffffff8189d035 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800030116f80 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=490076 pid=85095 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a8079c8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a8934b0,0xffff80003b547758 process=0xffff80002a7c2290 user=0xffff800030112000, vmspace=0xfffffd806f9d69e0 estcpu=34, cpticks=1, pctcpu=0.28, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 58500 81142 97245 0 2 0 syz-executor 79548 18959 5372 0 2 0 syz-executor 79548 511228 5372 0 3 0x4000080 fsleep syz-executor 11566 496958 79745 0 2 0 syz-executor 11566 406291 79745 0 3 0x4000080 fsleep syz-executor 35543 112119 9174 0 2 0 syz-executor 38597 84745 28701 0 2 0 syz-executor 38597 162955 28701 0 2 0x4000000 syz-executor 84074 517881 1414 0 3 0 vmmaplk syz-executor 84074 167128 1414 0 2 0x4000000 syz-executor 84074 191434 1414 0 3 0x4000080 fsleep syz-executor 84074 8915 1414 0 3 0x4000080 fsleep syz-executor 94951 41486 0 0 3 0x14200 acct acct 9174 103618 59257 0 3 0x82 nanoslp syz-executor 97245 433492 59257 0 3 0x82 nanoslp syz-executor 5372 481807 59257 0 3 0x82 nanoslp syz-executor 40279 463886 1 0 3 0x100083 ttyopn getty 28701 202541 59257 0 3 0x82 nanoslp syz-executor 85114 396425 0 0 3 0x14280 nfsidl nfsio 82079 81330 0 0 3 0x14280 nfsidl nfsio 19263 411195 0 0 3 0x14280 nfsidl nfsio 47167 34590 0 0 3 0x14280 nfsidl nfsio 24577 331966 0 0 3 0x14280 nfsidl nfsio 6742 437631 0 0 3 0x14280 nfsidl nfsio 10519 267488 0 0 3 0x14280 nfsidl nfsio 58473 108220 0 0 3 0x14280 nfsidl nfsio 24506 333567 0 0 3 0x14280 nfsidl nfsio 82066 262184 0 0 3 0x14280 nfsidl nfsio 16355 268417 0 0 3 0x14280 nfsidl nfsio 18827 8799 0 0 3 0x14280 nfsidl nfsio 23492 487697 0 0 3 0x14280 nfsidl nfsio 76860 427400 0 0 3 0x14280 nfsidl nfsio 89720 346300 0 0 3 0x14280 nfsidl nfsio 75371 352308 0 0 3 0x14280 nfsidl nfsio 6625 16879 0 0 3 0x14280 nfsidl nfsio 28739 448643 0 0 3 0x14280 nfsidl nfsio 81168 107759 0 0 3 0x14280 nfsidl nfsio 6086 436745 0 0 3 0x14280 nfsidl nfsio 90519 184567 59257 0 3 0x82 nanoslp syz-executor 39146 388517 0 0 3 0x14200 bored sosplice 1414 435361 59257 0 3 0x82 nanoslp syz-executor 81476 82489 59257 0 3 0x82 nanoslp syz-executor 79745 317300 59257 0 3 0x82 nanoslp syz-executor 59257 314030 92796 0 3 0x82 kqread syz-executor 92796 291199 92074 0 3 0x10008a sigsusp ksh 92074 467057 80456 0 3 0x98 kqread sshd-session 80456 502082 1 0 3 0x92 kqread sshd-session 5060 390539 18772 73 3 0x1100090 kqread syslogd 18772 346230 1 0 3 0x100082 sbwait syslogd 5003 123156 1 0 3 0x100080 kqread resolvd 69935 134354 36270 77 3 0x100092 kqread dhcpleased 10524 96525 36270 77 3 0x100092 kqread dhcpleased 36270 22447 1 0 3 0x80 kqread dhcpleased 75999 249846 0 0 3 0x14200 bored smr 82419 363040 0 0 2 0x14200 zerothread 32436 327624 0 0 3 0x14200 aiodoned aiodoned 91670 194538 0 0 3 0x14200 syncer update 14019 164165 0 0 3 0x14200 cleaner cleaner 49139 201879 0 0 2 0x14200 reaper 92092 25307 0 0 3 0x14200 pgdaemon pagedaemon 33911 262481 0 0 3 0x14200 bored viomb 26871 98592 0 0 3 0x40014200 acpi0 acpi0 55474 244006 0 0 3 0x14200 bored softnet3 37398 518878 0 0 3 0x14200 bored softnet2 54252 446008 0 0 3 0x14200 bored softnet1 35746 280474 0 0 3 0x14200 bored softnet0 33592 23911 0 0 3 0x14200 bored systqmp 9778 517097 0 0 3 0x14200 bored systq 25355 57321 0 0 2 0x40014200 softclock 85683 36983 0 0 3 0x40014200 idle0 1 313345 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 10216 11125K 15410K 166960K 14755 0 pcb 19 14K 16K 166960K 625 0 rtable 191 9K 10K 166960K 893 0 pf 35 13K 269K 166960K 190 0 ifaddr 37 6K 7K 166960K 139 0 ifgroup 58 2K 2K 166960K 229 0 sysctl 4 1K 1K 166960K 4 0 counters 32 17K 18K 166960K 106 0 ioctlops 0 0K 4K 166960K 443 0 iov 0 0K 18K 166960K 307 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1487 93K 94K 166960K 3453 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 9K 166960K 46 0 VM map 2 1K 1K 166960K 2 0 sem 18 17K 17K 166960K 189 0 dirhash 12 2K 2K 166960K 45 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 2590 0 sigio 0 0K 0K 166960K 155 0 proc 65 83K 91K 166960K 826 0 subproc 72 4K 4K 166960K 127 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 351 0 in_multi 72 5K 7K 166960K 263 0 ether_multi 1 0K 0K 166960K 31 0 mrt 1 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 899 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 214 72K 102K 166960K 26025 0 UVM aobj 113 5K 5K 166960K 125 0 pinsyscall 37 74K 88K 166960K 3769 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 193 0 NDP 13 0K 2K 166960K 98 0 temp 84 8636K 8956K 166960K 73637 0 kqueue 14 20K 28K 166960K 447 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 510 0 507 6 2 4 4 0 8 3 rtentry 112 263 0 184 4 0 4 4 0 8 1 unpcb 144 2464 0 2449 14 10 4 6 0 8 3 syncache 336 7 0 7 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 808 790 0 787 16 9 7 7 0 8 6 arp 88 45 0 28 1 0 1 1 0 8 0 ipq 40 14 0 13 1 0 1 1 0 8 0 ipqe 40 118 0 117 1 0 1 1 0 8 0 inpcb 344 2980 0 2972 26 17 9 13 0 8 7 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 4 0 4 1 1 0 1 0 8 0 nd6 104 57 0 40 1 0 1 1 0 8 0 pkpcb 40 19 0 19 3 2 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 ppxss 1072 50 0 50 3 2 1 1 0 8 1 pppxif 1376 9 0 9 3 2 1 1 0 8 1 pfstscr 40 1 0 0 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 344 1 0 0 1 0 1 1 0 8 0 pfrule 1344 10 0 10 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 978 0 601 33 6 27 29 0 8 0 art_table 32 982 0 601 4 0 4 4 0 8 0 art_node 16 243 0 174 1 0 1 1 0 8 0 sysvmsgpl 40 45 0 36 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 150 0 134 1 0 1 1 0 8 0 shmpl 112 122 0 12 4 0 4 4 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 5932 0 4428 95 0 95 95 0 8 0 ffsino 248 5932 0 4428 95 0 95 95 0 8 0 nchpl 144 9756 0 9216 63 41 22 63 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 uvmvnodes 80 7338 0 0 150 0 150 150 0 8 0 vnodes 216 7338 0 0 408 0 408 408 0 8 0 namei 1024 38033 0 38032 4 2 2 2 0 8 1 kstatmem 264 136 0 110 3 1 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 28550 0 28550 10 8 2 8 1 8 2 plimitpl 152 627 0 611 1 0 1 1 0 8 0 sigapl 424 2869 0 2802 8 0 8 8 0 8 0 futexpl 64 35051 0 35047 1 0 1 1 0 8 0 knotepl 120 108966 0 108920 29 17 12 17 0 8 8 kqueuepl 184 851 0 840 4 0 4 4 0 8 3 pipepl 296 613 0 586 15 7 8 8 0 8 5 fdescpl 440 2829 0 2801 4 0 4 4 0 8 0 filepl 120 21497 0 21288 22 7 15 15 0 8 7 lockfpl 104 972 0 970 2 0 2 2 0 8 1 lockfspl 48 303 0 301 1 0 1 1 0 8 0 sessionpl 144 30 0 23 1 0 1 1 0 8 0 pgrppl 48 138 0 123 1 0 1 1 0 8 0 ucredpl 104 4096 0 4085 1 0 1 1 0 8 0 zombiepl 144 3865 0 3862 1 0 1 1 0 8 0 processpl 1104 2869 0 2802 5 0 5 5 0 8 0 procpl 656 7102 0 7027 8 0 8 8 0 8 0 sosppl 168 20 0 20 3 2 1 1 0 8 1 sockpl 528 6117 0 6091 34 24 10 18 0 8 7 mcl64k 65536 78 0 78 3 2 1 1 0 8 1 mcl16k 16384 20 0 20 2 1 1 1 0 8 1 mcl12k 12288 5 0 5 2 1 1 1 0 8 1 mcl9k 9216 6 0 6 2 1 1 1 0 8 1 mcl8k 8192 53 0 52 3 2 1 1 0 8 0 mcl4k 4096 6206 0 6155 17 9 8 15 0 8 1 mcl2k2 2112 9 0 9 3 2 1 1 0 8 1 mcl2k 2048 2865 0 2859 6 3 3 4 0 8 1 mtagpl 96 44 0 38 1 0 1 1 0 8 0 mbufpl 256 32720 0 32550 80 56 24 60 0 8 7 bufpl 280 7412 0 1183 446 0 446 446 0 8 0 anonpl 24 327365 0 323525 76 31 45 45 0 187 13 amapchunkpl 152 89553 0 89054 62 20 42 42 0 158 19 amappl16 200 5408 0 5342 37 24 13 15 0 8 8 amappl15 192 23 0 23 1 1 0 1 0 8 0 amappl14 184 120 0 111 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 1 0 1 0 8 0 amappl12 168 3532 0 3504 2 0 2 2 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 8 0 8 2 2 0 1 0 8 0 amappl9 144 256 0 256 1 1 0 1 0 8 0 amappl8 136 29 0 26 1 0 1 1 0 8 0 amappl7 128 108 0 98 1 0 1 1 0 8 0 amappl6 120 231 0 227 1 0 1 1 0 8 0 amappl5 112 137 0 129 1 0 1 1 0 8 0 amappl4 104 313 0 299 1 0 1 1 0 8 0 amappl3 96 17910 0 17802 4 0 4 4 0 8 0 amappl2 88 737 0 686 2 0 2 2 0 8 0 amappl1 80 15584 0 15139 13 1 12 13 0 8 0 amappl 88 25446 0 25276 5 0 5 5 0 92 0 dma32768 32768 3 0 3 2 1 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 3 0 3 1 0 1 1 0 8 1 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 256 0 256 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 124 0 12 3 0 3 3 0 8 0 uaddrrnd 24 2829 0 2800 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2829 0 2800 1 0 1 1 0 8 0 vmmpekpl 168 23410 0 23354 3 0 3 3 0 8 0 vmmpepl 168 171748 0 170044 93 10 83 83 0 357 5 vmsppl 360 2828 0 2800 4 1 3 4 0 8 0 rwobjpl 32 50014 0 41756 68 0 68 68 0 8 0 pdppl 4096 5664 0 5600 144 80 64 74 0 8 0 pvpl 32 1113532 0 1104412 161 58 103 114 0 265 17 pmappl 216 2828 0 2800 2 0 2 2 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 418 0 174 9 1 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83405dd0) at panic+0x1cf sys/kern/subr_prf.c:198 __assert(ffffffff833b3398,ffffffff833810a5,bc,ffffffff83329cd0) at __assert+0x29 unveil_destroy(ffff80002a7c2290) at unveil_destroy+0x1dd sys/kern/kern_unveil.c:188 exit1(ffff80002a8079c8,0,0,1) at exit1+0x60f sys/kern/kern_exit.c:233 sys_exit(ffff80002a8079c8,ffff800030117240,ffff800030117190) at sys_exit+0x1a syscall(ffff800030117240) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d0d01aabe70, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83405dd0) at panic+0x1cf sys/kern/subr_prf.c:198 __assert(ffffffff833b3398,ffffffff833810a5,bc,ffffffff83329cd0) at __assert+0x29 unveil_destroy(ffff80002a7c2290) at unveil_destroy+0x1dd sys/kern/kern_unveil.c:188 exit1(ffff80002a8079c8,0,0,1) at exit1+0x60f sys/kern/kern_exit.c:233 sys_exit(ffff80002a8079c8,ffff800030117240,ffff800030117190) at sys_exit+0x1a syscall(ffff800030117240) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d0d01aabe70, count: -8