Re: [PATCH] slab: fix memory leak when refill_sheaf() fails

From: Qing Wang

Date: Wed Mar 11 2026 - 22:22:02 EST


On Wed, 11 Mar 2026 at 19:48, Harry Yoo <harry.yoo@xxxxxxxxxx> wrote:
> Just out of curiosity, could you please tell us how you discovered
> this and confirmed that it's fixed, given that kmemleak won't detect it?

Just discovered it by code reading (while learing this featch):). And there
is no good way to reproduce it, so confirmed it by code logic.

--
cheers,
Qing