Re: [PATCH v2] vmap(): don't allow invalid pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 25, 2022 at 6:25 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, 18 Jan 2022 17:21:09 -0800 Yury Norov <yury.norov@xxxxxxxxx> wrote:
>
> > vmap() takes struct page *pages as one of arguments, and user may provide
> > an invalid pointer which would lead to data abort at address translation
> > later.
>
> Does "user" mean userspace code?
>
> If so, please tell us much more about the means by which userspace can
> trigger this problem.

User means user of vmap() API. The discussion is here:

https://lore.kernel.org/linux-mm/20220118235244.540103-1-yury.norov@xxxxxxxxx/

I'll send v3 soon with more details in the patch description.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux