syzbot


assert "((flags & PGO_LOCKED) != NUM && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == NUM" failed in uvm_vno (3)

Status: auto-obsoleted due to no activity on 2024/02/07 12:57
Reported-by: syzbot+10a079694388702a3151@syzkaller.appspotmail.com
First crash: 482d, last: 381d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "((flags & PGO_LOCKED) != NUM && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == NUM" failed in uvm_vno 1 776d 776d 0/3 auto-obsoleted due to no activity on 2023/01/08 11:37
openbsd assert "((flags & PGO_LOCKED) != NUM && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == NUM" failed in uvm_vno (2) 1 682d 682d 0/3 auto-obsoleted due to no activity on 2023/04/11 21:33
openbsd assert "((flags & PGO_LOCKED) != NUM && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == NUM" failed in uvm_vno (4) 10 34d 256d 0/3 upstream: reported on 2024/03/13 15:18

Sample crash report:
papanic: kernel diagnostic assertion "((flags & PGO_LOCKED) != 0 && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_vnode.c", line 953
Stopped at      db_enter+0x1c:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*280064   6999  32767        0x10          0    1  syz-executor.4
 217148  58785  32767        0x10          0    0  syz-executor.7
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff827a4f32) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff82825a79,ffffffff82849ed7,3b9,ffffffff827860e0) at __assert+0x29 sys/kern/subr_prf.c:157
uvn_get(fffffd806da12b00,23000,ffff800029fdf450,ffff800029fdf2c4,3,4,30caef727a2a47e5,fffffd806da12b00) at uvn_get+0x4b6 sys/uvm/uvm_vnode.c:952
uvm_fault_lower_lookup(ffff800029fdf4d0,ffff800029fdf508,ffff800029fdf450) at uvm_fault_lower_lookup+0xf7 sys/uvm/uvm_fault.c:1128
uvm_fault_lower(ffff800029fdf4d0,ffff800029fdf508,ffff800029fdf450,0) at uvm_fault_lower+0x63 sys/uvm/uvm_fault.c:1227
uvm_fault(fffffd806bd80758,13a00433000,0,4) at uvm_fault+0x238
upageflttrap(ffff800029fdf650,13a00433c90) at upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff800029fdf650) at usertrap+0x226 sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7a3f05bbcbc0, count: 5
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
*cpu0: vop_generic_badop
 cpu1: kernel diagnostic assertion "((flags & PGO_LOCKED) != 0 && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_vnode.c", line 953
ddb{1}> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff827a4f32) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff82825a79,ffffffff82849ed7,3b9,ffffffff827860e0) at __assert+0x29 sys/kern/subr_prf.c:157
uvn_get(fffffd806da12b00,23000,ffff800029fdf450,ffff800029fdf2c4,3,4,30caef727a2a47e5,fffffd806da12b00) at uvn_get+0x4b6 sys/uvm/uvm_vnode.c:952
uvm_fault_lower_lookup(ffff800029fdf4d0,ffff800029fdf508,ffff800029fdf450) at uvm_fault_lower_lookup+0xf7 sys/uvm/uvm_fault.c:1128
uvm_fault_lower(ffff800029fdf4d0,ffff800029fdf508,ffff800029fdf450,0) at uvm_fault_lower+0x63 sys/uvm/uvm_fault.c:1227
uvm_fault(fffffd806bd80758,13a00433000,0,4) at uvm_fault+0x238
upageflttrap(ffff800029fdf650,13a00433c90) at upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff800029fdf650) at usertrap+0x226 sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7a3f05bbcbc0, count: -10
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff800029fdf0f0
rbx               0xffff800020d59ba7
rdx                                0
rcx               0xffff800022cdb540
rax               0xffff800020d58ff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x1638f06f3d84c750
r11                0x77e063a9e58be02
r12               0xffff800020d599a8
r13                                0
r14               0xffffffff82c4b9a8    cpu_info_full_primary+0x29a8
r15                              0x1
rip               0xffffffff81fbcbec    db_enter+0x1c
cs                               0x8
rflags                         0x246
rsp               0xffff800029fdf0e0
ss                                 0
db_enter+0x1c:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor.4) tid=280064 pid=6999 tcnt=1 stat=onproc
    flags process=10<SUGID> proc=0
    runpri=82, usrpri=86, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0
    forw=0xffffffffffffffff, list=0xffff800022cdb298,0xffff800022cdad58
    process=0xffff80002128bab8 user=0xffff800029fda000, vmspace=0xfffffd806bd80758
    estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 23517   81429  33628  32767  2        0x10                syz-executor.5
* 6999  280064  15212  32767  7        0x10                syz-executor.4
 81469   95020  57669  32767  2       0x490                syz-executor.2
 81469   85937  57669  32767  3   0x4000090  fsleep        syz-executor.2
 81469  506683  57669  32767  3   0x4000090  fsleep        syz-executor.2
 81469    7257  57669  32767  3   0x4000090  netcon        syz-executor.2
 28526  415904  32241  32767  2        0x10                syz-executor.0
 28526  511820  32241  32767  2   0x4000010                syz-executor.0
 28526   44870  32241  32767  2   0x4000010                syz-executor.0
 33628  507446  78933  32767  3        0x90  nanoslp       syz-executor.5
 78933  237396  38500      0  3        0x82  wait          syz-executor.5
 58785  217148  87630  32767  7        0x10                syz-executor.7
 87630  109245  38500      0  3        0x82  wait          syz-executor.7
 10950  121234  33381  32767  2        0x10                syz-executor.6
 33381   16127  38500      0  3        0x82  wait          syz-executor.6
 57669  382662  42830  32767  3        0x90  nanoslp       syz-executor.2
 42830  231193  38500      0  3        0x82  wait          syz-executor.2
 32241  429868  89062  32767  2       0x490                syz-executor.0
 89062   48871  38500      0  3        0x82  wait          syz-executor.0
 15212  420793  83377  32767  3        0x90  nanoslp       syz-executor.4
 83377  422400  38500      0  3        0x82  wait          syz-executor.4
 42664  302401  71605  32767  3        0x10  biowait       syz-executor.1
 71605  221790  38500      0  3        0x82  wait          syz-executor.1
 31526  354818      0      0  3     0x14200  bored         sosplice
 67371  400827  47611  32767  3        0x90  nanoslp       syz-executor.3
 47611  421361  38500      0  3        0x82  wait          syz-executor.3
 38500  486441  31755      0  3   0x2000082  thrsleep      syz-fuzzer
 38500  369665  31755      0  3   0x6000082  thrsleep      syz-fuzzer
 38500  431406  31755      0  3   0x6000082  wait          syz-fuzzer
 38500   90064  31755      0  3   0x6000082  wait          syz-fuzzer
 38500  108865  31755      0  3   0x6000082  wait          syz-fuzzer
 38500  159740  31755      0  3   0x6000082  wait          syz-fuzzer
 38500  323125  31755      0  3   0x6000082  thrsleep      syz-fuzzer
 38500   72111  31755      0  3   0x6000082  thrsleep      syz-fuzzer
 38500   41223  31755      0  3   0x6000082  wait          syz-fuzzer
 38500  223039  31755      0  3   0x6000082  thrsleep      syz-fuzzer
 38500  188089  31755      0  3   0x6000082  kqread        syz-fuzzer
 38500   26427  31755      0  3   0x6000082  thrsleep      syz-fuzzer
 38500   41914  31755      0  3   0x6000082  wait          syz-fuzzer
 38500  451879  31755      0  3   0x6000082  wait          syz-fuzzer
 38500   28698  31755      0  3   0x6000082  thrsleep      syz-fuzzer
 38500  173304  31755      0  3   0x6000082  wait          syz-fuzzer
 38500  283347  31755      0  3   0x6000082  thrsleep      syz-fuzzer
 31755  514114  43099      0  3    0x10008a  sigsusp       ksh
 43099   91794  30899      0  3        0x9a  kqread        sshd
 78060  186613      1      0  3    0x100083  ttyin         getty
 30899   96517      1      0  3        0x88  kqread        sshd
 12075  439958  36535     73  3   0x1100090  kqread        syslogd
 36535  180200      1      0  3    0x100082  netio         syslogd
 77526  231673      1      0  3    0x100080  kqread        resolvd
 31663  213011  29772     77  3    0x100092  kqread        dhcpleased
 86917  286454  29772     77  3    0x100092  kqread        dhcpleased
 29772  453566      1      0  3        0x80  kqread        dhcpleased
 22896  191420      0      0  3     0x14200  bored         smr
 89253  376661      0      0  2     0x14200                zerothread
 54339  388451      0      0  3     0x14200  aiodoned      aiodoned
 12857   61260      0      0  3     0x14200  syncer        update
 79364   70888      0      0  3     0x14200  cleaner       cleaner
 24105  242553      0      0  3     0x14200  reaper        reaper
 64478  404066      0      0  3     0x14200  pgdaemon      pagedaemon
 96346  459817      0      0  3     0x14200  bored         viomb
 76346  472958      0      0  3  0x40014200  acpi0         acpi0
 54488  160017      0      0  3  0x40014200                idle1
 17807  224938      0      0  3     0x14200  bored         softnet3
 81468  106884      0      0  3     0x14200  bored         softnet2
 79726  423298      0      0  3     0x14200  bored         softnet1
 50157  492625      0      0  3     0x14200  bored         softnet0
 65179  105932      0      0  3     0x14200  bored         systqmp
 27579  154119      0      0  3     0x14200  bored         systq
 12957  125717      0      0  3     0x14200  tmoslp        softclockmp
 32178  295334      0      0  3  0x40014200  tmoslp        softclock
 81210  222788      0      0  3  0x40014200                idle0
     1  402488      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 23517 (syz-executor.5) thread 0xffff800022cdad48 (81429)
shared rwlock vmmaplk r = 0 (0xfffffd806bd80dc0)
#0  witness_lock+0x447
#1  uvm_map_inentry_fix+0xa5 vm_map_lock_read_ln sys/uvm/uvm_map.c:5368 [inline]
#1  uvm_map_inentry_fix+0xa5 sys/uvm/uvm_map.c:1657
#2  uvm_map_inentry+0xce sys/uvm/uvm_map.c:1688
#3  usertrap+0x202 sys/arch/amd64/amd64/trap.c:432
#4  recall_trap+0x8
Process 58785 (syz-executor.7) thread 0xffff8000211ead60 (217148)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d0f638)
#0  witness_lock+0x447
#1  __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
#2  mi_switch+0x46d sys/kern/sched_bsd.c:470
#3  sleep_finish+0x19b sys/kern/kern_synch.c:414
#4  biowait+0x91 sys/kern/vfs_bio.c:1278
#5  bwrite+0x21c sys/kern/vfs_bio.c:769
#6  ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113
#7  ufs_mkdir+0x672 sys/ufs/ufs/ufs_vnops.c:1219
#8  VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388
#9  domkdirat+0x125 sys/kern/vfs_syscalls.c:3073
#10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8065f310a0)
#0  witness_lock+0x447
#1  rw_enter+0x3c8 sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x8c sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vget+0x200 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:1314
#8  ffs_inode_alloc+0x1c2 sys/ufs/ffs/ffs_alloc.c:394
#9  ufs_mkdir+0xf8 sys/ufs/ufs/ufs_vnops.c:1149
#10 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388
#11 domkdirat+0x125 sys/kern/vfs_syscalls.c:3073
#12 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#12 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623
#13 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd807db3cb40)
#0  witness_lock+0x447
#1  rw_enter+0x3c8 sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x8c sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418
#6  namei+0x55a sys/kern/vfs_lookup.c:250
#7  domkdirat+0x79 sys/kern/vfs_syscalls.c:3058
#8  syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#8  syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623
#9  Xsyscall+0x128
Process 10950 (syz-executor.6) thread 0xffff8000211ea2c0 (121234)
exclusive rrwlock inode r = 0 (0xfffffd8065f31700)
#0  witness_lock+0x447
#1  rw_enter+0x3c8 sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x8c sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vn_closefile+0xca vn_close sys/kern/vfs_vnops.c:292 [inline]
#5  vn_closefile+0xca sys/kern/vfs_vnops.c:609
#6  fdrop+0xcb sys/kern/kern_descrip.c:1274
#7  closef+0x120 sys/kern/kern_descrip.c:1258
#8  syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#8  syscall+0x606 sys/arch/amd64/amd64/trap.c:623
#9  Xsyscall+0x128
Process 42664 (syz-executor.1) thread 0xffff800022ce7548 (302401)
exclusive rrwlock inode r = 0 (0xfffffd8065f31e70)
#0  witness_lock+0x447
#1  rw_enter+0x3c8 sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x8c sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:518
#4  ufs_ihashins+0x46 sys/ufs/ufs/ufs_ihash.c:140
#5  ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1343
#6  ffs_inode_alloc+0x1c2 sys/ufs/ffs/ffs_alloc.c:394
#7  ufs_mkdir+0xf8 sys/ufs/ufs/ufs_vnops.c:1149
#8  VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388
#9  domkdirat+0x125 sys/kern/vfs_syscalls.c:3073
#10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8062ce22c8)
#0  witness_lock+0x447
#1  rw_enter+0x3c8 sys/kern/kern_rwlock.c:309
#2  rrw_enter+0x8c sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0x8b sys/kern/vfs_vops.c:518
#4  vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5  vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418
#6  namei+0x55a sys/kern/vfs_lookup.c:250
#7  domkdirat+0x79 sys/kern/vfs_syscalls.c:3058
#8  syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
#8  syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623
#9  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10188   6409K    6420K  78643K     11299        0
            pcb    13     10K      12K  78643K        15        0
         rtable   236      6K       6K  78643K       890        0
             pf    29      8K       8K  78643K        51        0
         ifaddr    44     15K      15K  78643K        92        0
        ifgroup    50      2K       2K  78643K        94        0
         sysctl     3      0K       0K  78643K         3        0
       counters    60     35K      35K  78643K        82        0
       ioctlops     0      0K       2K  78643K        60        0
            iov     0      0K      16K  78643K       324        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1278     80K      80K  78643K      2335        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       9K  78643K        65        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       0K  78643K      1171        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    22     81K     121K  78643K      4678        0
          sigio     1      0K       0K  78643K       170        0
           proc    56     78K     115K  78643K       978        0
        subproc   104      6K       6K  78643K       247        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K      2633        0
       in_multi    99      7K       7K  78643K       477        0
    ether_multi     1      0K       0K  78643K        12        0
            mrt     1      0K       0K  78643K         1        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    67    307K     307K  78643K        67        0
           exec     0      0K       1K  78643K      1294        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   396     93K     101K  78643K     48863        0
       UVM aobj   131      4K       4K  78643K       139        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K        82        0
            NDP    11      0K       2K  78643K        60        0
           temp    74   5920K    6000K  78643K     15880        0
         kqueue    12     18K      28K  78643K       453        0
      SYN cache     2     16K      16K  78643K         2        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       22    0        0     1     0     1     1     0     8    0
rtpcb      120      383    0      380     6     5     1     3     0     8    0
rtentry    112      241    0      130     4     0     4     4     0     8    0
unpcb      144     5098    0     5085    38    32     6    10     0     8    5
syncache   304       60    0       60     9     8     1     1     0     8    1
tcpqe       32      156    0      156     8     7     1     1     0     8    1
tcpcb      808     2363    0     2331    60    50    10    18     0     8    4
arp        120       40    0       22     1     0     1     1     0     8    0
ipq         40        9    0        9     2     2     0     1     0     8    0
ipqe        40       24    0       24     2     2     0     1     0     8    0
inpcb      368     4613    0     4577    55    45    10    17     0     8    4
nd6        136       66    0       41     1     0     1     1     0     8    0
kcovpl      48       19    0       11     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      990    0      533    31     2    29    30     0     8    0
art_table   32      991    0      533     4     0     4     4     0     8    0
art_node    16      240    0      139     1     0     1     1     0     8    0
sysvmsgpl   40       40    0        0     1     0     1     1     0     8    0
semapl     112     1169    0     1159     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     7397    0     5944    92     0    92    92     0     8    0
ffsino     272     7397    0     5944    98     0    98    98     0     8    0
nchpl      144    13479    0    11839    63     0    63    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   45085    0    45083     3     2     1     2     0     8    0
percpumem   16       54    0       11     1     0     1     1     0     8    0
kstatmem   264       44    0       22     2     0     2     2     0     8    0
scxspl     216    40479    0    40478    23    20     3     8     1     8    2
plimitpl   152      520    0      497     8     6     2     2     0     8    1
sigapl     424     4954    0     4901     7     0     7     7     0     8    0
futexpl     64    44192    0    44190     1     0     1     1     0     8    0
knotepl    120      500    0        0    12     1    11    12     0     8    0
kqueuepl   216      914    0      906    14    13     1     8     0     8    0
pipepl     320     6121    0     6092    75    66     9    19     0     8    5
fdescpl    496     4935    0     4902     7     2     5     6     0     8    0
filepl     152    42449    0    42209    72    57    15    24     0     8    5
lockfpl    104      619    0      617     1     0     1     1     0     8    0
lockfspl    48      219    0      217     1     0     1     1     0     8    0
sessionpl  144       34    0       18     1     0     1     1     0     8    0
pgrppl      48       99    0       83     1     0     1     1     0     8    0
ucredpl    104     4779    0     4761     1     0     1     1     0     8    0
zombiepl   144     4902    0     4901     1     0     1     1     0     8    0
processpl  1072    4954    0     4901     5     1     4     5     0     8    0
procpl     680    13257    0    13183    12     4     8     9     0     8    0
sosppl     168       93    0       92     4     3     1     1     0     8    0
sockpl     488    10368    0    10316   212   194    18    35     0     8    8
mcl64k     65536     25    0        0     3     0     3     3     0     8    0
mcl16k     16384     25    0        0     3     0     3     3     0     8    0
mcl12k     12288     17    0        0     2     0     2     2     0     8    0
mcl9k      9216      13    0        0     1     0     1     1     0     8    0
mcl8k      8192      80    0        0    10     1     9    10     0     8    1
mcl4k      4096      20    0        0     3     0     3     3     0     8    0
mcl2k2     2112       4    0        0     1     0     1     1     0     8    0
mcl2k      2048     278    0        0    34     5    29    34     0     8    0
mtagpl      96       30    0        0     1     0     1     1     0     8    0
mbufpl     256     1089    0        0    63     0    63    63     0     8    0
bufpl      288    11736    0     5414   452     0   452   452     0     8    0
anonpl      24  2410780    0  2395446   263   103   160   163     0   186   37
amapchunkpl 152  160958    0   160124    86    44    42    47     0   158    2
amappl16   200   120842    0   120289   464   424    40    66     0     8    9
amappl15   192       14    0       13     1     0     1     1     0     8    0
amappl14   184      187    0      175     2     1     1     2     0     8    0
amappl13   176       15    0       15     3     3     0     1     0     8    0
amappl12   168     5767    0     5729     3     0     3     3     0     8    0
amappl11   160       57    0       47     1     0     1     1     0     8    0
amappl10   152       45    0       31     2     1     1     1     0     8    0
amappl9    144      230    0      229     1     0     1     1     0     8    0
amappl8    136      448    0      331     5     0     5     5     0     8    0
amappl7    128      233    0      205     2     0     2     2     0     8    0
amappl6    120      427    0      413     1     0     1     1     0     8    0
amappl5    112      202    0      194     1     0     1     1     0     8    0
amappl4    104      627    0      599     2     1     1     2     0     8    0
amappl3     96    29901    0    29817    13     9     4     4     0     8    1
amappl2     88     5678    0     5606     3     1     2     3     0     8    0
amappl1     80    25823    0    25298    22     9    13    22     0     8    0
amappl      88    48070    0    47835     7     0     7     7     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     4935    0     4902     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     4935    0     4902     1     0     1     1     0     8    0
vmmpekpl   168    65548    0    65470     4     0     4     4     0     8    0
vmmpepl    168   413623    0   411057   231    85   146   149     0   357   24
vmsppl     464     4934    0     4902     7     2     5     6     0     8    0
rwobjpl     56   194703    0   187039   133    17   116   119     0     8    2
pdppl      4096    9878    0     9804   242   160    82    94     0     8    8
pvpl        32  3505655    0  3484540   440   174   266   335     0   265   58
pmappl     248     4934    0     4902     4     1     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     1168    0      271    26     0    26    26     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x1e:        addq    $0x8,%rsp
x86_ipi_db(ffffffff82c4aff0) 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(ffffffff82d0f430) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82d0f430) at __mp_lock+0x122 sys/kern/kern_lock.c:147
intr_handler(ffff80002c9ecc20,ffff80000007bd80) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
Xspllower() at Xspllower+0x1d
cnputc(61) at cnputc+0x4f sys/dev/cons.c:218
db_putchar(61) at db_putchar+0x3fc sys/ddb/db_output.c:155
kprintf() at kprintf+0x6bc sys/kern/subr_prf.c:724
db_printf(ffffffff82827b86) at db_printf+0x89 sys/kern/subr_prf.c:498
panic(ffffffff8279a2db) at panic+0xdb sys/kern/subr_prf.c:216
vop_generic_badop(ffff80002c9ed048) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133
VOP_STRATEGY(fffffd805b005518,fffffd8062d33000) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628
end trace frame: 0xffff80002c9ed0f0, count: 0
ddb{0}> trace
x86_ipi_db(ffffffff82c4aff0) 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(ffffffff82d0f430) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82d0f430) at __mp_lock+0x122 sys/kern/kern_lock.c:147
intr_handler(ffff80002c9ecc20,ffff80000007bd80) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
Xspllower() at Xspllower+0x1d
cnputc(61) at cnputc+0x4f sys/dev/cons.c:218
db_putchar(61) at db_putchar+0x3fc sys/ddb/db_output.c:155
kprintf() at kprintf+0x6bc sys/kern/subr_prf.c:724
db_printf(ffffffff82827b86) at db_printf+0x89 sys/kern/subr_prf.c:498
panic(ffffffff8279a2db) at panic+0xdb sys/kern/subr_prf.c:216
vop_generic_badop(ffff80002c9ed048) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133
VOP_STRATEGY(fffffd805b005518,fffffd8062d33000) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628
bwrite(fffffd8062d33000) at bwrite+0x1f1 sys/kern/vfs_bio.c:760
VOP_BWRITE(fffffd8062d33000) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640
ufs_mkdir(ffff80002c9ed2e0) at ufs_mkdir+0x6c4 sys/ufs/ufs/ufs_vnops.c:1235
VOP_MKDIR(fffffd806559b8a8,ffff80002c9ed440,ffff80002c9ed470,ffff80002c9ed370) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388
domkdirat(ffff8000211ead60,ffffff9c,722cfa59e340,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3073
syscall(ffff80002c9ed5f0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff80002c9ed5f0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x722cfa59e3b0, count: -21
ddb{0}> machine ddbcpu 1
Stopped at      db_enter+0x1c:  addq    $0x8,%rsp
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff827a4f32) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff82825a79,ffffffff82849ed7,3b9,ffffffff827860e0) at __assert+0x29 sys/kern/subr_prf.c:157
uvn_get(fffffd806da12b00,23000,ffff800029fdf450,ffff800029fdf2c4,3,4,30caef727a2a47e5,fffffd806da12b00) at uvn_get+0x4b6 sys/uvm/uvm_vnode.c:952
uvm_fault_lower_lookup(ffff800029fdf4d0,ffff800029fdf508,ffff800029fdf450) at uvm_fault_lower_lookup+0xf7 sys/uvm/uvm_fault.c:1128
uvm_fault_lower(ffff800029fdf4d0,ffff800029fdf508,ffff800029fdf450,0) at uvm_fault_lower+0x63 sys/uvm/uvm_fault.c:1227
uvm_fault(fffffd806bd80758,13a00433000,0,4) at uvm_fault+0x238
upageflttrap(ffff800029fdf650,13a00433c90) at upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff800029fdf650) at usertrap+0x226 sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7a3f05bbcbc0, count: 5
ddb{1}> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff827a4f32) at panic+0x17b sys/kern/subr_prf.c:198
__assert(ffffffff82825a79,ffffffff82849ed7,3b9,ffffffff827860e0) at __assert+0x29 sys/kern/subr_prf.c:157
uvn_get(fffffd806da12b00,23000,ffff800029fdf450,ffff800029fdf2c4,3,4,30caef727a2a47e5,fffffd806da12b00) at uvn_get+0x4b6 sys/uvm/uvm_vnode.c:952
uvm_fault_lower_lookup(ffff800029fdf4d0,ffff800029fdf508,ffff800029fdf450) at uvm_fault_lower_lookup+0xf7 sys/uvm/uvm_fault.c:1128
uvm_fault_lower(ffff800029fdf4d0,ffff800029fdf508,ffff800029fdf450,0) at uvm_fault_lower+0x63 sys/uvm/uvm_fault.c:1227
uvm_fault(fffffd806bd80758,13a00433000,0,4) at uvm_fault+0x238
upageflttrap(ffff800029fdf650,13a00433c90) at upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff800029fdf650) at usertrap+0x226 sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7a3f05bbcbc0, count: -10

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/09 12:56 openbsd 415db4d19081 1d21e169 .config console log report ci-openbsd-setuid assert "((flags & PGO_LOCKED) != NUM && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == NUM" failed in uvm_vno
2023/09/12 14:00 openbsd b49820e16fba 59da8366 .config console log report ci-openbsd-setuid assert "((flags & PGO_LOCKED) != NUM && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == NUM" failed in uvm_vno
2023/08/27 13:06 openbsd c37e9688766f 7ba13a15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "((flags & PGO_LOCKED) != NUM && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == NUM" failed in uvm_vno
2023/07/31 13:48 openbsd 6c7eb53ac00b 2a0d0f29 .config console log report ci-openbsd-multicore assert "((flags & PGO_LOCKED) != NUM && rw_lock_held(uobj->vmobjlock)) || (flags & PGO_LOCKED) == NUM" failed in uvm_vno
* Struck through repros no longer work on HEAD.