On Wed, Jun 30, 2021 at 2:03 PM Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote: > > diff --git a/drivers/mmc/core/sdio_ops.c b/drivers/mmc/core/sdio_ops.c > > index 4c229dd2b6e5..845f9ca3b200 100644 > > --- a/drivers/mmc/core/sdio_ops.c > > +++ b/drivers/mmc/core/sdio_ops.c > > @@ -124,6 +124,7 @@ int mmc_io_rw_extended(struct mmc_card *card, int > > write, unsigned fn, > > int err; > > > > WARN_ON(blksz == 0); > > + WARN_ON_ONCE(is_vmalloc_or_module_addr(buf) || object_is_on_stack(buf)); > > Looks reasonable to me, at least we should start giving a warning. > Would you like to send a formal patch that we can test? Done. Arnd