lkml.org 
[lkml]   [2020]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] misc/vmw_vmci: bail out earlier on too big queue allocation
On Sun, Nov 22, 2020 at 06:40:57PM +0100, nslusarek@gmx.net wrote:
> From: Norbert Slusarek <nslusarek@gmx.net>
> Date: Sun, 22 Nov 2020 19:16:41 +0100
> Subject: [PATCH] misc/vmw_vmci: bail out earlier on too big queue allocation
>
> For the allocation of a queue pair in qp_host_alloc_queue() an arbitrary value can be
> passed for produce_size, which can lead to miscalculation of memory we'd like to allocate
> in one take. A warning is triggered at __alloc_pages_nodemask() in mm/page_alloc.c:4737
> which aborts the false allocation, but it results in a VMware machine freezing
> for an infinite time.
>
> Signed-off-by: Norbert Slusarek <nslusarek@gmx.net>
>

<snip>

Can you resend this in a non-html format, so that we can apply it, and
so it will show up on the public mailing lists?

thanks,

greg k-h

\
 
 \ /
  Last update: 2020-12-09 19:41    [W:0.035 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site