Re: [PATCH] xen/grant-table: fix resource leak in gnttab_init()
From: Haoxiang Li
Date: Sat Nov 21 2026 - 01:42:43 EST
At 2026-11-21 06:06:58, "Edgecombe, Rick P" <rick.p.edgecombe@xxxxxxxxx> wrote:
>
>I guess since you injected the error you didn't hit this in practice? If so, I'd
>think this would be a pretty low priority fix. The combo of rare scenario and
>close to zero user impact. Fine to be corrected though.
I agree that this failure is unlikely to happen. I found the missing cleanup using a
static analysis tool and check the leak with fault injection. But hard to prove
that it will happen in normal userspace.
Regards,
Haoxiang Li