On 8/20/21 8:06 PM, Jens Axboe wrote: > On 8/20/21 4:58 PM, Bart Van Assche wrote: >> Hi, >> >> It's been a while since I ran blktests. If I run it against Jens' for-next >> branch (39916d4054e7 ("Merge branch 'for-5.15/io_uring' into for-next")) a >> slab-out-of-bounds access complaint appears. Is anyone already looking into >> this? > > Does this help? > > diff --git a/block/bio.c b/block/bio.c > index ae9085b97deb..94a0c01465a8 100644 > --- a/block/bio.c > +++ b/block/bio.c > @@ -282,8 +282,9 @@ void bio_init(struct bio *bio, struct bio_vec *table, > atomic_set(&bio->__bi_remaining, 1); > atomic_set(&bio->__bi_cnt, 1); > > - bio->bi_io_vec = table; > bio->bi_max_vecs = max_vecs; > + bio->bi_io_vec = table; > + bio->bi_pool = NULL; > } > EXPORT_SYMBOL(bio_init); Hi Jens, That patch makes the KASAN complaint disappear. Thanks! Bart.