syzbot


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

Status: upstream: reported on 2024/04/08 21:58
Reported-by: syzbot+3a632c8695f46bf4e53a@syzkaller.appspotmail.com
First crash: 71d, last: 23d
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 628d 645d 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 902d 902d 0/3 auto-closed as invalid on 2022/03/29 13:49
openbsd assert "bp->b_data != NULL" failed in vfs_biomem.c (2) 2 759d 811d 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 167d 170d 0/3 auto-obsoleted due to no activity on 2024/04/02 12:49

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+0x1c:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
* 23735   5470      0   0x8000000  0x4000000    0  syz-executor.0
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff829300a1) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e4dec,ffffffff828f079e,eb,ffffffff8286ff11) at __assert+0x29 sys/kern/subr_prf.c:157
buf_unmap(fffffd8064e959d8) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd8061643368) at buf_map+0x1c6 sys/kern/vfs_biomem.c:117
buf_get(fffffd806b553058,31,4000) at buf_get+0x42f sys/kern/vfs_bio.c:1175
getblk(fffffd806b553058,31,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1044
ffs2_balloc(fffffd80774992d0,c4000,4000,fffffd807f7d7958,0,ffff80002db192d8) at ffs2_balloc+0x11d9 sys/ufs/ffs/ffs_balloc.c:684
ffs_write(ffff80002db19360) at ffs_write+0x3c7 sys/ufs/ffs/ffs_vnops.c:345
VOP_WRITE(fffffd806b553058,ffff80002db19580,1,fffffd807f7d7958) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245
vn_write(fffffd806c248f10,ffff80002db19580,1) at vn_write+0x19f sys/kern/vfs_vnops.c:408
dofilewritev(ffff80002a62d200,6,ffff80002db19580,1,ffff80002db19640) at dofilewritev+0x1a9 sys/kern/sys_generic.c:375
sys_pwritev(ffff80002a62d200,ffff80002db196f0,ffff80002db19640) at sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3387
syscall(ffff80002db196f0) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577
end trace frame: 0xffff80002db19770, 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+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff829300a1) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e4dec,ffffffff828f079e,eb,ffffffff8286ff11) at __assert+0x29 sys/kern/subr_prf.c:157
buf_unmap(fffffd8064e959d8) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd8061643368) at buf_map+0x1c6 sys/kern/vfs_biomem.c:117
buf_get(fffffd806b553058,31,4000) at buf_get+0x42f sys/kern/vfs_bio.c:1175
getblk(fffffd806b553058,31,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1044
ffs2_balloc(fffffd80774992d0,c4000,4000,fffffd807f7d7958,0,ffff80002db192d8) at ffs2_balloc+0x11d9 sys/ufs/ffs/ffs_balloc.c:684
ffs_write(ffff80002db19360) at ffs_write+0x3c7 sys/ufs/ffs/ffs_vnops.c:345
VOP_WRITE(fffffd806b553058,ffff80002db19580,1,fffffd807f7d7958) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245
vn_write(fffffd806c248f10,ffff80002db19580,1) at vn_write+0x19f sys/kern/vfs_vnops.c:408
dofilewritev(ffff80002a62d200,6,ffff80002db19580,1,ffff80002db19640) at dofilewritev+0x1a9 sys/kern/sys_generic.c:375
sys_pwritev(ffff80002a62d200,ffff80002db196f0,ffff80002db19640) at sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3387
syscall(ffff80002db196f0) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4a2973606f0, count: -15
ddb> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002db18c60
rbx               0xfffffd8061643301
rdx               0xffff800000e1eb40
rcx                                0
rax               0xffff80002a62d200
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x2327feddc4d6b041
r11               0xfd4508be8a618328
r12                                0
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff813d6ecc    db_enter+0x1c
cs                               0x8
rflags                         0x246
rsp               0xffff80002db18c50
ss                                 0
db_enter+0x1c:  addq    $0x8,%rsp
ddb> show proc
PROC (syz-executor.0) tid=23735 pid=5470 tcnt=2 stat=onproc
    flags process=8000000 proc=4000000<THREAD>
    runpri=17, usrpri=86, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80002a6a1c70,0xffff80002a62d9c0
    process=0xffff8000329a61d8 user=0xffff80002db14000, vmspace=0xfffffd8068e2b588
    estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 82534   92473  77996      0  2   0x8000000                syz-executor.2
 82534  386441  77996      0  3   0xc000080  fsleep        syz-executor.2
 84992  170448  30983      0  2   0x8000000                syz-executor.4
 84992  171305  30983      0  2   0xc000000                syz-executor.4
  5470  243948  71279      0  2   0x8000000                syz-executor.0
* 5470   23735  71279      0  7   0xc000000                syz-executor.0
 26060  112634  82623      0  2   0x8000000                syz-executor.3
 26060   80649  82623      0  3   0xc000080  fsleep        syz-executor.3
 17057  303330  86409      0  3   0x8000080  nanoslp       syz-executor.5
 17057  415966  86409      0  3   0xc000080  kqsel         syz-executor.5
 17057  521192  86409      0  3   0xc000080  fsleep        syz-executor.5
 77996  164145  10650      0  3   0x8000082  nanoslp       syz-executor.2
 27462   13940  10650      0  3   0x8000082  nanoslp       syz-executor.6
 30983  118605  10650      0  3   0x8000082  nanoslp       syz-executor.4
 82623  231098  10650      0  3   0x8000082  nanoslp       syz-executor.3
 71279  114243  10650      0  3   0x8000082  nanoslp       syz-executor.0
  9264  394977  10650      0  3   0x8000082  nanoslp       syz-executor.7
 86409  225961  10650      0  3   0x8000082  nanoslp       syz-executor.5
 54552  178049  64832      0  3  0x18100082  netio         arp
 64832   79156      1      0  3   0x810008a  sigsusp       sh
 28004  475344      1      0  3  0x18100083  ttyin         getty
  8313  396863      0      0  3     0x14280  nfsidl        nfsio
 10879   23445      0      0  3     0x14280  nfsidl        nfsio
 63429  340238      0      0  3     0x14280  nfsidl        nfsio
  9058  509357      0      0  3     0x14280  nfsidl        nfsio
 87710  404599      0      0  3     0x14280  nfsidl        nfsio
 35766  199234      0      0  3     0x14280  nfsidl        nfsio
 61065  436681      0      0  3     0x14280  nfsidl        nfsio
 27444  339744      0      0  3     0x14280  nfsidl        nfsio
    25  321074      0      0  3     0x14280  nfsidl        nfsio
 96428  188538      0      0  3     0x14280  nfsidl        nfsio
 66696  340868      0      0  3     0x14280  nfsidl        nfsio
 83302  259869      0      0  3     0x14280  nfsidl        nfsio
 31646  452672      0      0  3     0x14280  nfsidl        nfsio
  2395   91608      0      0  3     0x14280  nfsidl        nfsio
 37417  407905      0      0  3     0x14280  nfsidl        nfsio
 55543  184115      0      0  3     0x14280  nfsidl        nfsio
 39128  251038      0      0  3     0x14280  nfsidl        nfsio
  3166  446872      0      0  3     0x14280  nfsidl        nfsio
 38594   36010      0      0  3     0x14280  nfsidl        nfsio
 25371  367570      0      0  3     0x14280  nfsidl        nfsio
 89094  321325      0      0  3     0x14200  bored         sosplice
 10650   18089  13923      0  3  0x1a000082  kqread        syz-fuzzer
 10650  444257  13923      0  3  0x1e000082  thrsleep      syz-fuzzer
 10650  252416  13923      0  3  0x1e000082  thrsleep      syz-fuzzer
 10650  283382  13923      0  3  0x1e000082  wait          syz-fuzzer
 10650  140624  13923      0  3  0x1e000082  wait          syz-fuzzer
 10650  489912  13923      0  3  0x1e000082  wait          syz-fuzzer
 10650  451180  13923      0  3  0x1e000082  thrsleep      syz-fuzzer
 10650   92820  13923      0  3  0x1e000082  thrsleep      syz-fuzzer
 10650  470981  13923      0  3  0x1e000082  wait          syz-fuzzer
 10650  415923  13923      0  3  0x1e000082  wait          syz-fuzzer
 10650  145357  13923      0  3  0x1e000082  thrsleep      syz-fuzzer
 10650  198842  13923      0  3  0x1e000082  wait          syz-fuzzer
 10650   65237  13923      0  3  0x1e000082  wait          syz-fuzzer
 10650  512048  13923      0  3  0x1e000082  thrsleep      syz-fuzzer
 10650  444728  13923      0  3  0x1e000082  thrsleep      syz-fuzzer
 13923  423912  55524      0  3   0x810008a  sigsusp       ksh
 55524  265022  87760      0  3  0x1800009a  kqread        sshd
 87760  148629      1      0  3  0x18000088  kqread        sshd
 19648  249606  80152     73  2  0x19100010                syslogd
 80152  398916      1      0  3  0x18100082  sbwait        syslogd
  3150  465897      1      0  3  0x18100080  kqread        resolvd
 60944   65153      0      0  3     0x14200  bored         smr
 69501  275691      0      0  2     0x14200                zerothread
 31484  392724      0      0  3     0x14200  aiodoned      aiodoned
  3865  431997      0      0  3     0x14200  syncer        update
 87787  224962      0      0  3     0x14200  cleaner       cleaner
 55969   30001      0      0  3     0x14200  reaper        reaper
 13580  241090      0      0  3     0x14200  pgdaemon      pagedaemon
 91637  278798      0      0  3     0x14200  bored         viomb
 65348  154351      0      0  3  0x40014200  acpi0         acpi0
 65463  201912      0      0  3     0x14200  bored         softnet3
 99203  221288      0      0  3     0x14200  bored         softnet2
 44691  506538      0      0  3     0x14200  bored         softnet1
 88053    2437      0      0  3     0x14200  bored         softnet0
  4637  136350      0      0  3     0x14200  bored         systqmp
 10174  450766      0      0  3     0x14200  bored         systq
 28743  452586      0      0  3  0x40014200  tmoslp        softclock
 76586  141276      0      0  3  0x40014200                idle0
     1  323312      0      0  3   0x8080082  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 10194   6444K   10779K 166960K     18348        0
            pcb    17     15K      17K 166960K      1066        0
         rtable   214     10K      10K 166960K      5602        0
             pf    43     11K      11K 166960K       618        0
         ifaddr    47     14K      17K 166960K       812        0
        ifgroup    76      2K       3K 166960K       999        0
         sysctl     4      1K       2K 166960K        18        0
       counters    37     18K      18K 166960K       311        0
       ioctlops     0      0K       2K 166960K       592        0
            iov     0      0K      20K 166960K       611        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1563     98K      99K 166960K      7764        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K       191        0
         VM map     2      1K       1K 166960K         2        0
            sem    16      5K       5K 166960K        38        0
        dirhash    12      2K       3K 166960K       117        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    17     61K     101K 166960K      7718        0
          sigio     0      0K       0K 166960K       122        0
           proc    52     42K     116K 166960K      5183        0
        subproc   104      6K       7K 166960K      2158        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       893        0
       in_multi    86      6K       7K 166960K      1987        0
    ether_multi     1      0K       0K 166960K        69        0
            mrt     1      0K       0K 166960K        15        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   109    493K     493K 166960K       109        0
           exec     0      0K       1K 166960K      3164        0
     pfkey data     0      0K       0K 166960K        12        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   302    152K     183K 166960K     62825        0
       UVM aobj   131      8K       8K 166960K       134        0
     pinsyscall    32     64K     100K 166960K     13030        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K       357        0
            NDP    22      0K       2K 166960K       615        0
           temp    99   6800K   14736K 166960K    348317        0
         kqueue     6     10K      30K 166960K       870        0
      SYN cache     2     16K      16K 166960K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120     1016    0     1012     3     0     3     3     0     8    2
rtentry    112     1991    0     1902     4     0     4     4     0     8    1
unpcb      144     5403    0     5397     6     0     6     6     0     8    5
syncache   336       36    0       36     1     0     1     1     0     8    1
tcpqe       32       11    0       11     1     0     1     1     0     8    1
tcpcb      808     2422    0     2417     8     0     8     8     0     8    7
arp         88      370    0      353     1     0     1     1     0     8    0
ipq         40      107    0      107     1     0     1     1     0     8    1
ipqe        40     4005    0     4005     1     0     1     1     0     8    1
inpcb      352     7727    0     7720    10     1     9    10     0     8    8
nd6        104      525    0      504     1     0     1     1     0     8    0
pkpcb       40       59    0       59     1     0     1     1     0     8    1
kcovpl      48      166    0      158     1     0     1     1     0     8    0
ppxss      1072     103    0      102     1     0     1     1     0     8    0
art_heap8  4096       3    0        2     3     0     3     3     0     8    2
art_heap4  256     7821    0     7442    88    64    24    29     0     8    0
art_table   32     7824    0     7444     4     0     4     4     0     8    0
art_node    16     1959    0     1879     1     0     1     1     0     8    0
sysvmsgpl   40       25    0       18     1     0     1     1     0     8    0
semupl     112        2    0        2     1     0     1     1     0     8    1
semapl     112       31    0       17     1     0     1     1     0     8    0
shmpl      112      131    0        3     4     0     4     4     0     8    0
dirhash    1024      87    0       70     3     0     3     3     0     8    0
dino2pl    256    12780    0    11215    99     0    99    99     0     8    0
ffsino     240    12780    0    11215    93     0    93    93     0     8    0
nchpl      144    22786    0    22175    66    33    33    66     0     8    8
uvmvnodes   80    10509    0        0   215     0   215   215     0     8    0
vnodes     216    10509    0        0   584     0   584   584     0     8    0
namei      1024   93061    0    93061     3     0     3     3     0     8    3
vcpupl     3904      44    0        3     6     0     6     6     0     8    0
vmpool     664       59    0       18     4     0     4     4     0     8    0
kstatmem   264      584    0      548     3     0     3     3     0     8    0
scsiplug    72       10    0       10     1     0     1     1     0     8    1
scxspl     216   123115    0   123099     8     0     8     8     1     8    7
plimitpl   152     1203    0     1189     1     0     1     1     0     8    0
sigapl     424     7735    0     7672     9     0     9     9     0     8    0
futexpl     64   117347    0   117344     1     0     1     1     0     8    0
knotepl    120    25337    0    25269    17     6    11    17     0     8    8
kqueuepl   184     1849    0     1843     4     0     4     4     0     8    3
pipepl     288     1633    0     1605     7     0     7     7     0     8    4
fdescpl    432     7693    0     7668     5     0     5     5     0     8    1
filepl     120    52628    0    52401    16     1    15    16     0     8    8
lockfpl    104     2138    0     2136     2     0     2     2     0     8    1
lockfspl    48      891    0      889     1     0     1     1     0     8    0
sessionpl  144      184    0      169     1     0     1     1     0     8    0
pgrppl      48      278    0      263     1     0     1     1     0     8    0
ucredpl    104     7692    0     7683     1     0     1     1     0     8    0
zombiepl   144     7674    0     7672     1     0     1     1     0     8    0
processpl  1080    7735    0     7672     5     0     5     5     0     8    0
procpl     656    14805    0    14722     9     0     9     9     0     8    0
sosppl     168       28    0       28     1     0     1     1     0     8    1
sockpl     504    14244    0    14227    76    66    10    20     0     8    7
mcl64k     65536    455    0      455     1     0     1     1     0     8    1
mcl16k     16384     81    0       81     1     0     1     1     0     8    1
mcl12k     12288     43    0       43     1     0     1     1     0     8    1
mcl9k      9216      16    0       16     1     0     1     1     0     8    1
mcl8k      8192     270    0      270     1     0     1     1     0     8    1
mcl4k      4096      41    0       41     1     0     1     1     0     8    1
mcl2k2     2112       5    0        5     1     0     1     1     0     8    1
mcl2k      2048   41794    0    41693    39    19    20    38     0     8    7
mtagpl      96      116    0      116     1     0     1     1     0     8    1
mbufpl     256   133358    0   133148   167   146    21    61     0     8    5
bufpl      280    22783    0    11884   779     0   779   779     0     8    0
bufpl: pool(0xffffffff82d56238:bufpl): page inconsistency: page 0x0; at page head addr 0xfffffd8064e95f90 (p 0xfffffd8064e95000)
anonpl      24  1026970    0  1020988    72     0    72    72     0   188    7
amapchunkpl 152  200207    0   199565    48     0    48    48     0   158   17
amappl16   200    25504    0    25348    75    54    21    23     0     8    8
amappl15   192       33    0       32     1     0     1     1     0     8    0
amappl14   184      638    0      627     2     0     2     2     0     8    1
amappl13   176       18    0       18     1     0     1     1     0     8    1
amappl12   168    10633    0    10607     2     0     2     2     0     8    0
amappl11   160       51    0       46     1     0     1     1     0     8    0
amappl10   152      242    0      232     1     0     1     1     0     8    0
amappl9    144      155    0      154     1     0     1     1     0     8    0
amappl8    136      631    0      599     2     0     2     2     0     8    0
amappl7    128       71    0       56     1     0     1     1     0     8    0
amappl6    120     2333    0     2320     2     0     2     2     0     8    1
amappl5    112      786    0      777     1     0     1     1     0     8    0
amappl4    104     1629    0     1599     2     0     2     2     0     8    1
amappl3     96    37216    0    37140     3     0     3     3     0     8    0
amappl2     88     8731    0     8673     3     0     3     3     0     8    1
amappl1     80    42563    0    42138    22     4    18    22     0     8    7
amappl      88    60718    0    60531     6     0     6     6     0    92    0
dma4096    4096       1    0        1     1     0     1     1     0     8    1
dma1024    1024       1    0        0     1     0     1     1     0     8    0
dma256     256        6    0        6     1     0     1     1     0     8    1
dma128     128      253    0      253     1     0     1     1     0     8    1
dma64       64        6    0        6     1     0     1     1     0     8    1
dma32       32        7    0        7     1     0     1     1     0     8    1
dma16       16       18    0       17     1     0     1     1     0     8    0
aobjpl      72      133    0        3     3     0     3     3     0     8    0
uaddrrnd    24     7752    0     7686     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     7752    0     7686     1     0     1     1     0     8    0
vmmpekpl   168    58495    0    58415     4     0     4     4     0     8    0
vmmpepl    168   517902    0   516215   112     0   112   112     0   357   29
vmsppl     344     7751    0     7686     7     0     7     7     0     8    0
rwobjpl     24   133084    0   121454    71     0    71    71     0     8    0
pdppl      4096   15510    0    15413   548   441   107   117     0     8   10
pvpl        32  2915370    0  2903532   366    22   344   366     0   265  208
pmappl     216     7751    0     7686     5     0     5     5     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     1142    0      736    13     0    13    13     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff829300a1) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e4dec,ffffffff828f079e,eb,ffffffff8286ff11) at __assert+0x29 sys/kern/subr_prf.c:157
buf_unmap(fffffd8064e959d8) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd8061643368) at buf_map+0x1c6 sys/kern/vfs_biomem.c:117
buf_get(fffffd806b553058,31,4000) at buf_get+0x42f sys/kern/vfs_bio.c:1175
getblk(fffffd806b553058,31,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1044
ffs2_balloc(fffffd80774992d0,c4000,4000,fffffd807f7d7958,0,ffff80002db192d8) at ffs2_balloc+0x11d9 sys/ufs/ffs/ffs_balloc.c:684
ffs_write(ffff80002db19360) at ffs_write+0x3c7 sys/ufs/ffs/ffs_vnops.c:345
VOP_WRITE(fffffd806b553058,ffff80002db19580,1,fffffd807f7d7958) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245
vn_write(fffffd806c248f10,ffff80002db19580,1) at vn_write+0x19f sys/kern/vfs_vnops.c:408
dofilewritev(ffff80002a62d200,6,ffff80002db19580,1,ffff80002db19640) at dofilewritev+0x1a9 sys/kern/sys_generic.c:375
sys_pwritev(ffff80002a62d200,ffff80002db196f0,ffff80002db19640) at sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3387
syscall(ffff80002db196f0) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4a2973606f0, count: -15
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff829300a1) at panic+0x165 sys/kern/subr_prf.c:198
__assert(ffffffff828e4dec,ffffffff828f079e,eb,ffffffff8286ff11) at __assert+0x29 sys/kern/subr_prf.c:157
buf_unmap(fffffd8064e959d8) at buf_unmap+0x1a8 sys/kern/vfs_biomem.c:235
buf_map(fffffd8061643368) at buf_map+0x1c6 sys/kern/vfs_biomem.c:117
buf_get(fffffd806b553058,31,4000) at buf_get+0x42f sys/kern/vfs_bio.c:1175
getblk(fffffd806b553058,31,4000,0,ffffffffffffffff) at getblk+0xfd sys/kern/vfs_bio.c:1044
ffs2_balloc(fffffd80774992d0,c4000,4000,fffffd807f7d7958,0,ffff80002db192d8) at ffs2_balloc+0x11d9 sys/ufs/ffs/ffs_balloc.c:684
ffs_write(ffff80002db19360) at ffs_write+0x3c7 sys/ufs/ffs/ffs_vnops.c:345
VOP_WRITE(fffffd806b553058,ffff80002db19580,1,fffffd807f7d7958) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245
vn_write(fffffd806c248f10,ffff80002db19580,1) at vn_write+0x19f sys/kern/vfs_vnops.c:408
dofilewritev(ffff80002a62d200,6,ffff80002db19580,1,ffff80002db19640) at dofilewritev+0x1a9 sys/kern/sys_generic.c:375
sys_pwritev(ffff80002a62d200,ffff80002db196f0,ffff80002db19640) at sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3387
syscall(ffff80002db196f0) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4a2973606f0, count: -15

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/26 12:35 openbsd b0131f08c3a2 a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bp->b_data != NULL" failed in vfs_biomem.c
2024/04/23 07:52 openbsd 19e99d061340 21339d7b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bp->b_data != NULL" failed in vfs_biomem.c
2024/04/13 17:06 openbsd 3a5505f27483 c8349e48 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bp->b_data != NULL" failed in vfs_biomem.c
2024/04/13 09:39 openbsd 93536db294f5 c8349e48 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bp->b_data != NULL" failed in vfs_biomem.c
2024/04/10 02:03 openbsd 1e30b36946b4 171ec371 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bp->b_data != NULL" failed in vfs_biomem.c
2024/04/08 21:58 openbsd 7e284d508f03 f3234354 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bp->b_data != NULL" failed in vfs_biomem.c
* Struck through repros no longer work on HEAD.