syzbot


assert "bp->b_data != NULL" failed in vfs_biomem.c (2)

Status: auto-closed as invalid on 2022/08/19 17:45
Reported-by: syzbot+a59c061e56e031c99f11@syzkaller.appspotmail.com
First crash: 967d, last: 915d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c (3) 2 784d 800d 0/3 auto-obsoleted due to no activity on 2022/12/28 15:30
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c 1 1058d 1058d 0/3 auto-closed as invalid on 2022/03/29 13:49
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c (4) 2 323d 325d 0/3 auto-obsoleted due to no activity on 2024/04/02 12:49
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c (5) 6 179d 227d 0/3 auto-obsoleted due to no activity on 2024/08/24 12:36

Sample crash report:
panic: kernel diagnostic assertion "bp->b_data != NULL" failed: file "/syzkaller/managers/main/kernel/sys/kern/vfs_biomem.c", line 235
Stopped at      db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*267826  25362      0           0  0x4000000    0  syz-executor.2
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82573b91) at panic+0x161 sys/kern/subr_prf.c:202
__assert(ffffffff825e4568,ffffffff825fd9f0,eb,ffffffff8261bdca) at __assert+0x25 sys/kern/subr_prf.c:161
buf_unmap(fffffd8076715910) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd806a9a1a38) at buf_map+0x1b7 sys/kern/vfs_biomem.c:117
buf_get(fffffd80685b0080,13b,4000) at buf_get+0x739 sys/kern/vfs_bio.c:1182
getblk(fffffd80685b0080,13b,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1050
bread_cluster(fffffd80685b0080,13b,4000,ffff8000265151b0) at bread_cluster+0x55 bio_doread sys/kern/vfs_bio.c:436 [inline]
bread_cluster(fffffd80685b0080,13b,4000,ffff8000265151b0) at bread_cluster+0x55 sys/kern/vfs_bio.c:599
ffs_read(ffff800026515210) at ffs_read+0x343
VOP_READ(fffffd80685b0080,ffff8000265152a0,0,fffffd807f7d7780) at VOP_READ+0xbf sys/kern/vfs_vops.c:227
uvn_io(fffffd806e164380,ffff8000265153b8,1,202,0) at uvn_io+0x3bb
uvn_get(fffffd806e164380,4ec000,ffff800026515478,ffff800026515448,0,3,d4afad25ebb60915,ffffffff824b72e0) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1086
uvm_fault_lower(ffff8000265155e0,ffff800026515618,ffff800026515560,2) at uvm_fault_lower+0x886 sys/uvm/uvm_fault.c:1275
uvm_fault(fffffd806c662120,1b2eb0c000,2,3) at uvm_fault+0x21d
end trace frame: 0xffff800026515710, 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> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: kernel diagnostic assertion "bp->b_data != NULL" failed: file "/syzkaller/managers/main/kernel/sys/kern/vfs_biomem.c", line 235
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82573b91) at panic+0x161 sys/kern/subr_prf.c:202
__assert(ffffffff825e4568,ffffffff825fd9f0,eb,ffffffff8261bdca) at __assert+0x25 sys/kern/subr_prf.c:161
buf_unmap(fffffd8076715910) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd806a9a1a38) at buf_map+0x1b7 sys/kern/vfs_biomem.c:117
buf_get(fffffd80685b0080,13b,4000) at buf_get+0x739 sys/kern/vfs_bio.c:1182
getblk(fffffd80685b0080,13b,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1050
bread_cluster(fffffd80685b0080,13b,4000,ffff8000265151b0) at bread_cluster+0x55 bio_doread sys/kern/vfs_bio.c:436 [inline]
bread_cluster(fffffd80685b0080,13b,4000,ffff8000265151b0) at bread_cluster+0x55 sys/kern/vfs_bio.c:599
ffs_read(ffff800026515210) at ffs_read+0x343
VOP_READ(fffffd80685b0080,ffff8000265152a0,0,fffffd807f7d7780) at VOP_READ+0xbf sys/kern/vfs_vops.c:227
uvn_io(fffffd806e164380,ffff8000265153b8,1,202,0) at uvn_io+0x3bb
uvn_get(fffffd806e164380,4ec000,ffff800026515478,ffff800026515448,0,3,d4afad25ebb60915,ffffffff824b72e0) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1086
uvm_fault_lower(ffff8000265155e0,ffff800026515618,ffff800026515560,2) at uvm_fault_lower+0x886 sys/uvm/uvm_fault.c:1275
uvm_fault(fffffd806c662120,1b2eb0c000,2,3) at uvm_fault+0x21d
uvm_fault_wire(fffffd806c662120,1b2e660000,1b2ec20000,3) at uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1580
uvm_map_pageable_wire(fffffd806c662120,fffffd80661bee38,0,27b,28,0) at uvm_map_pageable_wire+0x31d sys/uvm/uvm_map.c:2392
sys_mlockall(ffff80002169bce0,ffff800026515828,ffff800026515880) at sys_mlockall+0x5d sys/uvm/uvm_mmap.c:865
syscall(ffff8000265158f0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4d12ccefc30, count: -19
ddb> show registers
rdi                                0
rsi                              0x1
rbp               0xffff800026514bb0
rbx                        0x4000001    __kernel_phys_end+0x1400001
rdx               0xffff800000be38c0
rcx                                0
rax               0xffff80002169bce0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x7a4ecc5faec8d398
r11               0xe39400695576d0d0
r12                                0
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff8186ece8    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff800026514ba0
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb> show proc
PROC (syz-executor.2) pid=267826 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=32, usrpri=86, nice=20
    forw=0xffffffffffffffff, list=0xffff80002169aa80,0xffff8000215f1510
    process=0xffff800021675b88 user=0xffff800026510000, vmspace=0xfffffd806c662120
    estcpu=36, cpticks=5, pctcpu=0.0
    user=0, sys=4, intr=0
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 61448  140907   4244      0  2       0x480                syz-executor.5
 61448  389521   4244      0  3   0x4000080  fsleep        syz-executor.5
 25362  196737  75818      0  2           0                syz-executor.2
*25362  267826  75818      0  7   0x4000000                syz-executor.2
 25362  178295  75818      0  3   0x4000080  fsleep        syz-executor.2
  2769  403725  80947      0  3        0x82  piperd        syz-executor.0
 41139  263681  80947      0  2         0x2                syz-executor.6
 35427  271659  80947      0  3        0x82  piperd        syz-executor.7
 75818   97949  80947      0  2       0x482                syz-executor.2
 62540  517254  80947      0  3        0x82  piperd        syz-executor.4
 30780  476865      0      0  3     0x14280  nfsidl        nfsio
 53045  334404      0      0  3     0x14280  nfsidl        nfsio
  5783  391723      0      0  3     0x14280  nfsidl        nfsio
 14676  206964      0      0  3     0x14280  nfsidl        nfsio
 43685  353580      0      0  3     0x14280  nfsidl        nfsio
  1365   87156      0      0  3     0x14280  nfsidl        nfsio
 50290  240011      0      0  3     0x14280  nfsidl        nfsio
 53495  127680      0      0  3     0x14280  nfsidl        nfsio
 49938  251378      0      0  3     0x14280  nfsidl        nfsio
 93815  131583      0      0  3     0x14280  nfsidl        nfsio
 18075   47452      0      0  3     0x14280  nfsidl        nfsio
 26321  346821      0      0  3     0x14280  nfsidl        nfsio
 49667  481965      0      0  3     0x14280  nfsidl        nfsio
 61414  464781      0      0  3     0x14280  nfsidl        nfsio
 28450  409595      0      0  3     0x14280  nfsidl        nfsio
 18740  194818      0      0  3     0x14280  nfsidl        nfsio
 79209  402026      0      0  3     0x14280  nfsidl        nfsio
 50040  449747      0      0  3     0x14280  nfsidl        nfsio
 70956  176624      0      0  3     0x14280  nfsidl        nfsio
 23288   67398      0      0  3     0x14280  nfsidl        nfsio
  4244  524153  80947      0  2       0x482                syz-executor.5
 94271  320479      0      0  3     0x14200  acct          acct
 36139  292276      0      0  3     0x14200  bored         sosplice
 66265   22081  80947      0  2       0x482                syz-executor.3
 49631  347822  80947      0  3        0x82  piperd        syz-executor.1
 80947  437489  85309      0  3        0x82  thrsleep      syz-fuzzer
 80947  316171  85309      0  2   0x4000482                syz-fuzzer
 80947  361510  85309      0  3   0x4000082  thrsleep      syz-fuzzer
 80947  113549  85309      0  3   0x4000082  thrsleep      syz-fuzzer
 80947  307330  85309      0  3   0x4000082  thrsleep      syz-fuzzer
 80947    2341  85309      0  3   0x4000082  thrsleep      syz-fuzzer
 80947  309800  85309      0  3   0x4000082  kqread        syz-fuzzer
 80947  187284  85309      0  3   0x4000082  thrsleep      syz-fuzzer
 85309  437494  22635      0  3    0x10008a  sigsusp       ksh
 22635  262169  46714      0  3        0x9a  kqread        sshd
 18855  455311      1      0  3    0x100083  ttyin         getty
 46714  121637      1      0  3        0x88  kqread        sshd
 27329  153794  20594     73  2   0x1100010                syslogd
 20594  147921      1      0  3    0x100082  netio         syslogd
 48901  162344      1      0  3    0x100080  kqread        resolvd
 86911  267918  99961     77  3    0x100092  kqread        dhcpleased
 59075  475257  99961     77  3    0x100092  kqread        dhcpleased
 99961  243478      1      0  3        0x80  kqread        dhcpleased
 63612   81424      0      0  3     0x14200  bored         smr
 12620  314232      0      0  2     0x14200                zerothread
 49683  240270      0      0  3     0x14200  aiodoned      aiodoned
 94235  328219      0      0  3     0x14200  syncer        update
 78055   11662      0      0  3     0x14200  cleaner       cleaner
 78145  482969      0      0  3     0x14200  reaper        reaper
 80614   18137      0      0  3     0x14200  pgdaemon      pagedaemon
 55105  219837      0      0  3     0x14200  bored         viomb
 30197  281775      0      0  3  0x40014200  acpi0         acpi0
 42885    1390      0      0  3     0x14200  bored         softnet
 93521  453621      0      0  3     0x14200  bored         softnet
 74777  491885      0      0  3     0x14200  bored         softnet
 72298  409381      0      0  3     0x14200  bored         softnet
 23590  136050      0      0  3     0x14200  bored         systqmp
 75139   85886      0      0  3     0x14200  bored         systq
 65763  113584      0      0  2  0x40014200                softclock
 30836   93284      0      0  3  0x40014200                idle0
     1  322734      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
         devbuf 10201   6421K    6852K  78643K     15205        0
            pcb    13     20K      24K  78643K      1619        0
         rtable   224     12K      13K  78643K      1494        0
         ifaddr    85     18K      20K  78643K      1966        0
         sysctl     2      0K       0K  78643K         2        0
       counters    26     17K      17K  78643K        62        0
       ioctlops     0      0K       4K  78643K     11117        0
            iov     0      0K      32K  78643K       506        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1334     83K      84K  78643K      5601        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       5K  78643K       109        0
         VM map     2      0K       0K  78643K         2        0
            sem    12      0K       0K  78643K       760        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    12     41K      65K  78643K     16144        0
          sigio     0      0K       0K  78643K        85        0
           proc    59     59K      75K  78643K      1277        0
        subproc   104      6K       6K  78643K       221        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K        37        0
       in_multi    77      5K       6K  78643K       218        0
    ether_multi     1      0K       0K  78643K         7        0
            mrt     0      0K       0K  78643K         9        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys   271   1208K    1208K  78643K       271        0
           exec     0      0K       2K  78643K      2177        0
     pfkey data     0      0K       4K  78643K         9        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     7     26K      26K  78643K         7        0
       UVM amap   289    248K     251K  78643K     84531        0
       UVM aobj   131      4K       4K  78643K       131        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K        41        0
            NDP    19      1K       2K  78643K        81        0
           temp   127   4732K    4845K  78643K     54560        0
         kqueue    12     18K      27K  78643K      4130        0
      SYN cache     2     16K      16K  78643K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120      494    0      489     3     2     1     2     0     8    0
rtentry    112      344    0      255     5     0     5     5     0     8    1
unpcb      136     5439    0     5426    60    59     1     8     0     8    0
syncache   296       82    0       82    14    14     0     1     0     8    0
tcpqe       32      149    0      149    13    13     0     1     0     8    0
tcpcb      736     4014    0     4004   108   107     1    14     0     8    0
arp         88      126    0      112     2     0     2     2     0     8    0
ipq         40      477    0      463     4     3     1     3     0     8    0
ipqe        40      477    0      463     4     3     1     3     0     8    0
inpcb      312    17361    0    17354   165   163     2    16     0     8    1
nd6         48       52    0       34     1     0     1     1     0     8    0
pkpcb       40       13    0       13     3     3     0     1     0     8    0
kcovpl      48       17    0        9     1     0     1     1     0     8    0
ppxss      1152      20    0       20     4     4     0     1     0     8    0
pfrktable  1344      33    0       20     4     2     2     2     0     8    0
pftag       88       51    0       35     2     1     1     1     0     8    0
pfrule     1360    1504    0      548    82     2    80    80     0     8    0
rttmr       64        3    0        3     1     1     0     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     1351    0      985    49    26    23    48     0     8    0
art_table   32     1352    0      985     7     2     5     7     0     8    1
art_node    16      341    0      261     1     0     1     1     0     8    0
sysvmsgpl   40       37    0       21     1     0     1     1     0     8    0
semapl     112      758    0      748     1     0     1     1     0     8    0
shmpl      112      128    0        0     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256    21738    0    20302    91     0    91    91     0     8    0
ffsino     240    21738    0    20302    85     0    85    85     0     8    0
nchpl      144    49876    0    48240    63     0    63    63     0     8    0
uvmvnodes   80     5926    0        0   121     0   121   121     0     8    0
vnodes     224     5926    0        0   349     0   349   349     0     8    0
namei      1024  151591    0   151590     5     4     1     2     0     8    0
vcpupl     1984      19    0        3     3     0     3     3     0     8    0
vmpool     528      515    0      499     2     0     2     2     0     8    0
pfiaddrpl  120       16    0        4     1     0     1     1     0     8    0
kstatmem   264       94    0       72     2     0     2     2     0     8    0
scsiplug    72        3    0        3     1     1     0     1     0     8    0
scxspl     216   111120    0   111120    14    12     2     8     0     8    2
plimitpl   152      282    0      267     1     0     1     1     0     8    0
sigapl     424    16432    0    16370     8     0     8     8     0     8    0
futexpl     64   145155    0   145153     3     2     1     1     0     8    0
knotepl    120   153436    0   153356    19    13     6     8     0     8    0
kqueuepl   184     5572    0     5564    36    35     1     6     0     8    0
pipepl     304     1623    0     1595    52    49     3     8     0     8    0
fdescpl    432    16394    0    16371     6     2     4     4     0     8    0
filepl     120   104840    0   104604   149   141     8    15     0     8    0
lockfpl    104     1618    0     1616     5     4     1     2     0     8    0
lockfspl    48      504    0      502     1     0     1     1     0     8    0
sessionpl  144       32    0       16     1     0     1     1     0     8    0
pgrppl      48       45    0       29     1     0     1     1     0     8    0
ucredpl     96    15411    0    15401     1     0     1     1     0     8    0
zombiepl   144    16371    0    16370     2     1     1     1     0     8    0
processpl  1000   16432    0    16370    10     1     9     9     0     8    0
procpl     672    38692    0    38620    25    18     7     8     0     8    0
sosppl     168       73    0       73    10    10     0     1     0     8    0
sockpl     448    23307    0    23282   353   347     6    26     0     8    2
mcl64k     65536    285    0      285    36    36     0     1     0     8    0
mcl16k     16384    178    0      178    27    27     0     1     0     8    0
mcl12k     12288    268    0      268    39    39     0     1     0     8    0
mcl9k      9216     117    0      117    28    27     1     1     0     8    1
mcl8k      8192     557    0      557    36    35     1     1     0     8    1
mcl4k      4096    1901    0     1901     8     7     1     1     0     8    1
mcl2k2     2112      71    0       71    36    36     0     1     0     8    0
mcl2k      2048   89595    0    89532    92    81    11    39     0     8    1
mtagpl      96      373    0      312     7     2     5     5     0     8    1
mbufpl     256   261914    0   261596   232   181    51    79     0     8    8
bufpl      288    21991    0    15586   458     0   458   458     0     8    0
anonpl      24  3603609    0  3584472   293   108   185   186     0   188   65
amapchunkpl 152  243108    0   241958    88    36    52    53     0   158    7
amappl16   200    91561    0    90873   102    63    39    54     0     8    1
amappl15   192     1454    0     1451     1     0     1     1     0     8    0
amappl14   184     2123    0     2120     2     1     1     1     0     8    0
amappl13   176      133    0      132     1     0     1     1     0     8    0
amappl12   168      308    0      304     4     3     1     1     0     8    0
amappl11   160     6119    0     6102     1     0     1     1     0     8    0
amappl10   152     2775    0     2770     1     0     1     1     0     8    0
amappl9    144      914    0      908     1     0     1     1     0     8    0
amappl8    136     3739    0     3657     4     1     3     3     0     8    0
amappl7    128     3057    0     3047     1     0     1     1     0     8    0
amappl6    120      723    0      703     2     1     1     2     0     8    0
amappl5    112    14624    0    14613     1     0     1     1     0     8    0
amappl4    104    11632    0    11597     3     1     2     2     0     8    0
amappl3     96    45500    0    45461     2     0     2     2     0     8    0
amappl2     88    17146    0    17084     3     1     2     3     0     8    0
amappl1     80   381857    0   381303    55    41    14    19     0     8    0
amappl      88    83359    0    83208     5     0     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      130    0        0     3     0     3     3     0     8    0
uaddrrnd    24    16909    0    16870     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24    16909    0    16870     1     0     1     1     0     8    0
vmmpekpl   168    98562    0    98511     3     0     3     3     0     8    0
vmmpepl    168  1596452    0  1594127   299   157   142   142     0   357   19
vmsppl     272    16908    0    16870     5     1     4     4     0     8    0
rwobjpl     24   411223    0   403539    49     1    48    48     0     8    0
pdppl      4096   33824    0    33756   650   570    80    85     0     8   12
pvpl        32  6637666    0  6614264   551   251   300   306     0   265  111
pmappl     216    16908    0    16870     3     0     3     3     0     8    0
extentpl    40       58    0       38     1     0     1     1     0     8    0
phpool     112     2489    0     1589    29     1    28    28     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82573b91) at panic+0x161 sys/kern/subr_prf.c:202
__assert(ffffffff825e4568,ffffffff825fd9f0,eb,ffffffff8261bdca) at __assert+0x25 sys/kern/subr_prf.c:161
buf_unmap(fffffd8076715910) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd806a9a1a38) at buf_map+0x1b7 sys/kern/vfs_biomem.c:117
buf_get(fffffd80685b0080,13b,4000) at buf_get+0x739 sys/kern/vfs_bio.c:1182
getblk(fffffd80685b0080,13b,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1050
bread_cluster(fffffd80685b0080,13b,4000,ffff8000265151b0) at bread_cluster+0x55 bio_doread sys/kern/vfs_bio.c:436 [inline]
bread_cluster(fffffd80685b0080,13b,4000,ffff8000265151b0) at bread_cluster+0x55 sys/kern/vfs_bio.c:599
ffs_read(ffff800026515210) at ffs_read+0x343
VOP_READ(fffffd80685b0080,ffff8000265152a0,0,fffffd807f7d7780) at VOP_READ+0xbf sys/kern/vfs_vops.c:227
uvn_io(fffffd806e164380,ffff8000265153b8,1,202,0) at uvn_io+0x3bb
uvn_get(fffffd806e164380,4ec000,ffff800026515478,ffff800026515448,0,3,d4afad25ebb60915,ffffffff824b72e0) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1086
uvm_fault_lower(ffff8000265155e0,ffff800026515618,ffff800026515560,2) at uvm_fault_lower+0x886 sys/uvm/uvm_fault.c:1275
uvm_fault(fffffd806c662120,1b2eb0c000,2,3) at uvm_fault+0x21d
uvm_fault_wire(fffffd806c662120,1b2e660000,1b2ec20000,3) at uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1580
uvm_map_pageable_wire(fffffd806c662120,fffffd80661bee38,0,27b,28,0) at uvm_map_pageable_wire+0x31d sys/uvm/uvm_map.c:2392
sys_mlockall(ffff80002169bce0,ffff800026515828,ffff800026515880) at sys_mlockall+0x5d sys/uvm/uvm_mmap.c:865
syscall(ffff8000265158f0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4d12ccefc30, count: -19
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82573b91) at panic+0x161 sys/kern/subr_prf.c:202
__assert(ffffffff825e4568,ffffffff825fd9f0,eb,ffffffff8261bdca) at __assert+0x25 sys/kern/subr_prf.c:161
buf_unmap(fffffd8076715910) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd806a9a1a38) at buf_map+0x1b7 sys/kern/vfs_biomem.c:117
buf_get(fffffd80685b0080,13b,4000) at buf_get+0x739 sys/kern/vfs_bio.c:1182
getblk(fffffd80685b0080,13b,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1050
bread_cluster(fffffd80685b0080,13b,4000,ffff8000265151b0) at bread_cluster+0x55 bio_doread sys/kern/vfs_bio.c:436 [inline]
bread_cluster(fffffd80685b0080,13b,4000,ffff8000265151b0) at bread_cluster+0x55 sys/kern/vfs_bio.c:599
ffs_read(ffff800026515210) at ffs_read+0x343
VOP_READ(fffffd80685b0080,ffff8000265152a0,0,fffffd807f7d7780) at VOP_READ+0xbf sys/kern/vfs_vops.c:227
uvn_io(fffffd806e164380,ffff8000265153b8,1,202,0) at uvn_io+0x3bb
uvn_get(fffffd806e164380,4ec000,ffff800026515478,ffff800026515448,0,3,d4afad25ebb60915,ffffffff824b72e0) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1086
uvm_fault_lower(ffff8000265155e0,ffff800026515618,ffff800026515560,2) at uvm_fault_lower+0x886 sys/uvm/uvm_fault.c:1275
uvm_fault(fffffd806c662120,1b2eb0c000,2,3) at uvm_fault+0x21d
uvm_fault_wire(fffffd806c662120,1b2e660000,1b2ec20000,3) at uvm_fault_wire+0x63 sys/uvm/uvm_fault.c:1580
uvm_map_pageable_wire(fffffd806c662120,fffffd80661bee38,0,27b,28,0) at uvm_map_pageable_wire+0x31d sys/uvm/uvm_map.c:2392
sys_mlockall(ffff80002169bce0,ffff800026515828,ffff800026515880) at sys_mlockall+0x5d sys/uvm/uvm_mmap.c:865
syscall(ffff8000265158f0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4d12ccefc30, count: -19

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/21 17:44 openbsd b46cfa51b3d3 7268fa62 .config console log report ci-openbsd-main assert "bp->b_data != NULL" failed in vfs_biomem.c
2022/03/30 12:14 openbsd f802266ee2c9 42718dd6 .config console log report ci-openbsd-main assert "bp->b_data != NULL" failed in vfs_biomem.c
* Struck through repros no longer work on HEAD.