-OnQ$ !Nk}R2՗xM0OeV6B_k 4t~Xt0>(FS&^V$ܬ,gMdbvQ4F x o.E--OnQ$ !Nk}R2՗xM0OeV6B_k 4t~Xt0>(FS&^V$ܬ,gMdbvQ4F x o.E-panic: kernel diagnostic assertion "tname->un_flags & UNVEIL_USERSET" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_unveil.c", line 879 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *145946 79336 0 0x10 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:208 __assert(ffffffff81f459f9,ffffffff81ef283c,36f,ffffffff81f53e28) at __assert+0x2e sys/kern/subr_prf.c:155 unveil_check_final(ffff8000ffff2720,ffff800014944360) at unveil_check_final+0x805 sys/kern/kern_unveil.c:879 namei(ffff800014944360) at namei+0x88a sys/kern/vfs_lookup.c:232 vn_open(ffff800014944360,213,0) at vn_open+0x157 sys/kern/vfs_vnops.c:103 doopenat(ffff8000ffff2720,ffffff9c,20000080,612,0,ffff8000149445a0) at doopenat+0x2b2 sys/kern/vfs_syscalls.c:1045 syscall(ffff800014944650) at syscall+0x541 Xsyscall(6,0,ffffffffffffffa8,0,3,9af8aa70010) at Xsyscall+0x128 end of kernel end trace frame: 0x9b2748b3d00, count: 6 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 kernel diagnostic assertion "tname->un_flags & UNVEIL_USERSET" failed: file "/syzkaller/managers/main/kernel/sys/kern/kern_unveil.c", line 879 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:208 __assert(ffffffff81f459f9,ffffffff81ef283c,36f,ffffffff81f53e28) at __assert+0x2e sys/kern/subr_prf.c:155 unveil_check_final(ffff8000ffff2720,ffff800014944360) at unveil_check_final+0x805 sys/kern/kern_unveil.c:879 namei(ffff800014944360) at namei+0x88a sys/kern/vfs_lookup.c:232 vn_open(ffff800014944360,213,0) at vn_open+0x157 sys/kern/vfs_vnops.c:103 doopenat(ffff8000ffff2720,ffffff9c,20000080,612,0,ffff8000149445a0) at doopenat+0x2b2 sys/kern/vfs_syscalls.c:1045 syscall(ffff800014944650) at syscall+0x541 Xsyscall(6,0,ffffffffffffffa8,0,3,9af8aa70010) at Xsyscall+0x128 end of kernel end trace frame: 0x9b2748b3d00, count: -9 ddb> show registers rdi 0xffffffff81c210d7 db_enter+0x17 rsi 0x47ea __ALIGN_SIZE+0x37ea rbp 0xffff800014943fa0 rbx 0xffff800014944050 rdx 0x47eb __ALIGN_SIZE+0x37eb rcx 0xffff80000093c000 rax 0xffff80000093c000 r8 0xffff800014943f60 r9 0x1 r10 0xffff800001945b40 r11 0xdc4240695ba5e452 r12 0x3000000008 r13 0xffff800014943fb0 r14 0x100 r15 0x1 rip 0xffffffff81c210d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014943f90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=145946 stat=onproc flags process=10 proc=4000000 pri=78, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2978,0xffff8000ffff3540 process=0xffff8000ffff7078 user=0xffff80001493f000, vmspace=0xfffffd803f014528 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65249 3296 80654 0 2 0 syz-executor.1 65249 120551 80654 0 3 0x4000080 fsleep syz-executor.1 79336 188406 93951 0 2 0x10 syz-executor.0 *79336 145946 93951 0 7 0x4000010 syz-executor.0 80654 419614 84866 0 2 0x482 syz-executor.1 6525 272555 0 0 3 0x14200 bored sosplice 93951 319913 84866 0 2 0x482 syz-executor.0 84866 332761 45505 0 3 0x82 thrsleep syz-fuzzer 84866 127909 45505 0 3 0x4000082 thrsleep syz-fuzzer 84866 242080 45505 0 3 0x4000082 thrsleep syz-fuzzer 84866 50449 45505 0 3 0x4000082 thrsleep syz-fuzzer 84866 248350 45505 0 3 0x4000082 kqread syz-fuzzer 84866 157194 45505 0 3 0x4000082 thrsleep syz-fuzzer 84866 211016 45505 0 3 0x4000082 thrsleep syz-fuzzer 45505 255331 23449 0 3 0x10008a pause ksh 23449 350759 54686 0 3 0x92 select sshd 35179 276554 1 0 3 0x100083 ttyopn getty 54686 283957 1 0 3 0x80 select sshd 9193 265397 8684 73 3 0x100090 kqread syslogd 8684 402826 1 0 3 0x100082 netio syslogd 18560 20634 0 0 2 0x14200 zerothread 39179 19460 0 0 3 0x14200 aiodoned aiodoned 96767 125081 0 0 3 0x14200 syncer update 92281 133422 0 0 3 0x14200 cleaner cleaner 63690 199367 0 0 3 0x14200 reaper reaper 8450 315927 0 0 3 0x14200 pgdaemon pagedaemon 38964 155611 0 0 3 0x14200 bored crynlk 97366 320306 0 0 3 0x14200 bored crypto 81821 522118 0 0 3 0x40014200 acpi0 acpi0 91714 250293 0 0 3 0x14200 bored softnet 217 80547 0 0 3 0x14200 bored systqmp 63765 213980 0 0 3 0x14200 bored systq 31506 207330 0 0 3 0x40014200 bored softclock 91855 20891 0 0 3 0x40014200 idle0 16961 233457 0 0 3 0x14200 bored smr 1 74569 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 Kern Lim devbuf 9493 6274K 6343K 78643K 10788 0 0 pcb 19 8K 11K 78643K 386 0 0 rtable 100 3K 3K 78643K 338 0 0 ifaddr 56 13K 13K 78643K 119 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 32 0 0 iov 0 0K 16K 78643K 96 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1182 74K 75K 78643K 1574 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 13 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 89 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 6 17K 17K 78643K 633 0 0 sigio 0 0K 0K 78643K 10 0 0 proc 45 38K 46K 78643K 418 0 0 subproc 64 65538K 67586K 78643K 172 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 71 0 0 in_multi 33 2K 2K 78643K 94 0 0 ether_multi 1 0K 0K 78643K 9 0 0 mrt 0 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 84 371K 371K 78643K 84 0 0 exec 0 0K 1K 78643K 230 0 0 pfkey data 0 0K 1K 78643K 4 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 69 19K 24K 78643K 2290 0 0 UVM aobj 36 2K 2K 78643K 40 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 30 0 0 NDP 11 0K 0K 78643K 35 0 0 temp 155 2353K 2421K 78643K 4749 0 0 kqueue 0 0K 0K 78643K 4 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 7 0 3 1 0 1 1 0 8 0 inpcbpl 280 312 0 308 1 0 1 1 0 8 0 plimitpl 152 40 0 34 1 0 1 1 0 8 0 rtentry 112 70 0 30 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 112 0 108 1 0 1 1 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 ppxss 1128 10 0 10 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 310 0 123 12 0 12 12 0 8 0 art_table 32 311 0 123 2 0 2 2 0 8 0 art_node 16 67 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 6 1 0 1 1 0 8 0 semapl 112 87 0 77 1 0 1 1 0 8 0 shmpl 112 38 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2579 0 1168 46 0 46 46 0 8 0 ffsino 240 2579 0 1168 84 0 84 84 0 8 0 nchpl 144 3710 0 2075 61 0 61 61 0 8 0 uvmvnodes 72 2715 0 0 50 0 50 50 0 8 0 vnodes 200 2715 0 0 143 0 143 143 0 8 0 namei 1024 10608 0 10607 1 0 1 1 0 8 0 scsiplug 64 3 0 3 2 1 1 1 0 8 1 scxspl 192 11079 0 11079 8 7 1 5 0 8 1 sigapl 432 794 0 782 2 0 2 2 0 8 0 futexpl 56 10317 0 10316 1 0 1 1 0 8 0 knotepl 112 252 0 233 1 0 1 1 0 8 0 kqueuepl 104 186 0 184 1 0 1 1 0 8 0 pipepl 112 514 0 493 2 1 1 2 0 8 0 fdescpl 424 795 0 782 2 0 2 2 0 8 0 filepl 120 4787 0 4699 6 2 4 5 0 8 1 lockfpl 104 255 0 255 2 1 1 1 0 8 1 lockfspl 32 199 0 199 2 1 1 1 0 8 1 sessionpl 112 20 0 12 1 0 1 1 0 8 0 pgrppl 48 24 0 16 1 0 1 1 0 8 0 ucredpl 96 1054 0 1047 1 0 1 1 0 8 0 zombiepl 144 782 0 782 1 0 1 1 0 8 1 processpl 840 810 0 782 4 0 4 4 0 8 0 procpl 600 1622 0 1586 4 0 4 4 0 8 0 sosppl 128 11 0 11 4 3 1 1 0 8 1 sockpl 384 635 0 625 4 2 2 4 0 8 0 mcl64k 65536 520 0 520 65 33 32 65 0 8 32 mcl16k 16384 2 0 2 2 1 1 1 0 8 1 mcl12k 12288 10 0 10 5 4 1 1 0 8 1 mcl9k 9216 11 0 11 3 3 0 1 0 8 0 mcl8k 8192 5 0 5 4 3 1 1 0 8 1 mcl4k 4096 38 0 38 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 47902 0 47871 11 6 5 9 0 8 1 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 81523 0 81456 38 33 5 36 0 8 0 bufpl 256 7474 0 2996 281 0 281 281 0 8 0 anonpl 16 98308 0 89746 65 14 51 51 0 62 11 amapchunkpl 152 3360 0 3283 9 5 4 8 0 158 0 amappl16 192 4646 0 4179 52 19 33 36 0 8 8 amappl15 184 220 0 213 1 0 1 1 0 8 0 amappl14 176 156 0 153 1 0 1 1 0 8 0 amappl13 168 27 0 23 1 0 1 1 0 8 0 amappl12 160 124 0 124 2 2 0 1 0 8 0 amappl11 152 188 0 182 1 0 1 1 0 8 0 amappl10 144 60 0 60 1 1 0 1 0 8 0 amappl9 136 596 0 593 1 0 1 1 0 8 0 amappl8 128 177 0 162 1 0 1 1 0 8 0 amappl7 120 34 0 29 1 0 1 1 0 8 0 amappl6 112 228 0 217 1 0 1 1 0 8 0 amappl5 104 252 0 245 1 0 1 1 0 8 0 amappl4 96 863 0 839 2 1 1 2 0 8 0 amappl3 88 261 0 256 1 0 1 1 0 8 0 amappl2 80 6002 0 5950 2 0 2 2 0 8 0 amappl1 72 23587 0 23201 25 15 10 19 0 8 0 amappl 72 1871 0 1841 1 0 1 1 0 75 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 39 0 4 1 0 1 1 0 8 0 uaddrrnd 24 795 0 782 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 795 0 782 1 0 1 1 0 8 0 vmmpekpl 168 9356 0 9339 2 0 2 2 0 8 0 vmmpepl 168 88584 0 87193 109 41 68 90 0 357 4 vmsppl 264 794 0 782 1 0 1 1 0 8 0 pdppl 4096 1596 0 1564 5 0 5 5 0 8 0 pvpl 32 273872 0 262278 149 20 129 131 0 265 25 pmappl 192 794 0 782 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 512 0 79 15 0 15 15 0 8 0