Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFA54381AE7 for ; Thu, 25 Jun 2026 08:44:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377084; cv=none; b=gpf67rwLqDYIqnVqwqEvR/RqJ+eqBjUkuFE1e1W6P9PW2rLYQXU9fTCEvWB3SxMHpVbMUQoLQAuULA4qu1OdA/N1zbfMn7sxt8lBO+3pvlGY2RbRXgfX3T7xnvJ/x1FbRDAqySsGJrcsfzEONBOKadJKzY7Fa8WPyOcPTPycejE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377084; c=relaxed/simple; bh=rOHqEp3Xh8xFutCRSEPK/DIjeNCPd3nR0DOgjB4MthQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UtC/sWRai97rWQ9R15LDfItS5dVoymRnzt2OeaTd7jxQT/Keo5UOKPXVzJSIbHeiZWPImM+bgtCb7gAVn3R7tyxvtN7kQyXtJ0s1tMuBDFyIcXVPxIpf3WtrCsIorax+lLO/rFtLMgeleUxiVsnXg6tQwxwov1cytEaZFToJJNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uTBvz7rP; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uTBvz7rP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D07001F000E9; Thu, 25 Jun 2026 08:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377083; bh=rvCRrbruTTQOfeY5LMaqKd8ctdj4nIQBhBvqXedbwtU=; h=From:To:Cc:Subject:Date:Reply-To; b=uTBvz7rPlmQETVlDs95H4YzTKrM0LXiayFPzYcP4Lvey71wwtNIjA31YfE0KIdQ/e WAo7zYSCKl2dvBRkbzo75OAkQ4JWmPCWPJ7lmaD1cL12yIpJqY5fO0PaFMo+aOcxYk gP1+b1/esouVDbbPSTZsNCCLl92TNLsFlLRFrizU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53153: mm/list_lru: drain before clearing xarray entry on reparent Date: Thu, 25 Jun 2026 09:40:01 +0100 Message-ID: <2026062547-CVE-2026-53153-3b42@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3067; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QxSNru8kXxk+DLMvMXwcfbGrzBUwEeGhRPjc+1DopGE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L4OPFTRuOOp69c2y6Gt3NkxSOh36+dBaOYH5fYUb1 lZX/4nd1xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATaS5nmB9XlWV+p22Xcq8p 3+o3d9+0bO001GNYsEm8v4nLZkPkekW7qxNaJqRFzj/7AQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: mm/list_lru: drain before clearing xarray entry on reparent memcg_reparent_list_lrus() clears the dying memcg's xarray entry with xas_store(&xas, NULL) before reparenting its per-node lists into the parent. This opens a window where a concurrent list_lru_del() arriving for the dying memcg sees xa_load() == NULL, walks to the parent in lock_list_lru_of_memcg(), takes the parent's per-node lock, and calls list_del_init() on an item still physically linked on the dying memcg's list. If another in-flight thread holds the dying memcg's per-node lock at the same moment (another list_lru_del, or a list_lru_walk_one running an isolate callback), both threads modify ->next/->prev pointers on the same physical list under different locks. Adjacent items can corrupt each other's links. Fix it by reversing the order: reparent each per-node list and mark the child's list lru dead and then clear the xarray entry. Any concurrent list_lru op that finds the still-set xarray entry either takes the dying memcg's per-node lock (synchronizing with the drain) or sees LONG_MIN and walks to the parent, where the items now live. The Linux kernel CVE team has assigned CVE-2026-53153 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit fb56fdf8b9a2f7397f8a83dce50189f3f0cf71af and fixed in 6.18.36 with commit c19ff4351214f059349788e13e70e74325831ff6 Issue introduced in 6.13 with commit fb56fdf8b9a2f7397f8a83dce50189f3f0cf71af and fixed in 7.0.13 with commit 2b66496d794e98f7aeec7688573051f22ec40bac Issue introduced in 6.13 with commit fb56fdf8b9a2f7397f8a83dce50189f3f0cf71af and fixed in 7.1 with commit 98733f3f0becb1ae0701d021c1748e974e5fa55c Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-53153 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: mm/list_lru.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/c19ff4351214f059349788e13e70e74325831ff6 https://git.kernel.org/stable/c/2b66496d794e98f7aeec7688573051f22ec40bac https://git.kernel.org/stable/c/98733f3f0becb1ae0701d021c1748e974e5fa55c