syzbot


assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c

Status: auto-obsoleted due to no activity on 2024/10/09 15:35
Reported-by: syzbot+32810f5c4b7941761619@syzkaller.appspotmail.com
First crash: 297d, last: 133d

Sample crash report:
panic: kernel diagnostic assertion "ISSET(bp->b_flags, B_BC)" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_bio.c", line 1683
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*490569  78594      0   0x8000000  0x4000000    0K syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830d6c5c) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff8308c523,ffffffff83024e87,693,ffffffff83073da5) at __assert+0x29
bufcache_take(fffffd80657d88c8) at bufcache_take+0x303 sys/kern/vfs_bio.c:1684
vinvalbuf(fffffd80656396f0,2,ffffffffffffffff,ffff80003077c7e0,0,ffffffffffffffff) at vinvalbuf+0x4d2 sys/kern/vfs_subr.c:2016
ffs_truncate(fffffd80714be340,0,0,ffffffffffffffff) at ffs_truncate+0xf6c
ufs_inactive(ffff80002a13bbc8) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80656396f0,ffff80003077c7e0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vrele(fffffd80656396f0) at vrele+0x129 sys/kern/vfs_subr.c:827
ktrsettrace(ffff8000ffffba90,a0001410,fffffd8068cd71f8,fffffd807f7d36e8) at ktrsettrace+0xe7 sys/kern/kern_ktrace.c:122
ktrops(ffff80003077c7e0,ffff8000ffffba90,0,a0001410,fffffd8068cd71f8,fffffd807f7d36e8) at ktrops+0x271 sys/kern/kern_ktrace.c:564
doktrace(fffffd8068cd71f8,4,20001410,0,ffff80003077c7e0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline]
doktrace(fffffd8068cd71f8,4,20001410,0,ffff80003077c7e0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508
sys_ktrace(ffff80003077c7e0,ffff80002a13c030,ffff80002a13bf80) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549
syscall(ffff80002a13c030) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a13c030) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
end trace frame: 0xffff80002a13c0b0, count: 0
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{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "ISSET(bp->b_flags, B_BC)" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/vfs_bio.c", line 1683
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830d6c5c) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff8308c523,ffffffff83024e87,693,ffffffff83073da5) at __assert+0x29
bufcache_take(fffffd80657d88c8) at bufcache_take+0x303 sys/kern/vfs_bio.c:1684
vinvalbuf(fffffd80656396f0,2,ffffffffffffffff,ffff80003077c7e0,0,ffffffffffffffff) at vinvalbuf+0x4d2 sys/kern/vfs_subr.c:2016
ffs_truncate(fffffd80714be340,0,0,ffffffffffffffff) at ffs_truncate+0xf6c
ufs_inactive(ffff80002a13bbc8) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80656396f0,ffff80003077c7e0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vrele(fffffd80656396f0) at vrele+0x129 sys/kern/vfs_subr.c:827
ktrsettrace(ffff8000ffffba90,a0001410,fffffd8068cd71f8,fffffd807f7d36e8) at ktrsettrace+0xe7 sys/kern/kern_ktrace.c:122
ktrops(ffff80003077c7e0,ffff8000ffffba90,0,a0001410,fffffd8068cd71f8,fffffd807f7d36e8) at ktrops+0x271 sys/kern/kern_ktrace.c:564
doktrace(fffffd8068cd71f8,4,20001410,0,ffff80003077c7e0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline]
doktrace(fffffd8068cd71f8,4,20001410,0,ffff80003077c7e0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508
sys_ktrace(ffff80003077c7e0,ffff80002a13c030,ffff80002a13bf80) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549
syscall(ffff80002a13c030) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a13c030) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9257ee3cd10, count: -15
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002a13b770
rbx               0xffffffff83423d87    cpu_info_full_primary+0x2d87
rdx                                0
rcx               0xffff80003077c7e0
rax               0xffffffff83422ff0    cpu_info_full_primary+0x1ff0
r8                 0x101010101010101
r9                0x8080808080808080
r10                0x1f995ca1b9770d8
r11               0x8a9805251d9d700b
r12               0xffffffff83423b88    cpu_info_full_primary+0x2b88
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff821ea615    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80002a13b760
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor) tid=490569 pid=78594 tcnt=3 stat=onproc
    flags process=8000000 proc=4000000<THREAD>
    runpri=17, usrpri=50, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80003077d200,0xffff80003077d9a8
    process=0xffff800037265230 user=0xffff80002a137000, vmspace=0xfffffd807e3506e8
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 55561  299503  43481      0  2   0x8000000                syz-executor
 78594  237212  83755      0  2   0x8000000                syz-executor
 78594  517282  83755      0  2   0xc000000                syz-executor
*78594  490569  83755      0  7   0xc000000                syz-executor
 97390  425761  24584      0  3   0x8000080  nanoslp       syz-executor
 97390   45178  24584      0  3   0xc000080  ttyout        syz-executor
 97390   74975  24584      0  3   0xc000080  fsleep        syz-executor
 91422  473508  37961      0  3   0x8000080  nanoslp       syz-executor
 91422  467744  37961      0  3   0xc000080  kqread        syz-executor
 91422  253833  37961      0  3   0xc000080  fsleep        syz-executor
 91422  391000  37961      0  3   0xc000080  fsleep        syz-executor
 82062  411257  10654      0  3   0x8000080  nanoslp       syz-executor
 82062   66315  10654      0  3   0xc000080  netcon        syz-executor
 24972  402925  46584      0  3   0x8000082  piperd        syz-executor
 83755  328849  46584      0  3   0x8000082  nanoslp       syz-executor
 66898  292865  46584      0  3   0x8000082  nanoslp       syz-executor
 37961  254778  46584      0  3   0x8000082  nanoslp       syz-executor
 10654   32826  46584      0  3   0x8000082  nanoslp       syz-executor
 43481  505628  46584      0  2   0x8000002                syz-executor
 16711  252720  46584      0  3   0x8000082  piperd        syz-executor
 24584  251933  46584      0  3   0x8000082  nanoslp       syz-executor
 20864  102791      1      0  3  0x18100083  ttyin         getty
 31087  338679      0      0  3     0x14280  nfsidl        nfsio
 98589   15524      0      0  3     0x14280  nfsidl        nfsio
 59433  510202      0      0  3     0x14280  nfsidl        nfsio
 41857  152501      0      0  3     0x14280  nfsidl        nfsio
 61699  511826      0      0  3     0x14280  nfsidl        nfsio
 57529  319450      0      0  3     0x14280  nfsidl        nfsio
 24973  472670      0      0  3     0x14280  nfsidl        nfsio
  8717  373984      0      0  3     0x14280  nfsidl        nfsio
  6174  511803      0      0  3     0x14280  nfsidl        nfsio
 74761   81812      0      0  3     0x14280  nfsidl        nfsio
 71929  266768      0      0  3     0x14280  nfsidl        nfsio
 84017  212502      0      0  3     0x14280  nfsidl        nfsio
 13384  176679      0      0  3     0x14280  nfsidl        nfsio
 24147  468529      0      0  3     0x14280  nfsidl        nfsio
 10369  484461      0      0  3     0x14280  nfsidl        nfsio
 54829   74181      0      0  3     0x14280  nfsidl        nfsio
 58190  515371      0      0  3     0x14280  nfsidl        nfsio
 39226   52895      0      0  3     0x14280  nfsidl        nfsio
 15811  280508      0      0  3     0x14280  nfsidl        nfsio
 99169  123523      0      0  3     0x14280  nfsidl        nfsio
 19252  474007      0      0  3     0x14200  bored         sosplice
 46584  221708  34842      0  2   0x8000002                syz-executor
 34842  400010  19891      0  3   0x810008a  sigsusp       ksh
 19891    8060   8140      0  3  0x18000098  kqread        sshd-session
  8140  404067  14092      0  3  0x18000092  kqread        sshd-session
 14092  190825      1      0  3  0x18000088  kqread        sshd
 31219  303235  23860     74  3  0x19100092  bpf           pflogd
 23860  329240      1      0  3  0x18000080  sbwait        pflogd
 91865  338546  65518     73  2  0x19100010                syslogd
 65518  295792      1      0  3  0x18100082  sbwait        syslogd
 94279  286379      1      0  3  0x18100080  kqread        resolvd
 51185  108978  17455     77  3  0x18100092  kqread        dhcpleased
  3444  251661  17455     77  3  0x18100092  kqread        dhcpleased
 17455   26216      1      0  3  0x18000080  kqread        dhcpleased
 34732  447470      0      0  3     0x14200  bored         smr
 27306  438421      0      0  2     0x14200                zerothread
 14101  470143      0      0  3     0x14200  aiodoned      aiodoned
 20759  496236      0      0  3     0x14200  syncer        update
 41171  316147      0      0  3     0x14200  cleaner       cleaner
  4462    2374      0      0  3     0x14200  reaper        reaper
 88418  258946      0      0  3     0x14200  pgdaemon      pagedaemon
 88543  154827      0      0  3     0x14200  bored         viomb
 38067  413407      0      0  3  0x40014200  acpi0         acpi0
 63336  315809      0      0  7  0x40014200                idle1
 65741  167555      0      0  3     0x14200  bored         softnet3
 76577  195448      0      0  3     0x14200  bored         softnet2
 15008  126227      0      0  3     0x14200  bored         softnet1
 56193  469756      0      0  2     0x14200                softnet0
 73632  499227      0      0  3     0x14200  bored         systqmp
  8700  179436      0      0  3     0x14200  bored         systq
  4280  506827      0      0  3     0x14200  tmoslp        softclockmp
 52549  182462      0      0  3  0x40014200  tmoslp        softclock
 48742  423551      0      0  3  0x40014200                idle0
     1  152844      0      0  3   0x8000082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 78594 (syz-executor) thread 0xffff80003077c7e0 (490569)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83505470)
#0  witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5b8 sys/kern/subr_witness.c:1151
#1  __mp_acquire_count+0x58
#2  mi_switch+0x658 sys/kern/sched_bsd.c:460
#3  sleep_finish+0x229 sys/kern/kern_synch.c:416
#4  biowait+0xc1 sys/kern/vfs_bio.c:1254
#5  bwrite+0x2e2 sys/kern/vfs_bio.c:766
#6  ffs_update+0x34c sys/ufs/ffs/ffs_inode.c:111
#7  ffs_truncate+0xcb6
#8  ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
#9  VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
#10 vrele+0x129 sys/kern/vfs_subr.c:827
#11 ktrsettrace+0xe7 sys/kern/kern_ktrace.c:122
#12 ktrops+0x271 sys/kern/kern_ktrace.c:564
#13 doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline]
#13 doktrace+0x6dd sys/kern/kern_ktrace.c:508
#14 sys_ktrace+0x11c sys/kern/kern_ktrace.c:549
#15 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
#15 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
#16 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd80714be3d8)
#0  witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5b8 sys/kern/subr_witness.c:1151
#1  rw_enter+0x41b sys/kern/kern_rwlock.c:309
#2  rrw_enter+0xbe sys/kern/kern_rwlock.c:464
#3  VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:564
#5  vrele+0xd0 sys/kern/vfs_subr.c:818
#6  ktrsettrace+0xe7 sys/kern/kern_ktrace.c:122
#7  ktrops+0x271 sys/kern/kern_ktrace.c:564
#8  doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline]
#8  doktrace+0x6dd sys/kern/kern_ktrace.c:508
#9  sys_ktrace+0x11c sys/kern/kern_ktrace.c:549
#10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
#10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
#11 Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10253  10322K   10751K 166960K     15176        0
            pcb    18     18K      20K 166960K       625        0
         rtable   217      8K       8K 166960K      3539        0
             pf    42     11K      12K 166960K       319        0
         ifaddr    47     17K      17K 166960K       487        0
        ifgroup    72      3K       3K 166960K       555        0
         sysctl     4      1K       1K 166960K         4        0
       counters    72     37K      37K 166960K       326        0
       ioctlops     0      0K       4K 166960K      1866        0
            iov     0      0K      20K 166960K       115        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1471     92K      93K 166960K      4833        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      5K       9K 166960K        51        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K       263        0
        dirhash    15      2K       3K 166960K        81        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    16     57K      93K 166960K      3261        0
          sigio     0      0K       0K 166960K        79        0
           proc    71     91K     140K 166960K      3403        0
        subproc   104      6K       7K 166960K      1378        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     1      0K       0K 166960K       377        0
       in_multi    97      7K       7K 166960K      1235        0
    ether_multi     1      0K       0K 166960K        12        0
            mrt     1      0K       0K 166960K         3        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   259   1155K    1155K 166960K       259        0
           exec     0      0K       1K 166960K      2238        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   241     77K      97K 166960K     26379        0
       UVM aobj   201      7K       7K 166960K       201        0
     pinsyscall    41     82K     106K 166960K      6882        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K       202        0
            NDP    20      0K       1K 166960K       356        0
           temp    75   6816K   14749K 166960K     99453        0
         kqueue    14     22K      34K 166960K       310        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{0}> 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      530    0      527     4     2     2     2     0     8    1
rtentry    112     1251    0     1154     4     1     3     4     0     8    0
unpcb      144     2512    0     2492    38    37     1    10     0     8    0
syncache   336        5    0        5     3     3     0     1     0     8    0
tcpcb      808      846    0      840    32    30     2     8     0     8    1
arp        120      224    0      206     1     0     1     1     0     8    0
inpcb      384     3992    0     3980    72    57    15    15     0     8   12
nd6        136      344    0      319     2     1     1     2     0     8    0
pkpcb       40       13    0       13     5     5     0     1     0     8    0
kcovpl      48      106    0       98     1     0     1     1     0     8    0
ppxss      1168      17    0       17     7     7     0     1     0     8    0
pffrag     232       30    0       28     2     1     1     1     0   482    0
pffrnode    88       29    0       27     2     1     1     1     0     8    0
pffrent     40       58    0       56     2     1     1     1     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pftag       88        2    0        0     1     0     1     1     0     8    0
pfstitem    24      265    0      228     1     0     1     1     0     8    0
pfstkey    128      265    0      228     2     0     2     2     0     8    0
pfstate    376      265    0      228     5     1     4     5     0     8    0
pfrule     1344      23    0       18     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     4984    0     4574    46    19    27    29     0     8    1
art_table   32     4985    0     4574     4     0     4     4     0     8    0
art_node    16     1246    0     1159     1     0     1     1     0     8    0
sysvmsgpl   40       11    0        7     1     0     1     1     0     8    0
semupl     112        1    0        1     1     1     0     1     0     8    0
semapl     112      261    0      251     1     0     1     1     0     8    0
shmpl      112      198    0        0     6     0     6     6     0     8    0
dirhash    1024      63    0       44     3     0     3     3     0     8    0
dino2pl    256     5200    0     3491   108     0   108   108     0     8    0
ffsino     272     5200    0     3491   115     0   115   115     0     8    0
nchpl      144     8010    0     7353    68     0    68    68     0     8   39
uvmvnodes   80     7892    0        0   162     0   162   162     0     8    0
vnodes     216     7892    0        0   439     0   439   439     0     8    0
namei      1024   42226    0    42226     5     4     1     2     0     8    1
percpumem   16      177    0      127     1     0     1     1     0     8    0
vcpupl     3904       7    0        2     1     0     1     1     0     8    0
vmpool     696       18    0       13     1     0     1     1     0     8    0
kstatmem   264      286    0      254     3     0     3     3     0     8    0
scsiplug    72        5    0        5     4     4     0     1     0     8    0
scxspl     216    68707    0    68707    18    17     1     8     1     8    1
plimitpl   152      989    0      972     1     0     1     1     0     8    0
sigapl     424     3391    0     3322    11     2     9     9     0     8    0
futexpl     64    38794    0    38791     7     6     1     1     0     8    0
knotepl    120      932    0        0    25     0    25    25     0     8    0
kqueuepl   216     1176    0     1164    19    16     3     8     0     8    2
pipepl     320      606    0      579     3     0     3     3     0     8    0
fdescpl    496     3346    0     3316     6     1     5     5     0     8    0
filepl     152    25826    0    25569    62    46    16    20     0     8    2
lockfpl    104      953    0      951     2     1     1     2     0     8    0
lockfspl    48      342    0      340     1     0     1     1     0     8    0
sessionpl  144      121    0      112     1     0     1     1     0     8    0
pgrppl      48      314    0      297     1     0     1     1     0     8    0
ucredpl    104     4005    0     3992     1     0     1     1     0     8    0
zombiepl   144     3323    0     3322     2     1     1     1     0     8    0
processpl  1152    3391    0     3322     7     1     6     6     0     8    0
procpl     648     6302    0     6225    11     3     8     8     0     8    0
srpgc       96       12    0       12     4     4     0     1     0     8    0
sosppl     168       12    0       12     6     5     1     1     0     8    1
sockpl     664     7067    0     7032   100    85    15    23     0     8   10
mcl64k     65536      8    0        0     1     0     1     1     0     8    0
mcl16k     16384      2    0        0     1     0     1     1     0     8    0
mcl12k     12288      3    0        0     1     0     1     1     0     8    0
mcl9k      9216       1    0        0     1     0     1     1     0     8    0
mcl8k      8192      10    0        0     2     0     2     2     0     8    0
mcl4k      4096       2    0        0     1     0     1     1     0     8    0
mcl2k2     2112       3    0        0     1     0     1     1     0     8    0
mcl2k      2048     320    0        0    28     3    25    28     0     8    0
mtagpl      96       41    0        0     1     0     1     1     0     8    0
mbufpl     256     8887    0        0   555     0   555   555     0     8    0
bufpl      280    12450    0     3947   609     1   608   608     0     8    0
bufpl: pool(0xffffffff83513f28:bufpl): page inconsistency: page 0x0; at page head addr 0xfffffd80657d8f90 (p 0xfffffd80657d8000)
anonpl      24   473106    0   468687   153    74    79    98     0   185   33
amapchunkpl 152   85383    0    84853    87    50    37    49     0   158   14
amappl16   200     6734    0     6707    57    53     4    17     0     8    1
amappl15   192       67    0       67     2     2     0     1     0     8    0
amappl14   184      316    0      304     1     0     1     1     0     8    0
amappl13   176        5    0        5     1     1     0     1     0     8    0
amappl12   168     5562    0     5533     4     2     2     3     0     8    0
amappl11   160       55    0       41     1     0     1     1     0     8    0
amappl10   152        6    0        6     1     1     0     1     0     8    0
amappl9    144      124    0      124     2     2     0     1     0     8    0
amappl8    136       27    0       23     1     0     1     1     0     8    0
amappl7    128      305    0      292     1     0     1     1     0     8    0
amappl6    120     1142    0     1140     1     0     1     1     0     8    0
amappl5    112      528    0      515     1     0     1     1     0     8    0
amappl4    104      612    0      592     1     0     1     1     0     8    0
amappl3     96    16473    0    16362     4     0     4     4     0     8    0
amappl2     88     2002    0     1937     2     0     2     2     0     8    0
amappl1     80    23074    0    22502    15     2    13    14     0     8    0
amappl      88    25155    0    24981     6     1     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      200    0        0     4     0     4     4     0     8    0
uaddrrnd    24     3364    0     3329     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     3364    0     3329     1     0     1     1     0     8    0
vmmpekpl   168    27879    0    27833     3     0     3     3     0     8    0
vmmpepl    168   206289    0   204440   133    46    87    96     0   357    2
vmsppl     440     3363    0     3329     7     2     5     5     0     8    0
rwobjpl     56    63934    0    54889   135     6   129   129     0     8    0
pdppl      4096    6736    0     6663   239   160    79    88     0     8    6
pvpl        32    46965    0        0   377     0   377   377     0   265    0
pmappl     248     3363    0     3329     3     0     3     3     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     1150    0      228    27     0    27    27     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff830d6c5c) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff8308c523,ffffffff83024e87,693,ffffffff83073da5) at __assert+0x29
bufcache_take(fffffd80657d88c8) at bufcache_take+0x303 sys/kern/vfs_bio.c:1684
vinvalbuf(fffffd80656396f0,2,ffffffffffffffff,ffff80003077c7e0,0,ffffffffffffffff) at vinvalbuf+0x4d2 sys/kern/vfs_subr.c:2016
ffs_truncate(fffffd80714be340,0,0,ffffffffffffffff) at ffs_truncate+0xf6c
ufs_inactive(ffff80002a13bbc8) at ufs_inactive+0x203 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80656396f0,ffff80003077c7e0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495
vrele(fffffd80656396f0) at vrele+0x129 sys/kern/vfs_subr.c:827
ktrsettrace(ffff8000ffffba90,a0001410,fffffd8068cd71f8,fffffd807f7d36e8) at ktrsettrace+0xe7 sys/kern/kern_ktrace.c:122
ktrops(ffff80003077c7e0,ffff8000ffffba90,0,a0001410,fffffd8068cd71f8,fffffd807f7d36e8) at ktrops+0x271 sys/kern/kern_ktrace.c:564
doktrace(fffffd8068cd71f8,4,20001410,0,ffff80003077c7e0) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline]
doktrace(fffffd8068cd71f8,4,20001410,0,ffff80003077c7e0) at doktrace+0x6dd sys/kern/kern_ktrace.c:508
sys_ktrace(ffff80003077c7e0,ffff80002a13c030,ffff80002a13bf80) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549
syscall(ffff80002a13c030) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a13c030) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9257ee3cd10, count: -15
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1208
sched_idle(ffff800029b7bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1208
sched_idle(ffff800029b7bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182
end trace frame: 0x0, count: -5

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/11 15:34 openbsd fa6dda612fe5 6ca1eb5a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2024/05/23 17:05 openbsd 6859a790d2a4 4c2072ee .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2024/05/21 00:19 openbsd d0fe8eba4c8c c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2024/05/20 13:10 openbsd ab5fd4cb8341 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2024/05/14 17:17 openbsd 5dea098c4cfa fdb4c10c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2024/04/10 15:49 openbsd ffe6655cba7d 7d74efd0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2024/04/08 19:36 openbsd 146262ea791a 7591ebb5 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
2024/01/29 18:26 openbsd da5a99b8aa74 991a98f4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "ISSET(bp->b_flags, B_BC)" failed in vfs_bio.c
* Struck through repros no longer work on HEAD.