Messages in this thread | | | Date | Fri, 17 Feb 2023 07:35:28 -0800 | From | Christoph Hellwig <> | 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..
| |