Re: [PATCH] mm/vmalloc: fix KMSAN uninit-value warning in decay_va_pool_node()

Qing Wang
2026-04-03T03:14:21Z

On Thu, 02 Apr 2026 at 23:45, Uladzislau Rezki <urezki@gmail.com> wrote:
> > KMSAN reported an uninit-value warning when accessing vmap_area->list
> > in decay_va_pool_node():
> >
> > BUG: KMSAN: uninit-value in __list_del_entry_valid include/linux/list.h:-1 [inline]
> > BUG: KMSAN: uninit-value in __list_del_entry include/linux/list.h:223 [inline]
> > BUG: KMSAN: uninit-value in list_del_init include/linux/list.h:295 [inline]
> > BUG: KMSAN: uninit-value in decay_va_pool_node+0xf78/0x1dd0 mm/vmalloc.c:2255
> >
> > Uninit was created at:
> > kmem_cache_alloc_node_noprof+0x3cd/0x12d0 mm/slub.c:4918
> > alloc_vmap_area+0x327/0x2e30 mm/vmalloc.c:2065
> >
> > The root cause is that if node_alloc() fail and the va is allocated via
> > kmem_cache_alloc_node() by alloc_vmap_area(), va->list will be uninitialized.
> >
> > Fix this by explicitly initializing va->list after allocation.
> >
> > Reported-by: syzbot+37b7f6cd519f7fb8d32a@syzkaller.appspotmail.com
> > Closes: https://syzkaller.appspot.com/bug?extid=37b7f6cd519f7fb8d32a
> >
> I can not access two above links. Are they valid? I would like to have
> a look at report.

Try to it?