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 4D6253AA4F8 for ; Sun, 19 Jul 2026 15:47:35 +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=1784476056; cv=none; b=A5B2NAJ7peGiXb4g/nAcWPQ7nfErehJmHEVELwB1d+MfDNWSFJGzkzIrPyvJdG5b9rXHh7aWgG4E2aFzhnSb2SN4EufCOw6iQ5bA4tGsY7wO+BGcWkY2sJYLbkERexn7PxlcFDlEeb2eZRMAZuWK0BZkOcIsymQ4e+IHZO8RKzc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784476056; c=relaxed/simple; bh=20r1ndyZ0K6DBTY5UFvmXTFbX32rl2FvMdXvX8XjrH4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HstvvITh6KSGecKCiGJALu/2R/cj5oFLqQwILB41MvZ27u+q8tntkORUep8tW/ZGHfegnd9flMAegusuk19e6yXADJViNtshTt6aM9Uan4/W2BaSnLfdIcCD062CYM4bLn5t2L+mMYutN+nl91uxjy4ablyiFXKBXVcsYT9bhqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MIkRiyDF; 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="MIkRiyDF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95A511F000E9; Sun, 19 Jul 2026 15:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784476055; bh=SFO4Q97W2g9SRkssA2jcUnDv0h2EUOdNdbQ3TuJJpqI=; h=From:To:Cc:Subject:Date:Reply-To; b=MIkRiyDFViXhfD1cww0p+xHcr+/3LHwRH03zmXDy0kuupirpHJ3Jlnqomglj7gVo0 s6A0kFbokURaN54+pjsbos2LZf7InmUkEobOxggLlVRHdLGLPscyR/5Ry7apRl2qbG IzvjG3/YgKz1b0Im5Z3tu6yVWZd5RQaDOJdZtepg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64180: mm/memory_hotplug: fix memory block reference leak on remove Date: Sun, 19 Jul 2026 17:40:42 +0200 Message-ID: <2026071938-CVE-2026-64180-a316@gregkh> X-Mailer: git-send-email 2.55.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=2830; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2+va1d8YKjPFxzOW8Y7zKMu66t1aaBDGBWrGKQoyBvo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx7+vmt05SiHp+Um3et33PL1z5tn+q7ynvzLKnPuwRy UnqkQJiHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRls0MC1onJdsF19rXMuyc u5jNcu26px3bTjIs2DyLwzZP6VatW9suY6G/alxmGaebAQ== 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/memory_hotplug: fix memory block reference leak on remove Patch series "mm: Fix memory block leaks and locking", v2. This series fixes two memory block device reference leaks and one locking issue around the per-memory_block hwpoison counter. This patch (of 2): remove_memory_blocks_and_altmaps() looks up each memory block with find_memory_block(), which acquires a reference to the memory block device. That reference is never dropped on this path, resulting in a leaked device reference when removing memory blocks and their altmaps. Drop the reference after retrieving mem->altmap and clearing mem->altmap, before removing the memory block device. The Linux kernel CVE team has assigned CVE-2026-64180 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 6b8f0798b85aa529011570369db985a788f3003f and fixed in 6.12.92 with commit b8ab30c79fc00147125b9c39f928561d9dd13d06 Issue introduced in 6.8 with commit 6b8f0798b85aa529011570369db985a788f3003f and fixed in 6.18.34 with commit 09ce923071e7852ece60d7368e05249bf32c7967 Issue introduced in 6.8 with commit 6b8f0798b85aa529011570369db985a788f3003f and fixed in 7.0.11 with commit df64c0d21c3f85f844b2f656333e43d97e6ffa74 Issue introduced in 6.8 with commit 6b8f0798b85aa529011570369db985a788f3003f and fixed in 7.1 with commit 93866f55f7e292fe3d47d36c9efe5ee10213a06b 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-64180 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/memory_hotplug.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/b8ab30c79fc00147125b9c39f928561d9dd13d06 https://git.kernel.org/stable/c/09ce923071e7852ece60d7368e05249bf32c7967 https://git.kernel.org/stable/c/df64c0d21c3f85f844b2f656333e43d97e6ffa74 https://git.kernel.org/stable/c/93866f55f7e292fe3d47d36c9efe5ee10213a06b