syzbot


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

Status: auto-closed as invalid on 2022/03/29 13:49
Reported-by: syzbot+4ab017b72234a4c4debb@syzkaller.appspotmail.com
First crash: 1061d, last: 1061d
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 787d 803d 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 (2) 2 918d 970d 0/3 auto-closed as invalid on 2022/08/19 17:45
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c (4) 2 326d 328d 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 182d 229d 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
*132897  54366      0           0  0x4000000    0  syz-executor.2
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff82432194) at panic+0x161 sys/kern/subr_prf.c:202
__assert(ffffffff8249e838,ffffffff824b9306,eb,ffffffff824d59fb) at __assert+0x25 sys/kern/subr_prf.c:161
buf_unmap(fffffd80687c5c70) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd807d950a38) at buf_map+0x1b7 sys/kern/vfs_biomem.c:117
buf_get(fffffd8068778710,26,4000) at buf_get+0x739 sys/kern/vfs_bio.c:1182
getblk(fffffd8068778710,26,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1050
ffs2_balloc(fffffd8079d88960,98000,4000,fffffd807f7d8900,0,ffff8000249a8ca8) at ffs2_balloc+0x156d sys/ufs/ffs/ffs_balloc.c:736
ffs_write(ffff8000249a8d40) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:349
VOP_WRITE(fffffd8068778710,ffff8000249a8f68,1,fffffd807f7d8900) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245
vn_write(fffffd8068652f00,ffff8000249a8f68,1) at vn_write+0x19c sys/kern/vfs_vnops.c:414
dofilewritev(ffff800024b207e8,3,ffff8000249a8f68,1,ffff8000249a9070) at dofilewritev+0x19c sys/kern/sys_generic.c:380
sys_pad_pwritev(ffff800024b207e8,ffff8000249a9018,ffff8000249a9070) at sys_pad_pwritev+0xb9 sys_pwritev sys/kern/vfs_syscalls.c:3383 [inline]
sys_pad_pwritev(ffff800024b207e8,ffff8000249a9018,ffff8000249a9070) at sys_pad_pwritev+0xb9 sys/kern/vfs_syscalls.c:3439
syscall(ffff8000249a90e0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585
end trace frame: 0xffff8000249a9160, 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:440
panic(ffffffff82432194) at panic+0x161 sys/kern/subr_prf.c:202
__assert(ffffffff8249e838,ffffffff824b9306,eb,ffffffff824d59fb) at __assert+0x25 sys/kern/subr_prf.c:161
buf_unmap(fffffd80687c5c70) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd807d950a38) at buf_map+0x1b7 sys/kern/vfs_biomem.c:117
buf_get(fffffd8068778710,26,4000) at buf_get+0x739 sys/kern/vfs_bio.c:1182
getblk(fffffd8068778710,26,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1050
ffs2_balloc(fffffd8079d88960,98000,4000,fffffd807f7d8900,0,ffff8000249a8ca8) at ffs2_balloc+0x156d sys/ufs/ffs/ffs_balloc.c:736
ffs_write(ffff8000249a8d40) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:349
VOP_WRITE(fffffd8068778710,ffff8000249a8f68,1,fffffd807f7d8900) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245
vn_write(fffffd8068652f00,ffff8000249a8f68,1) at vn_write+0x19c sys/kern/vfs_vnops.c:414
dofilewritev(ffff800024b207e8,3,ffff8000249a8f68,1,ffff8000249a9070) at dofilewritev+0x19c sys/kern/sys_generic.c:380
sys_pad_pwritev(ffff800024b207e8,ffff8000249a9018,ffff8000249a9070) at sys_pad_pwritev+0xb9 sys_pwritev sys/kern/vfs_syscalls.c:3383 [inline]
sys_pad_pwritev(ffff800024b207e8,ffff8000249a9018,ffff8000249a9070) at sys_pad_pwritev+0xb9 sys/kern/vfs_syscalls.c:3439
syscall(ffff8000249a90e0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xa5cf7b69330, count: -15
ddb> show registers
rdi                                0
rsi                              0x1
rbp               0xffff8000249a85f0
rbx                        0x4000001    __kernel_phys_end+0x1600001
rdx               0xffff800000b80540
rcx                                0
rax               0xffff800024b207e8
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x5e1a2c0f89612235
r11               0xe62cce8ecc348868
r12                                0
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff82156c78    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff8000249a85e0
ss                                 0
db_enter+0x18:  addq    $0x8,%rsp
ddb> show proc
PROC (syz-executor.2) pid=132897 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=17, usrpri=86, nice=20
    forw=0xffffffffffffffff, list=0xffff800024b20fc8,0xffffffff828246e8
    process=0xffff800024b2cfd8 user=0xffff8000249a4000, vmspace=0xfffffd807e83bcd0
    estcpu=36, cpticks=1, pctcpu=0.0
    user=0, sys=1, intr=0
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 54366    5127  54737      0  2           0                syz-executor.2
*54366  132897  54737      0  7   0x4000000                syz-executor.2
 12884  348941  83231      0  2           0                syz-executor.1
 12884  211279  83231      0  3   0x4000080  rest          syz-executor.1
 16999  158611  63477      0  2           0                syz-executor.0
 16999  518433  63477      0  3   0x4000080  fsleep        syz-executor.0
 83231  454589  65871      0  3        0x82  nanoslp       syz-executor.1
 54737  338916  65871      0  3        0x82  nanoslp       syz-executor.2
 63477  334175  65871      0  3        0x82  nanoslp       syz-executor.0
 48281  182260  65871      0  2         0x2                syz-executor.3
 37379  343722      0      0  3     0x14280  nfsidl        nfsio
 99675  372598      0      0  3     0x14280  nfsidl        nfsio
 38712  103893      0      0  3     0x14280  nfsidl        nfsio
 23836  370376      0      0  3     0x14280  nfsidl        nfsio
  3344    2113      0      0  3     0x14280  nfsidl        nfsio
 86231    2486      0      0  3     0x14280  nfsidl        nfsio
 23654  103304      0      0  3     0x14280  nfsidl        nfsio
 48702  158693      0      0  3     0x14280  nfsidl        nfsio
  8672  503194      0      0  3     0x14280  nfsidl        nfsio
 77426  348380      0      0  3     0x14280  nfsidl        nfsio
 12716  358294      0      0  3     0x14280  nfsidl        nfsio
 73463  310195      0      0  3     0x14280  nfsidl        nfsio
 74411  200647      0      0  3     0x14280  nfsidl        nfsio
 86715  483049      0      0  3     0x14280  nfsidl        nfsio
 64863  193817      0      0  3     0x14280  nfsidl        nfsio
 85191  464775      0      0  3     0x14280  nfsidl        nfsio
 58128   44205      0      0  3     0x14280  nfsidl        nfsio
 85707   29124      0      0  3     0x14280  nfsidl        nfsio
 26964   76373      0      0  3     0x14280  nfsidl        nfsio
 74940  436472      0      0  3     0x14280  nfsidl        nfsio
  3623   63341      1      0  3    0x100083  ttyin         getty
 17493  285758      0      0  3     0x14200  acct          acct
 68612  204864      0      0  3     0x14200  bored         sosplice
 65871  184187  90921      0  3        0x82  thrsleep      syz-fuzzer
 65871  457672  90921      0  3   0x4000082  nanoslp       syz-fuzzer
 65871    9364  90921      0  3   0x4000082  thrsleep      syz-fuzzer
 65871  473725  90921      0  3   0x4000082  thrsleep      syz-fuzzer
 65871  381138  90921      0  3   0x4000082  thrsleep      syz-fuzzer
 65871  440077  90921      0  3   0x4000082  kqread        syz-fuzzer
 65871  310380  90921      0  3   0x4000082  thrsleep      syz-fuzzer
 90921  366596  78930      0  3    0x10008a  sigsusp       ksh
 78930  301178   2359      0  3        0x9a  poll          sshd
  2359  168108      1      0  3        0x88  poll          sshd
 19921  430494  80331     73  3    0x100090  kqread        syslogd
 80331  498340      1      0  3    0x100082  netio         syslogd
 37771   86179      1      0  3    0x100080  kqread        resolvd
 95469  132447  65162     77  3    0x100092  kqread        dhcpleased
  7875   70787  65162     77  3    0x100092  kqread        dhcpleased
 65162  179428      1      0  3        0x80  kqread        dhcpleased
 64869   47969      0      0  3     0x14200  bored         smr
 50796  180648      0      0  2     0x14200                zerothread
 13603  267145      0      0  3     0x14200  aiodoned      aiodoned
  9192  205946      0      0  3     0x14200  syncer        update
 68525  308626      0      0  3     0x14200  cleaner       cleaner
 47044  359035      0      0  3     0x14200  reaper        reaper
 96243   97393      0      0  3     0x14200  pgdaemon      pagedaemon
  6041  388124      0      0  3     0x14200  bored         viomb
 98292   13054      0      0  3  0x40014200  acpi0         acpi0
 65225   36472      0      0  3     0x14200  bored         softnet
 37102  348947      0      0  3     0x14200  bored         systqmp
 32592   71819      0      0  3     0x14200  bored         systq
 38407  344480      0      0  3  0x40014200  bored         softclock
 65063  121823      0      0  3  0x40014200                idle0
     1  481843      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 10188   6615K   15310K  78643K     38624        0
            pcb    13     18K      23K  78643K      1151        0
         rtable   192     16K      20K  78643K      3960        0
         ifaddr    82     22K      24K  78643K      1337        0
         sysctl     3      1K       1K  78643K         5        0
       counters    23     16K      17K  78643K       148        0
       ioctlops     0      0K       4K  78643K      1908        0
            iov     1     12K      24K  78643K      2756        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1544     97K      97K  78643K      8397        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       5K  78643K        40        0
         VM map     2      0K       0K  78643K         2        0
            sem    12      0K       0K  78643K      2335        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12598        0
      file desc     9     29K      45K  78643K     11295        0
          sigio     0      0K       0K  78643K        95        0
           proc    58     55K      71K  78643K      1761        0
        subproc    52      3K       6K  78643K       665        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K       343        0
       in_multi    50      3K       4K  78643K       878        0
    ether_multi     1      0K       0K  78643K       115        0
            mrt     1      0K       0K  78643K        21        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys   181    811K     811K  78643K       181        0
           exec     0      0K       2K  78643K      2430        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   302    168K     199K  78643K    137121        0
       UVM aobj   131      9K       9K  78643K       140        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K       431        0
            NDP     9      0K       1K  78643K       253        0
           temp   111   4219K    4435K  78643K    202796        0
         kqueue    10     14K      24K  78643K       360        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      500    0      497     7     5     2     3     0     8    1
rtentry    112      646    0      585     3     1     2     3     0     8    0
unpcb      136     6182    0     6169    70    67     3     9     0     8    2
syncache   296       20    0       20     6     6     0     1     0     8    0
tcpqe       32       64    0       64     4     4     0     1     0     8    0
tcpcb      736     2578    0     2574   115   108     7    19     0     8    6
arp         88      101    0       90     1     0     1     1     0     8    0
ipq         40        7    0        7     5     5     0     1     0     8    0
ipqe        40      185    0      185     5     5     0     1     0     8    0
inpcb      304     6761    0     6752   134   128     6    14     0     8    5
rttmr       72        7    0        7     2     2     0     1     0     8    0
ip6q        72        1    0        0     1     0     1     1     0     8    0
nd6         48      173    0      163     1     0     1     1     0     8    0
pkpcb       40       44    0       44     7     7     0     1     0     8    0
kcovpl      48       46    0       42     1     0     1     1     0     8    0
ppxss      1152      37    0       37     9     8     1     1     0     8    1
pfstscr     40       45    0       44     1     0     1     1     0     8    0
pfosfp      40        4    0        3     1     0     1     1     0     8    0
pfosfpen   112        4    0        3     1     0     1     1     0     8    0
pfrktable  1344     932    0      911     9     6     3     3     0     8    1
pftag       88      154    0      147     4     3     1     1     0     8    0
pfstitem    24       83    0       81     1     0     1     1     0     8    0
pfstkey    112       93    0       91     1     0     1     1     0     8    0
pfstate    320       48    0       47     1     0     1     1     0     8    0
pfrule     1360     629    0      547    12     5     7     7     0     8    0
art_heap8  4096       2    0        1     2     1     1     2     0     8    0
art_heap4  256     2592    0     2324    38    19    19    20     0     8    0
art_table   32     2594    0     2325     3     0     3     3     0     8    0
art_node    16      645    0      589     1     0     1     1     0     8    0
sysvmsgpl   40       79    0       59     1     0     1     1     0     8    0
semapl     112     2333    0     2323     1     0     1     1     0     8    0
shmpl      112      137    0        9     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256    15662    0    14245    89     0    89    89     0     8    0
ffsino     240    15662    0    14245    84     0    84    84     0     8    0
nchpl      144    32427    0    30843    61     1    60    61     0     8    0
uvmvnodes   80     8641    0        0   177     0   177   177     0     8    0
vnodes     224     8641    0        0   509     0   509   509     0     8    0
namei      1024  114887    0   114886     1     0     1     1     0     8    0
vcpupl     1984      48    0        2     6     0     6     6     0     8    0
vmpool     528       65    0       19     4     0     4     4     0     8    0
pfiaddrpl  120      308    0      279     3     2     1     1     0     8    0
scsiplug    72        4    0        4     1     1     0     1     0     8    0
scxspl     216    91769    0    91758    16    15     1     8     0     8    0
plimitpl   152      894    0      884     1     0     1     1     0     8    0
sigapl     424    11416    0    11361     9     2     7     7     0     8    0
futexpl     64   105987    0   105986     1     0     1     1     0     8    0
knotepl    112     4695    0     4645     3     1     2     3     0     8    0
kqueuepl   184     3737    0     3728    43    39     4     7     0     8    3
pipepl     304     1818    0     1802    51    49     2     7     0     8    0
fdescpl    432    11380    0    11360     3     0     3     3     0     8    0
filepl     120    77208    0    77058   113   103    10    12     0     8    5
lockfpl    104     3972    0     3969     7     6     1     2     0     8    0
lockfspl    48     1446    0     1443     1     0     1     1     0     8    0
sessionpl  144       64    0       52     1     0     1     1     0     8    0
pgrppl      48      115    0      103     1     0     1     1     0     8    0
ucredpl     96     8732    0     8721     1     0     1     1     0     8    0
zombiepl   144    11361    0    11361     2     1     1     1     0     8    1
processpl  1000   11416    0    11361     8     0     8     8     0     8    0
procpl     672    29056    0    28992    30    23     7     8     0     8    1
sosppl     168       43    0       43    11    11     0     1     0     8    0
sockpl     448    13496    0    13473   348   335    13    30     0     8   10
mcl64k     65536    414    0      414    22    21     1     1     0     8    1
mcl16k     16384    152    0      152    27    27     0     1     0     8    0
mcl12k     12288    270    0      270    22    21     1     1     0     8    1
mcl9k      9216     182    0      182    28    27     1     1     0     8    1
mcl8k      8192     788    0      788     7     6     1     1     0     8    1
mcl4k      4096    1401    0     1401     8     7     1     1     0     8    1
mcl2k2     2112      91    0       91    28    28     0     1     0     8    0
mcl2k      2048   97450    0    97392    23    14     9    13     0     8    0
mtagpl      96     4077    0     3877    41    35     6    18     0     8    1
mbufpl     256   222680    0   222019   242   192    50   108     0     8    4
bufpl      288    24506    0    18088   459     0   459   459     0     8    0
anonpl      24  3153547    0  3135479   304   165   139   145     0   188   13
amapchunkpl 152  360477    0   359840   122    94    28    40     0   158    1
amappl16   200    32683    0    31963   155   109    46    51     0     8    6
amappl15   192      195    0      193     1     0     1     1     0     8    0
amappl14   184      359    0      355     1     0     1     1     0     8    0
amappl13   176     2128    0     2127     1     0     1     1     0     8    0
amappl12   168     1920    0     1915     1     0     1     1     0     8    0
amappl11   160     1376    0     1364     1     0     1     1     0     8    0
amappl10   152     1849    0     1843     1     0     1     1     0     8    0
amappl9    144     2290    0     2286     1     0     1     1     0     8    0
amappl8    136     2734    0     2665     3     0     3     3     0     8    0
amappl7    128     1849    0     1840     1     0     1     1     0     8    0
amappl6    120     2226    0     2206     1     0     1     1     0     8    0
amappl5    112     9345    0     9328     1     0     1     1     0     8    0
amappl4    104     4189    0     4161     1     0     1     1     0     8    0
amappl3     96     3452    0     3433     1     0     1     1     0     8    0
amappl2     88     4645    0     4600     2     0     2     2     0     8    0
amappl1     80   201638    0   201176    19     8    11    12     0     8    0
amappl      88   135948    0   135756     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      139    0        9     3     0     3     3     0     8    0
uaddrrnd    24    11445    0    11379     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24    11445    0    11379     1     0     1     1     0     8    0
vmmpekpl   168    76003    0    75957     3     0     3     3     0     8    0
vmmpepl    168  1041574    0  1039283   411   283   128   132     0   357   20
vmsppl     272    11444    0    11379     6     1     5     5     0     8    0
rwobjpl     24   249572    0   239263    75    12    63    63     0     8    0
pdppl      4096   22896    0    22804   171    77    94   100     0     8    2
pvpl        32  5177436    0  5157167   503   294   209   216     0   265   31
pmappl     216    11444    0    11379     4     0     4     4     0     8    0
extentpl    40       57    0       38     1     0     1     1     0     8    0
phpool     112     1660    0      815    26     0    26    26     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:440
panic(ffffffff82432194) at panic+0x161 sys/kern/subr_prf.c:202
__assert(ffffffff8249e838,ffffffff824b9306,eb,ffffffff824d59fb) at __assert+0x25 sys/kern/subr_prf.c:161
buf_unmap(fffffd80687c5c70) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd807d950a38) at buf_map+0x1b7 sys/kern/vfs_biomem.c:117
buf_get(fffffd8068778710,26,4000) at buf_get+0x739 sys/kern/vfs_bio.c:1182
getblk(fffffd8068778710,26,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1050
ffs2_balloc(fffffd8079d88960,98000,4000,fffffd807f7d8900,0,ffff8000249a8ca8) at ffs2_balloc+0x156d sys/ufs/ffs/ffs_balloc.c:736
ffs_write(ffff8000249a8d40) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:349
VOP_WRITE(fffffd8068778710,ffff8000249a8f68,1,fffffd807f7d8900) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245
vn_write(fffffd8068652f00,ffff8000249a8f68,1) at vn_write+0x19c sys/kern/vfs_vnops.c:414
dofilewritev(ffff800024b207e8,3,ffff8000249a8f68,1,ffff8000249a9070) at dofilewritev+0x19c sys/kern/sys_generic.c:380
sys_pad_pwritev(ffff800024b207e8,ffff8000249a9018,ffff8000249a9070) at sys_pad_pwritev+0xb9 sys_pwritev sys/kern/vfs_syscalls.c:3383 [inline]
sys_pad_pwritev(ffff800024b207e8,ffff8000249a9018,ffff8000249a9070) at sys_pad_pwritev+0xb9 sys/kern/vfs_syscalls.c:3439
syscall(ffff8000249a90e0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xa5cf7b69330, count: -15
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff82432194) at panic+0x161 sys/kern/subr_prf.c:202
__assert(ffffffff8249e838,ffffffff824b9306,eb,ffffffff824d59fb) at __assert+0x25 sys/kern/subr_prf.c:161
buf_unmap(fffffd80687c5c70) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd807d950a38) at buf_map+0x1b7 sys/kern/vfs_biomem.c:117
buf_get(fffffd8068778710,26,4000) at buf_get+0x739 sys/kern/vfs_bio.c:1182
getblk(fffffd8068778710,26,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1050
ffs2_balloc(fffffd8079d88960,98000,4000,fffffd807f7d8900,0,ffff8000249a8ca8) at ffs2_balloc+0x156d sys/ufs/ffs/ffs_balloc.c:736
ffs_write(ffff8000249a8d40) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:349
VOP_WRITE(fffffd8068778710,ffff8000249a8f68,1,fffffd807f7d8900) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245
vn_write(fffffd8068652f00,ffff8000249a8f68,1) at vn_write+0x19c sys/kern/vfs_vnops.c:414
dofilewritev(ffff800024b207e8,3,ffff8000249a8f68,1,ffff8000249a9070) at dofilewritev+0x19c sys/kern/sys_generic.c:380
sys_pad_pwritev(ffff800024b207e8,ffff8000249a9018,ffff8000249a9070) at sys_pad_pwritev+0xb9 sys_pwritev sys/kern/vfs_syscalls.c:3383 [inline]
sys_pad_pwritev(ffff800024b207e8,ffff8000249a9018,ffff8000249a9070) at sys_pad_pwritev+0xb9 sys/kern/vfs_syscalls.c:3439
syscall(ffff8000249a90e0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xa5cf7b69330, count: -15

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/29 13:48 openbsd f2b321d1d35d 6cc879d4 .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.