syzbot


uvm_fault: unveil_add_vnode

Status: auto-obsoleted due to no activity on 2024/08/25 07:38
Reported-by: syzbot+2dc91447bed11760d7e1@syzkaller.appspotmail.com
First crash: 277d, last: 178d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: unveil_add_vnode (2) 12 1d22h 83d 0/3 upstream: reported on 2024/08/30 10:41

Sample crash report:
uvm_fault(0xffffffff82d79e00, 0xffff800000e87008, 0, 2) -> e
kernel: page fault trap, code=2
Stopped at      unveil_add_vnode+0xb6:  movq    %rax,0x8(%r14,%r13,1)
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*473234  37854  32767   0x8102010  0x4080000    1K syz-executor.2
 412909  28158      0  0x1a000002          0    0  syz-fuzzer
unveil_add_vnode(ffff80002a202cf0,fffffd805d61b2c0) at unveil_add_vnode+0xb6 sys/kern/kern_unveil.c:391
unveil_add(ffff80002a202cf0,ffff8000359b7b88,ffff8000359b7c43) at unveil_add+0x30b sys/kern/kern_unveil.c:494
sys_unveil(ffff80002a202cf0,ffff8000359b7d70,ffff8000359b7cc0) at sys_unveil+0x41b sys/kern/vfs_syscalls.c:1024
syscall(ffff8000359b7d70) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff8000359b7d70) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xce5971d0f60, count: 10
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{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
*cpu1: uvm_fault(0xffffffff82d79e00, 0xffff800000e87008, 0, 2) -> e
ddb{1}> trace
unveil_add_vnode(ffff80002a202cf0,fffffd805d61b2c0) at unveil_add_vnode+0xb6 sys/kern/kern_unveil.c:391
unveil_add(ffff80002a202cf0,ffff8000359b7b88,ffff8000359b7c43) at unveil_add+0x30b sys/kern/kern_unveil.c:494
sys_unveil(ffff80002a202cf0,ffff8000359b7d70,ffff8000359b7cc0) at sys_unveil+0x41b sys/kern/vfs_syscalls.c:1024
syscall(ffff8000359b7d70) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff8000359b7d70) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xce5971d0f60, count: -5
ddb{1}> show registers
rdi               0xffff80002db0a000
rsi                           0x1611    __ALIGN_SIZE+0x611
rbp               0xffff8000359b7ab0
rbx               0xffff800034f85f68
rdx               0xffff80002db0a000
rcx                           0x1610    __ALIGN_SIZE+0x610
rax               0xffffffffffffffff
r8                              0x40
r9                0xfffffd807f7d3340
r10               0x686b752e065f8f8b
r11               0x2d9c2062b1d4a205
r12               0xfffffd805d61b2c0
r13                                0
r14               0xffff800000e87000
r15                                0
rip               0xffffffff820c92f6    unveil_add_vnode+0xb6
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff8000359b7a40
ss                              0x10
unveil_add_vnode+0xb6:  movq    %rax,0x8(%r14,%r13,1)
ddb{1}> show proc
PROC (syz-executor.2) tid=473234 pid=37854 tcnt=3 stat=onproc
    flags process=8102010<SUGID,SINGLEUNWIND,PLEDGE> proc=4080000<SUSPSINGLE,THREAD>
    runpri=32, usrpri=80, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0xffff80002a202a60 scnt=1 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80002a202020,0xffff80002a203220
    process=0xffff800034f85f68 user=0xffff8000359b2000, vmspace=0xfffffd806abeb380
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 37854   68467  84645  32767  4   0x8182010                syz-executor.2
*37854  473234  84645  32767  7   0xc182010                syz-executor.2
 37854  233868  84645  32767  3   0xc102010  suspend       syz-executor.2
 95010  100403  59864  32767  3   0x8000090  nanoslp       syz-executor.0
 95010   57510  59864  32767  3   0xc000090  lockf         syz-executor.0
 95010   59038  59864  32767  3   0xc000090  fsleep        syz-executor.0
 40267  350076  64487  32767  3   0x8000090  nanoslp       syz-executor.6
 40267  282808  64487  32767  3   0xc000090  ttyin         syz-executor.6
 40267   53799  64487  32767  3   0xc000090  fsleep        syz-executor.6
 97304  249529  70258  32767  3   0x8000090  nanoslp       syz-executor.3
 97304  381196  70258  32767  3   0xc000090  netacc        syz-executor.3
 97304  102631  70258  32767  3   0xc000090  fsleep        syz-executor.3
 55211  313765  42551  32767  3   0x8000090  nanoslp       syz-executor.5
 55211  376874  42551  32767  3   0xc000090  sbwait        syz-executor.5
 55211   46046  42551  32767  3   0xc000090  fsleep        syz-executor.5
 55211  465498  42551  32767  3   0xc000090  fsleep        syz-executor.5
 55211  298426  42551  32767  3   0xc000090  fsleep        syz-executor.5
 57114  299934  58731  32767  3   0x8000090  nanoslp       syz-executor.1
 57114  333396  58731  32767  3   0xc000090  kqsel         syz-executor.1
 57114   61141  58731  32767  3   0xc000090  fsleep        syz-executor.1
 70258  111743  84065  32767  3   0x8000090  nanoslp       syz-executor.3
 84065  153506  28158      0  3   0x8000082  wait          syz-executor.3
 84645  250655  38499  32767  3   0x8000090  nanoslp       syz-executor.2
 38499  485025  28158      0  3   0x8000082  wait          syz-executor.2
 30565  176603  24488  32767  2   0x8000010                syz-executor.7
 24488    3315  28158      0  3   0x8000082  wait          syz-executor.7
 42551  414972  78534  32767  3   0x8000090  nanoslp       syz-executor.5
 78534   29226  28158      0  3   0x8000082  wait          syz-executor.5
 59864  106298  77856  32767  3   0x8000090  nanoslp       syz-executor.0
 77856  172950  28158      0  3   0x8000082  wait          syz-executor.0
 58731  290164  68148  32767  3   0x8000090  nanoslp       syz-executor.1
 68148  491595  28158      0  3   0x8000082  wait          syz-executor.1
 64487   64177      1  32767  3   0x8000090  nanoslp       syz-executor.6
 26264  298337      0      0  3     0x14200  bored         sosplice
 28158  412909  38882      0  7  0x1a000002                syz-fuzzer
 28158  283613  38882      0  3  0x1e000082  nanoslp       syz-fuzzer
 28158    3758  38882      0  3  0x1e000082  thrsleep      syz-fuzzer
 28158  209679  38882      0  3  0x1e000082  thrsleep      syz-fuzzer
 28158  482213  38882      0  3  0x1e000082  kqread        syz-fuzzer
 28158  445979  38882      0  3  0x1e000082  wait          syz-fuzzer
 28158  369216  38882      0  3  0x1e000082  thrsleep      syz-fuzzer
 28158  487670  38882      0  3  0x1e000082  thrsleep      syz-fuzzer
 28158  133201  38882      0  3  0x1e000082  wait          syz-fuzzer
 28158  254206  38882      0  3  0x1e000082  thrsleep      syz-fuzzer
 28158  477496  38882      0  3  0x1e000082  thrsleep      syz-fuzzer
 28158  391396  38882      0  3  0x1e000082  thrsleep      syz-fuzzer
 28158  465630  38882      0  3  0x1e000082  wait          syz-fuzzer
 28158   37190  38882      0  3  0x1e000082  wait          syz-fuzzer
 28158  280994  38882      0  3  0x1e000082  wait          syz-fuzzer
 28158  102020  38882      0  3  0x1e000082  wait          syz-fuzzer
 38882   35352  53161      0  3   0x810008a  sigsusp       ksh
 53161   13928  53603      0  3  0x1800009a  kqread        sshd
  7974   86628      1      0  3  0x18100083  ttyin         getty
 53603  445295      1      0  3  0x18000088  kqread        sshd
 32195   67819  19021     73  3  0x19100090  kqread        syslogd
 19021  372527      1      0  3  0x18100082  sbwait        syslogd
 57870  475361      1      0  3  0x18100080  kqread        resolvd
 49858  311241  36482     77  3  0x18100092  kqread        dhcpleased
 10831  326252  36482     77  3  0x18100092  kqread        dhcpleased
 36482   62107      1      0  3  0x18000080  kqread        dhcpleased
 71191  350319      0      0  3     0x14200  bored         smr
 57336   50990      0      0  3     0x14200  pgzero        zerothread
 12509  127008      0      0  3     0x14200  aiodoned      aiodoned
 13432  308817      0      0  3     0x14200  syncer        update
 99934  451029      0      0  3     0x14200  cleaner       cleaner
 51819  459198      0      0  3     0x14200  reaper        reaper
 58320  218721      0      0  3     0x14200  pgdaemon      pagedaemon
 85995  139787      0      0  3     0x14200  bored         viomb
 62097  177604      0      0  3  0x40014200  acpi0         acpi0
  2183  132473      0      0  3  0x40014200                idle1
 45610  519506      0      0  3     0x14200  bored         softnet3
 39135   29275      0      0  3     0x14200  bored         softnet2
 33145  436980      0      0  3     0x14200  bored         softnet1
 74999  503153      0      0  3     0x14200  bored         softnet0
  9930  107653      0      0  3     0x14200  bored         systqmp
 16730  130234      0      0  3     0x14200  bored         systq
 12015  208113      0      0  3     0x14200  tmoslp        softclockmp
  3683  297838      0      0  3  0x40014200  tmoslp        softclock
 69854  477449      0      0  3  0x40014200                idle0
     1  111187      0      0  3   0x8000082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 37854 (syz-executor.2) thread 0xffff80002a202cf0 (473234)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82e2f918)
#0  witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x446 sys/kern/subr_witness.c:1157
#1  __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
#2  mi_switch+0x491 sys/kern/sched_bsd.c:470
#3  sleep_finish+0x19a sys/kern/kern_synch.c:417
#4  rw_enter+0x29d sys/kern/kern_rwlock.c:285
#5  rrw_enter+0x91 sys/kern/kern_rwlock.c:464
#6  VOP_LOCK+0x8b sys/kern/vfs_vops.c:524
#7  vn_lock+0x85 sys/kern/vfs_vnops.c:564
#8  vget+0x1fd sys/kern/vfs_subr.c:676
#9  ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119
#10 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1201
#11 ufs_lookup+0x10b9 sys/ufs/ufs/ufs_lookup.c:555
#12 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85
#13 unveil_find_cover+0x132 sys/kern/kern_unveil.c:277
#14 unveil_add_vnode+0xb6 sys/kern/kern_unveil.c:391
#15 unveil_add+0x30b sys/kern/kern_unveil.c:494
#16 sys_unveil+0x41b sys/kern/vfs_syscalls.c:1024
#17 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
#17 syscall+0x854 sys/arch/amd64/amd64/trap.c:577
#18 Xsyscall+0x128
Process 30565 (syz-executor.7) thread 0xffff80002a2027d0 (176603)
exclusive rrwlock inode r = 0 (0xfffffd806e416c50)
#0  witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x446 sys/kern/subr_witness.c:1157
#1  rw_enter+0x32d sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x91 sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:524
#4  vn_lock+0x85 sys/kern/vfs_vnops.c:564
#5  vget+0x1fd sys/kern/vfs_subr.c:676
#6  ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119
#7  ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1201
#8  ufs_lookup+0x1373 sys/ufs/ufs/ufs_lookup.c:478
#9  VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566
#11 namei+0x56a sys/kern/vfs_lookup.c:250
#12 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1856
#13 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
#13 syscall+0x854 sys/arch/amd64/amd64/trap.c:577
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806e412818)
#0  witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x446 sys/kern/subr_witness.c:1157
#1  rw_enter+0x32d sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x91 sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:524
#4  vn_lock+0x85 sys/kern/vfs_vnops.c:564
#5  vget+0x1fd sys/kern/vfs_subr.c:676
#6  cache_lookup+0x2b3 sys/kern/vfs_cache.c:222
#7  ufs_lookup+0x1b2 sys/ufs/ufs/ufs_lookup.c:160
#8  VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85
#9  vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566
#10 namei+0x56a sys/kern/vfs_lookup.c:250
#11 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1856
#12 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
#12 syscall+0x854 sys/arch/amd64/amd64/trap.c:577
#13 Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10181   6406K    6419K 166960K     11343        0
            pcb    17     12K      12K 166960K        17        0
         rtable   218      6K       7K 166960K      1370        0
             pf    27      8K       8K 166960K        83        0
         ifaddr    40     15K      16K 166960K       158        0
        ifgroup    46      2K       2K 166960K       158        0
         sysctl     4      1K       1K 166960K         4        0
       counters    62     36K      36K 166960K       118        0
       ioctlops     0      0K       2K 166960K        93        0
            iov     1      0K      20K 166960K       207        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1376     87K      87K 166960K      2030        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K        67        0
         VM map     2      1K       1K 166960K         2        0
            sem    11      1K       1K 166960K        14        0
        dirhash    12      2K       3K 166960K       171        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    21     77K     125K 166960K      2915        0
          sigio     0      0K       0K 166960K        55        0
           proc    56     78K     115K 166960K      1477        0
        subproc    91      5K       7K 166960K       559        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       673        0
       in_multi    88      6K       7K 166960K       511        0
    ether_multi     1      0K       0K 166960K        12        0
            mrt     2      0K       0K 166960K         3        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   103    466K     466K 166960K       103        0
           exec     0      0K       1K 166960K      1013        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   316     69K     123K 166960K     26486        0
       UVM aobj   126      4K       5K 166960K       138        0
     pinsyscall    41     82K     110K 166960K      4740        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     2      0K       0K 166960K       215        0
            NDP    10      0K       2K 166960K       108        0
           temp    72   6807K    6887K 166960K     13336        0
         kqueue    13     20K      29K 166960K       469        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       24    0        0     1     0     1     1     0     8    0
rtpcb      120      454    0      447     1     0     1     1     0     8    0
rtentry    112      455    0      353     4     0     4     4     0     8    0
unpcb      144     2502    0     2484    13    12     1     2     0     8    0
syncache   336       33    0       33    15    14     1     1     0     8    1
sackhl      24        2    0        2     2     2     0     1     0     8    0
tcpqe       32      100    0      100     4     4     0     1     0     8    0
tcpcb      808     1397    0     1388    28    26     2     2     0     8    1
arp        120       75    0       58     1     0     1     1     0     8    0
ipq         40       20    0       19     3     2     1     1     0     8    0
ipqe        40      198    0      197     3     2     1     1     0     8    0
inpcb      384     3189    0     3171    27    24     3     4     0     8    1
ip6q        72        1    0        1     1     1     0     1     0     8    0
ip6af       40        2    0        2     1     1     0     1     0     8    0
nd6        136      149    0      126     8     6     2     2     0     8    0
kcovpl      48       43    0       36     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     1877    0     1445    44    14    30    32     0     8    0
art_table   32     1878    0     1445     5     0     5     5     0     8    0
art_node    16      454    0      361     1     0     1     1     0     8    0
sysvmsgpl   40       14    0        8     1     0     1     1     0     8    0
semupl     112        3    0        3     1     1     0     1     0     8    0
semapl     112       10    0        1     1     0     1     1     0     8    0
shmpl      112      135    0       12     4     0     4     4     0     8    0
dirhash    1024     123    0      106     3     0     3     3     0     8    0
dino2pl    256     5419    0     3901    96     0    96    96     0     8    0
ffsino     272     5419    0     3901   103     0   103   103     0     8    0
nchpl      144     9471    0     7750    66     1    65    66     0     8    0
uvmvnodes   80     5987    0        0   123     0   123   123     0     8    0
vnodes     216     5987    0        0   333     0   333   333     0     8    0
namei      1024   35415    0    35413    19    18     1     2     0     8    0
percpumem   16       73    0       28     1     0     1     1     0     8    0
kstatmem   264       76    0       56     2     0     2     2     0     8    0
scxspl     216    96753    0    96753    42    41     1     8     1     8    1
plimitpl   152      767    0      747     8     7     1     2     0     8    0
sigapl     424     3134    0     3083     7     0     7     7     0     8    0
futexpl     64    43501    0    43494    25    24     1     1     0     8    0
knotepl    120      848    0        0    13     2    11    11     0     8    0
kqueuepl   216      963    0      953     2     1     1     2     0     8    0
pipepl     320      626    0      598     5     2     3     4     0     8    0
fdescpl    496     3115    0     3083     7     2     5     6     0     8    0
filepl     152    20237    0    19991    14     3    11    12     0     8    0
lockfpl    104      860    0      856     1     0     1     1     0     8    0
lockfspl    48      315    0      312     1     0     1     1     0     8    0
sessionpl  144       50    0       35     1     0     1     1     0     8    0
pgrppl      48      109    0       94     1     0     1     1     0     8    0
ucredpl    104     4461    0     4444     1     0     1     1     0     8    0
zombiepl   144     3083    0     3083     1     0     1     1     0     8    1
processpl  1144    3134    0     3083     6     2     4     5     0     8    0
procpl     656     6010    0     5930     9     1     8     8     0     8    0
sosppl     168       38    0       38    16    15     1     1     0     8    1
sockpl     664     6233    0     6192    52    48     4     5     0     8    0
mcl64k     65536     19    0        0     3     1     2     3     0     8    0
mcl16k     16384      6    0        0     1     0     1     1     0     8    0
mcl12k     12288      6    0        0     1     0     1     1     0     8    0
mcl9k      9216       6    0        0     1     0     1     1     0     8    0
mcl8k      8192       9    0        0     2     0     2     2     0     8    0
mcl4k      4096       6    0        0     1     0     1     1     0     8    0
mcl2k2     2112       2    0        0     1     0     1     1     0     8    0
mcl2k      2048     487    0        0    37    14    23    37     0     8    0
mtagpl      96        5    0        0     1     0     1     1     0     8    0
mbufpl     256     1393    0        0    71     0    71    71     0     8    0
bufpl      280    14884    0     5540   668     0   668   668     0     8    0
anonpl      24   742019    0   731617   279   208    71   130     0   186    0
amapchunkpl 152  100617    0    99811   153   117    36    63     0   158    0
amappl16   200    15222    0    14852   144   124    20    35     0     8    0
amappl15   192       15    0       15     2     2     0     1     0     8    0
amappl14   184      256    0      243     2     1     1     2     0     8    0
amappl13   176       28    0       28     4     4     0     1     0     8    0
amappl12   168     4170    0     4134     2     0     2     2     0     8    0
amappl11   160       69    0       59     1     0     1     1     0     8    0
amappl10   152      106    0       93     1     0     1     1     0     8    0
amappl9    144      183    0      183     2     2     0     1     0     8    0
amappl8    136      339    0      302     2     0     2     2     0     8    0
amappl7    128       61    0       45     1     0     1     1     0     8    0
amappl6    120      697    0      683     2     1     1     2     0     8    0
amappl5    112      279    0      267     1     0     1     1     0     8    0
amappl4    104      774    0      737     2     0     2     2     0     8    0
amappl3     96    16561    0    16456     3     0     3     3     0     8    0
amappl2     88     3584    0     3508     5     3     2     5     0     8    0
amappl1     80    19638    0    19142    22    10    12    22     0     8    0
amappl      88    25353    0    25124     6     0     6     6     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      137    0       12     4     1     3     3     0     8    0
uaddrrnd    24     3115    0     3083     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     3115    0     3083     1     0     1     1     0     8    0
vmmpekpl   168    25193    0    25131     4     0     4     4     0     8    0
vmmpepl    168   211705    0   209411   259   147   112   117     0   357    9
vmsppl     440     3114    0     3083     6     2     4     5     0     8    0
rwobjpl     56    62514    0    55060   132    26   106   106     0     8    0
pdppl      4096    6237    0     6166   309   232    77    95     0     8    6
pvpl        32    47996    0        0   388     0   388   388     0   265    0
pmappl     248     3114    0     3083     4     1     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      736    0      321    13     0    13    13     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x1e:        addq    $0x8,%rsp
x86_ipi_db(ffffffff82cd8ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff82e2f710) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82e2f710) at __mp_lock+0x129 sys/kern/kern_lock.c:147
intr_handler(ffff80002a184200,ffff80000067b200) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539
Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f
__mp_lock(ffffffff82e2f710) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82e2f710) at __mp_lock+0x12e sys/kern/kern_lock.c:147
vn_closefile(fffffd806b276690,ffff8000ffffd9b0) at vn_closefile+0x38 sys/kern/vfs_vnops.c:602
fdrop(fffffd806b276690,ffff8000ffffd9b0) at fdrop+0xd5 sys/kern/kern_descrip.c:1274
closef(fffffd806b276690,ffff8000ffffd9b0) at closef+0x120 sys/kern/kern_descrip.c:1258
syscall(ffff80002a1844e0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff80002a1844e0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e132fccbb30, count: 3
ddb{0}> trace
x86_ipi_db(ffffffff82cd8ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff82e2f710) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82e2f710) at __mp_lock+0x129 sys/kern/kern_lock.c:147
intr_handler(ffff80002a184200,ffff80000067b200) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539
Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f
__mp_lock(ffffffff82e2f710) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82e2f710) at __mp_lock+0x12e sys/kern/kern_lock.c:147
vn_closefile(fffffd806b276690,ffff8000ffffd9b0) at vn_closefile+0x38 sys/kern/vfs_vnops.c:602
fdrop(fffffd806b276690,ffff8000ffffd9b0) at fdrop+0xd5 sys/kern/kern_descrip.c:1274
closef(fffffd806b276690,ffff8000ffffd9b0) at closef+0x120 sys/kern/kern_descrip.c:1258
syscall(ffff80002a1844e0) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff80002a1844e0) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e132fccbb30, count: -12
ddb{0}> machine ddbcpu 1
Stopped at      unveil_add_vnode+0xb6:  movq    %rax,0x8(%r14,%r13,1)
unveil_add_vnode(ffff80002a202cf0,fffffd805d61b2c0) at unveil_add_vnode+0xb6 sys/kern/kern_unveil.c:391
unveil_add(ffff80002a202cf0,ffff8000359b7b88,ffff8000359b7c43) at unveil_add+0x30b sys/kern/kern_unveil.c:494
sys_unveil(ffff80002a202cf0,ffff8000359b7d70,ffff8000359b7cc0) at sys_unveil+0x41b sys/kern/vfs_syscalls.c:1024
syscall(ffff8000359b7d70) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff8000359b7d70) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xce5971d0f60, count: 10
ddb{1}> trace
unveil_add_vnode(ffff80002a202cf0,fffffd805d61b2c0) at unveil_add_vnode+0xb6 sys/kern/kern_unveil.c:391
unveil_add(ffff80002a202cf0,ffff8000359b7b88,ffff8000359b7c43) at unveil_add+0x30b sys/kern/kern_unveil.c:494
sys_unveil(ffff80002a202cf0,ffff8000359b7d70,ffff8000359b7cc0) at sys_unveil+0x41b sys/kern/vfs_syscalls.c:1024
syscall(ffff8000359b7d70) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff8000359b7d70) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xce5971d0f60, count: -5

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/27 07:38 openbsd e5fe1651a96d a10a183e .config console log report ci-openbsd-setuid uvm_fault: unveil_add_vnode
2024/04/28 04:59 openbsd 4a1a463e112f 07b455f9 .config console log report ci-openbsd-setuid uvm_fault: unveil_add_vnode
2024/02/18 15:44 openbsd 12afce1bef21 578f7538 .config console log report ci-openbsd-multicore uvm_fault: unveil_add_vnode
* Struck through repros no longer work on HEAD.