Re: [PATCH v4] lib: xarray: free unused spare node in xas_create_range()

From: Jinjiang Tu

Date: Mon Jan 26 2026 - 20:13:11 EST



在 2026/1/27 4:04, Andrew Morton 写道:
On Mon, 26 Jan 2026 11:16:08 +0530 Shardul B <shardul.b@xxxxxxxxxxxxxxxxxx> wrote:

Hi Matthew, Andrew,


Gently pinging this patch. I’ve checked the latest linux-next (next-20260123) and the akpm-unstable branches, and it doesn't appear to have been picked up yet.


The patch has a Reviewed-by from David Hildenbrand and fixes a memory leak in the XArray library identified by syzbot.


If there are no further concerns, could you please let me know if this is queued for the next cycle?
There are comments from Jinjiang Tu and Dev Jain which remain
unaddressed, please.

Hi, Andrew

The issue is another problem, independent ofShardul's patch.

I have posted a patch to solve it.
https://lore.kernel.org/linux-mm/20260121062243.1893129-1-tujinjiang@xxxxxxxxxx

The leak is a rare and this is a minor problem, I believe?

I'll queue the patch for some exposure and testing but it appears that
some additional consideration is needed before it should be progressed
further.