[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y++ewLr68kfX6q9r@infradead.org>
Date: Fri, 17 Feb 2023 07:35:28 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Alexander Sapozhnikov <alsp705@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Uladzislau Rezki <urezki@...il.com>,
Christoph Hellwig <hch@...radead.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org
Subject: Re: [PATCH] mm/vmalloc: fix unsafe dereference of potential null ptr
in vmalloc_init()
On Fri, Feb 17, 2023 at 03:51:05PM +0300, Alexander Sapozhnikov wrote:
> Return value of a function 'kmem_cache_create' is dereferenced
> at vmalloc.c:2444 without checking for null, but it is usually
> checked for this function.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
I think that checker needs to learn about SLAB_PANIC..
Powered by blists - more mailing lists